Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1027624 // toDynamicObject_nonTransient - copy non-transient fields only

JavaX fragment (include)

static DynamicObject toDynamicObject_nonTransient(O o) {
  if (o == null) null;
  if (o cast DynamicObject) ret o;
  ret dynamicObject(lightlyShortClassName(o), objectToParams_nonTransient(o));
}

Author comment

Began life as a copy of #1027618

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027624
Snippet name: toDynamicObject_nonTransient - copy non-transient fields only
Eternal ID of this version: #1027624/1
Text MD5: 00535146cda26f0b05f3475bb6f5d41f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-26 15:56:27
Source code size: 199 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 123 / 147
Referenced in: [show references]