|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neeve.util.UtlListElement
com.neeve.sma.MessageViewImpl
com.neeve.rog.impl.RogNode
com.neeve.server.mon.SrvMonAppLoadedMessage
@Generated(value="com.neeve.adm.AdmXbufGenerator",
date="Wed Jun 06 14:04:24 EDT 2018")
@AdmGenerated(encoding="Xbuf",
compatLevel="3.8.0",
admVersion="nvx-adm v3.7.275 (build 0)",
date="6/6/18 2:04 PM",
buildInfo="nvx-talon-3.7.275 (nvx-codegen-plugin)")
@AdmFactoryInfo(factoryClass=SrvMonFactory.class,
vfid=32,
ofid=32,
typeId=1)
public final class SrvMonAppLoadedMessage
Emitted by a Talon Server to registered admin clients when an app has been loaded.
| Nested Class Summary | |
|---|---|
static class |
SrvMonAppLoadedMessage.PacketBody
The backing packet type for SrvMonAppLoadedMessage (used internally for serialization purposes). |
| Nested classes/interfaces inherited from interface com.neeve.rog.IRogNode |
|---|
IRogNode.PoolingListener |
| Nested classes/interfaces inherited from interface com.neeve.ods.IStoreObject |
|---|
IStoreObject.EncodingType |
| Field Summary | |
|---|---|
static SrvMonAppLoadedMessage[] |
EMPTY_ARRAY
A preallocated empty array used to avoid garbage when returning empty arrays of this type. |
| Fields inherited from class com.neeve.rog.impl.RogNode |
|---|
DATE_FORMAT |
| Fields inherited from class com.neeve.util.UtlListElement |
|---|
count, head, next, prev |
| Method Summary | |
|---|---|
boolean |
appendFieldValueTo(Object node,
String[] pathComponents,
XString target)
Appends a reflected field value as a string into the given XString. |
boolean |
appendFieldValueTo(Object message,
String name,
XString target)
Appends a reflected field value as a string into the given XString. |
void |
clearAppInfo()
Clears the value of 'appInfo' Field Description Holds information about the newly created app. |
void |
clearContent()
|
void |
clearXRogType()
|
SrvMonAppLoadedMessage |
copy()
Creates a copy of this SrvMonAppLoadedMessage. |
void |
copyInto(SrvMonAppLoadedMessage copy)
Copies the contents of this SrvMonAppLoadedMessage into the target. |
static SrvMonAppLoadedMessage |
create()
|
static SrvMonAppLoadedMessage |
create(com.eaio.uuid.UUID id)
|
static SrvMonAppLoadedMessage |
createFrom(byte[] serializedContainer)
|
static SrvMonAppLoadedMessage |
createFrom(ByteBuffer serializedContainer)
|
static SrvMonAppLoadedMessage |
createFromJson(String json)
|
static SrvMonAppLoadedMessage |
createFromRawJson(String json)
|
static SrvMonAppLoadedMessage |
createFromSerializedXbufContainer(byte[] serializedContainer)
|
static SrvMonAppLoadedMessage |
createFromSerializedXbufContainer(ByteBuffer serializedContainer)
|
static SrvMonAppLoadedMessage |
createFromSerializedXbufContainerPacket(byte[] serializedPacket)
|
static SrvMonAppLoadedMessage |
createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
|
static SrvMonAppLoadedMessage |
createFromXbufContainerPacket(PktPacket packet)
|
static com.neeve.xbuf.XbufSchema |
createSchema()
|
SrvMonAppLoadedMessage |
deserialize(PktPacket packet)
Deserialize an object's data. |
SrvMonAppLoadedMessage |
deserializeFromByteArray(byte[] array)
Deserialize a view's backing message from a byte array. |
SrvMonAppLoadedMessage |
deserializeFromByteBuffer(ByteBuffer buffer)
Deserialize a view's backing message from a byte buffer. |
SrvMonAppLoadedMessage |
deserializeFromJson(String json)
Deserialize a view's backing message from a json string |
SrvMonAppLoadedMessage |
deserializeFromPacket(PktPacket packet)
Deserialize a view's backing message from a packet. |
SrvMonAppLoadedMessage |
deserializeFromProtobuf(com.google.protobuf.Message message)
Deserialize a node's data from a protobuf message. |
SrvMonAppLoadedMessage |
deserializeFromRawJson(String json)
|
int |
desync(PktBuffer buffer,
int pos,
boolean frameOnly)
|
void |
desyncFieldBitmask()
|
int |
dispose()
Default implementation of MessageView.dispose()
This is the default implementation of the dispose method. |
boolean |
fieldExists(Object message,
String name)
Check if a field of the supplied name exists in a message. |
SrvMonAppInfo |
getAppInfo()
Gets the value of 'appInfo' Field Description Holds information about the newly created app. |
static int |
getAppInfoFieldId()
Get the field id for 'appInfo' This method can be used to set field interests. |
void |
getAppInfoTo(SrvMonAppInfo to)
Copies the value of SrvMonAppInfo into the provided value. |
PktBuffer |
getBackingBuffer()
|
IStoreObject.EncodingType |
getContentEncodingType()
Get an object's content data encoding type. |
static com.neeve.xbuf.XbufDesyncPolicy |
getDesyncPolicy()
|
XString |
getFieldValueAsRawString(Object message,
String name)
Get the value of a reflectable field in a message as a string. |
XString |
getFieldValueAsRawString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string. |
String |
getFieldValueAsString(Object message,
String name)
Get the value of a reflectable field in a message as a string. |
String |
getFieldValueAsString(Object message,
String[] pathComponents)
Get the value of a reflectable field in a message as a string. |
PktPacket |
getPacket()
|
short |
getXRogType()
|
com.neeve.xbuf.XbufVariableShortField |
getXRogTypeField()
|
static int |
getXRogTypeFieldId()
Get the field id for 'xRogType' This method can be used to set field interests. |
boolean |
hasAppInfo()
Checks for the presence of 'appInfo' Field Description Holds information about the newly created app. |
boolean |
hasXRogType()
|
boolean |
isDirty()
|
boolean |
isFieldReflectable(Object message,
String name)
Check if a field of the supplied name is reflectable. |
void |
lendAppInfo(SrvMonAppInfo val)
'Lends' a reference of the SrvMonAppInfo to the message for this field. |
boolean |
needsSync()
Check if a view needs to be sync'd for reflection. |
static void |
optimizeFor(int val)
|
PktPacket |
serialize()
Serialize an object's data. |
byte[] |
serializeToByteArray()
Serialize a view's backing message to a byte array. |
ByteBuffer |
serializeToByteBuffer()
Serialize a view's backing message to a byte buffer. |
com.neeve.io.IOBuffer |
serializeToIOBuffer(boolean useNative)
Serializes the MessageView to an IOBuffer. |
String |
serializeToJson()
Serialize a view's backing message to JSON. |
PktPacket |
serializeToPacket()
Serialize a view's backing message to a packet. |
com.google.protobuf.Message |
serializeToProtobuf()
Serialize a node's data to a proto message. |
String |
serializeToRawJson()
|
void |
setAppInfo(SrvMonAppInfo val)
Sets the value of 'appInfo' Field Description Holds information about the newly created app. |
void |
setAsReadOnly()
Set whether a node is read only Note: This read-only flag only applies to data, not metadata |
static void |
setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
|
static void |
setFieldInterest(List<Integer> fieldIds)
|
IStoreObject |
setFieldValue(int id,
Object val)
Set the value of an object field. |
void |
setXRogType(short val)
|
void |
setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
|
void |
sync()
Ensure a view's backing message is prepared and ready for transport |
void |
syncFieldBitmask()
|
SrvMonAppInfo |
takeAppInfo()
'Takes' a reference to the appInfo field from the message. |
String |
toJsonString()
Get a JSON representation of an ROG entity |
String |
toJsonString(boolean includeMetadata,
String metadataObjectName,
String payloadObjectName)
Get a full JSON representation of an ROG entity |
String |
toString()
Return a string representation of this object |
void |
undispose(com.eaio.uuid.UUID id)
|
| Methods inherited from class com.neeve.rog.impl.RogNode |
|---|
accept, deserializeMetadata, deserializeMetadata, dump, ensureId, getAppSendBeginTs, getAppSendDoneTs, getAttachment, getBinding, getCheckpointVersion, getCreateTs, getEnqueueTs, getEnqueueTsMicros, getFields, getGraphId, getId, getInMsgsInTransaction, getIsInboundMessage, getIsInternal, getIsLastTransaction, getIsMessage, getIsOutboundMessage, getIsPriority, getIsReadOnly, getIsReplayedMessage, getMessageBus, getMessageBusAsRaw, getMessageChannel, getMessageChannelAsRaw, getMessageFlow, getMessageKey, getMessageKeyAsRaw, getMessageReflector, getMessageSender, getMessageSequenceNumber, getMetadata, getOfid, getOriginTs, getOutMsgsInTransaction, getOutTs, getOutTsMicros, getParent, getParentId, getPoolingListener, getPostDeserializeTs, getPostProcessingTs, getPostProcessingTsMicros, getPostSerializeTs, getPostWireSendTs, getPostWireTs, getPreDeserializeTs, getPreProcessingTs, getPreProcessingTsMicros, getPreSerializeTs, getPreWireTs, getReceiveTs, getSendStartTs, getSendTs, getSerializedMetadataLength, getStableTransactionId, getTransactionId, getTransactionInSequenceNumber, getTransactionOutSequenceNumber, getTypeFromJson, getValidationErrors, isPossibleDuplicate, isValid, metadataToJsonString, metadataToJsonString, metadataToString, serializeMetadata, setAppSendBeginTs, setAppSendDoneTs, setAsInboundMessage, setAsInternal, setAsLastTransaction, setAsMessage, setAsOutboundMessage, setAsPriority, setAsReplayedMessage, setAttachment, setBinding, setCheckpointVersion, setCreateTs, setEnqueueTsMicros, setId, setInMsgsInTransaction, setMessageBus, setMessageBusAsRaw, setMessageChannel, setMessageChannelAsRaw, setMessageFlow, setMessageKey, setMessageKeyAsRaw, setMessageSender, setMessageSequenceNumber, setOriginTs, setOutMsgsInTransaction, setOutTs, setOutTsMicros, setParentId, setPoolingListener, setPossibleDuplicate, setPostDeserializeTs, setPostProcessingTs, setPostProcessingTsMicros, setPostSerializeTs, setPostWireSendTs, setPostWireTs, setPreDeserializeTs, setPreProcessingTs, setPreProcessingTsMicros, setPreSerializeTs, setPreWireTs, setReceiveTs, setSendStartTs, setSendTs, setStableTransactionId, setTransactionId, setTransactionInSequenceNumber, setTransactionOutSequenceNumber |
| Methods inherited from class com.neeve.sma.MessageViewImpl |
|---|
acquire, getMessage, getMessageEncodingType, getOwnershipCount, getTag, getType, getVfid, referenceTracker, setTag |
| Methods inherited from class com.neeve.util.UtlListElement |
|---|
count, insertAfter, insertBefore, isLinked, next, previous, unlink, wipe |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.neeve.ods.IStoreObject |
|---|
acquire, deserializeMetadata, deserializeMetadata, ensureId, getBinding, getCheckpointVersion, getId, getOfid, getOwnershipCount, getSerializedMetadataLength, getStableTransactionId, getTransactionId, serializeMetadata, setBinding, setCheckpointVersion, setId, setStableTransactionId, setTransactionId |
| Methods inherited from interface com.neeve.sma.MapMessageView |
|---|
getMessageReflector |
| Methods inherited from interface com.neeve.rog.IRogValidatable |
|---|
getValidationErrors, isValid |
| Field Detail |
|---|
public static final SrvMonAppLoadedMessage[] EMPTY_ARRAY
| Method Detail |
|---|
public static SrvMonAppLoadedMessage create()
public static SrvMonAppLoadedMessage create(com.eaio.uuid.UUID id)
public static SrvMonAppLoadedMessage createFromXbufContainerPacket(PktPacket packet)
public static SrvMonAppLoadedMessage createFromSerializedXbufContainerPacket(ByteBuffer serializedPacket)
public static SrvMonAppLoadedMessage createFromSerializedXbufContainerPacket(byte[] serializedPacket)
public static SrvMonAppLoadedMessage createFromSerializedXbufContainer(ByteBuffer serializedContainer)
public static SrvMonAppLoadedMessage createFromSerializedXbufContainer(byte[] serializedContainer)
public static SrvMonAppLoadedMessage createFromRawJson(String json)
public static SrvMonAppLoadedMessage createFromJson(String json)
public static SrvMonAppLoadedMessage createFrom(ByteBuffer serializedContainer)
public static SrvMonAppLoadedMessage createFrom(byte[] serializedContainer)
public static final void setDesyncPolicy(com.neeve.xbuf.XbufDesyncPolicy val)
public static final com.neeve.xbuf.XbufDesyncPolicy getDesyncPolicy()
public static final void setFieldInterest(List<Integer> fieldIds)
public final void clearContent()
public final void syncFieldBitmask()
public final void desyncFieldBitmask()
public final PktBuffer getBackingBuffer()
public static final void optimizeFor(int val)
public final PktPacket getPacket()
getPacket in interface com.neeve.link.ILnkMessagepublic final com.google.protobuf.Message serializeToProtobuf()
IRogNode
serializeToProtobuf in interface IRogNodepublic final String serializeToRawJson()
public final String serializeToJson()
MessageViewSerializing/deserializing a message to/from JSON is an optional operation
serializeToJson in interface MessageViewpublic final SrvMonAppLoadedMessage deserializeFromProtobuf(com.google.protobuf.Message message)
IRogNode
deserializeFromProtobuf in interface IRogNodemessage - The protobuf messagepublic final SrvMonAppLoadedMessage deserializeFromRawJson(String json)
public final SrvMonAppLoadedMessage deserializeFromJson(String json)
MessageView
deserializeFromJson in interface MessageViewjson - The view's backing message serialized as a json string.
Serializing/deserializing a message to/from JSON is an optional operation
public final void setAsReadOnly()
IRogNodeNote: This read-only flag only applies to data, not metadata
setAsReadOnly in interface IRogNodesetAsReadOnly in class com.neeve.rog.impl.RogNodepublic int dispose()
MessageViewImplMessageView.dispose()
This is the default implementation of the dispose method. The implementation just decrements the ownership count. Implementations that implement view object pooling or other such functionality should override this method but invoke this method to decrement the object reference count.
dispose in interface IStoreObjectdispose in interface IRogNodedispose in interface MessageViewdispose in class com.neeve.rog.impl.RogNodepublic void undispose(com.eaio.uuid.UUID id)
undispose in class com.neeve.rog.impl.RogNodepublic static final int getXRogTypeFieldId()
This method can be used to set field interests.
getXRogType()public final void setXRogType(short val)
public final short getXRogType()
public final void setXRogTypeFrom(com.neeve.xbuf.XbufVariableShortField val)
public final com.neeve.xbuf.XbufVariableShortField getXRogTypeField()
public final boolean hasXRogType()
public final void clearXRogType()
public static final int getAppInfoFieldId()
This method can be used to set field interests.
getAppInfo()public final void setAppInfo(SrvMonAppInfo val)
ISrvMonAppLoadedMessage
setAppInfo in interface ISrvMonAppLoadedMessageval - The value to set.public final void lendAppInfo(SrvMonAppInfo val)
ISrvMonAppLoadedMessage
NOTE:
It is illegal to hold onto an entity 'set' on a message post the disposal of the container message.
This is true even if a reference to the entity is explicitly 'acquired' by the application via acquire().
To hold onto the reference of an entity beyond the lifecycle of its container message, an application must own a reference to the entity (via, for example, 'taking' the entity off an inbound message) and then 'lend' the entity to the message for sending. The act of 'lending' an entity to a message implies that the application continues to own the entity even though the message is holding a reference to it for the duration of the send.
lendAppInfo in interface ISrvMonAppLoadedMessageval - the value to 'lend' to lend.public final SrvMonAppInfo getAppInfo()
ISrvMonAppLoadedMessage
getAppInfo in interface ISrvMonAppLoadedMessagepublic final void getAppInfoTo(SrvMonAppInfo to)
ISrvMonAppLoadedMessageIF the value is not set, then the contents of the provided SrvMonAppInfo are cleared.
getAppInfoTo in interface ISrvMonAppLoadedMessageto - the value to copy intoSrvMonAppInfo.copyInto(SrvMonAppInfo)public final SrvMonAppInfo takeAppInfo()
ISrvMonAppLoadedMessage
NOTE:
A nested entity reference returned by getXXX() is only valid until the entity is disposed
i.e. the act of getting an entity does not transfer ownership of the entity to the application
A message disposes of its reference to its contained entities when it is disposed itself.
An AEP engine disposes a message on return from its message handler. Therefore, applications working with AEP engines that wish to hold onto a nested entity reference post return from its containing message's handler must either acquire a reference to the container message or 'take' the nested entity itself from the container message. The act of 'taking' an entity differs from 'getting' an entity in that 'take' does what is necessary to ensure that the entity contents are not cleared and the entity not disposed when the message itself is disposed. For a taken entity to be disposed, the application must explicitly dispose it when done working with it.
takeAppInfo in interface ISrvMonAppLoadedMessagenull if the field is not set.public final boolean hasAppInfo()
ISrvMonAppLoadedMessage
hasAppInfo in interface ISrvMonAppLoadedMessageISrvMonAppLoadedMessage.getAppInfo()public final void clearAppInfo()
ISrvMonAppLoadedMessage
clearAppInfo in interface ISrvMonAppLoadedMessageISrvMonAppLoadedMessage.setAppInfo(SrvMonAppInfo)public final boolean isDirty()
public static final com.neeve.xbuf.XbufSchema createSchema()
public final byte[] serializeToByteArray()
MessageView
serializeToByteArray in interface MessageViewpublic final ByteBuffer serializeToByteBuffer()
MessageView
serializeToByteBuffer in interface MessageViewpublic final com.neeve.io.IOBuffer serializeToIOBuffer(boolean useNative)
MessageViewMessageView to an IOBuffer.
Ownership of the returned IOBuffer is given to the caller which should dispose of it when done.
The buffer backing the IOBuffer should be flipped (ready for read) upon return.
serializeToIOBuffer in interface MessageViewserializeToIOBuffer in class MessageViewImpluseNative - Whether the returned buffer should be native.
MessageView serialized to an IOBuffer.public final PktPacket serializeToPacket()
MessageView
serializeToPacket in interface MessageViewpublic final SrvMonAppLoadedMessage deserializeFromByteArray(byte[] array)
MessageView
deserializeFromByteArray in interface MessageViewarray - The view's backing message serialized as a byte array.public final SrvMonAppLoadedMessage deserializeFromByteBuffer(ByteBuffer buffer)
MessageView
deserializeFromByteBuffer in interface MessageViewbuffer - The view's backing message serialized as a byte buffer.public final SrvMonAppLoadedMessage deserializeFromPacket(PktPacket packet)
MessageView
deserializeFromPacket in interface MessageViewpacket - The view's backing message serialized as a packet.public final void sync()
MessageView
sync in interface MessageViewpublic final SrvMonAppLoadedMessage copy()
The copy copies primitive, enum and embedded entity fields into the returned copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonAppLoadedMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppLoadedMessage is read only.
No metadata is copied except as documented IRogCopyableNode.
See IRogCopyableNode for more detailed information on the semantics of this method.
copy in interface IRogCopyableNode<ISrvMonAppLoadedMessage>copy in interface ISrvMonAppLoadedMessagecopy in interface CopyableMessageView<ISrvMonAppLoadedMessage>IRogCopyableNode,
CopyableMessageViewpublic final void copyInto(SrvMonAppLoadedMessage copy)
The copy clears the target's contents and copies primitive, enum and embedded entity fields into the provided copy. Each embedded entity field is cloned so that modifications made to the copy's embedded entity fields do not affect this SrvMonAppLoadedMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppLoadedMessage is read only.
No metadata is copied except as documented IRogCopyableNode.
See IRogCopyableNode for more detailed information on the semantics of this method.
copyInto in interface ISrvMonAppLoadedMessagecopy - The target to copy into which must not be null or read only.
public final int desync(PktBuffer buffer,
int pos,
boolean frameOnly)
desync in interface com.neeve.xbuf.IXbufDesyncerpublic boolean needsSync()
MessageReflector
needsSync in interface MessageReflector
public final boolean fieldExists(Object message,
String name)
MessageReflector
fieldExists in interface MessageReflectormessage - The message to check in.name - The field to check for.
public final boolean isFieldReflectable(Object message,
String name)
MessageReflector
isFieldReflectable in interface MessageReflectormessage - The message to check in.name - The field to check for.
public final String getFieldValueAsString(Object message,
String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[]) since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsString in interface MessageReflectormessage - The message to introspect.name - The field whose value is to be retrieved specified as a bean path
MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methods
public final String getFieldValueAsString(Object message,
String[] pathComponents)
MessageReflector
getFieldValueAsString in interface MessageReflectormessage - The message to introspect.pathComponents - The path components to use to access the field.
MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methods
public final XString getFieldValueAsRawString(Object message,
String name)
MessageReflector
Note that this method is generally less efficient than its variant
MessageReflector.getFieldValueAsString(Object, String[]) since this method requires
splitting the supplied path name into its dot separated path components. In cases
where the caller intends to reuse the same path name often, it is better
for the caller to supply it in split form.
getFieldValueAsRawString in interface MessageReflectormessage - The message to introspect.name - The field whose value is to be retrieved specified as a bean path
MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methods
public final XString getFieldValueAsRawString(Object message,
String[] pathComponents)
MessageReflector
getFieldValueAsRawString in interface MessageReflectormessage - The message to introspect.pathComponents - The path components to use to access the field.
MessageReflector.fieldExists(java.lang.Object, java.lang.String) and MessageReflector.isFieldReflectable(java.lang.Object, java.lang.String) methods
public final boolean appendFieldValueTo(Object message,
String name,
XString target)
MessageReflectorIf the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo in interface MessageReflectorappendFieldValueTo in class com.neeve.rog.impl.RogNodemessage - the node on which to reflect (which need not be this object).name - the bean path to the field.target - The target XString into which to append the result.
public final boolean appendFieldValueTo(Object node,
String[] pathComponents,
XString target)
MessageReflectorIf the field is reflectable and has a non null value, then it will be appended otherwise, this method must return false.
appendFieldValueTo in interface MessageReflectorappendFieldValueTo in class com.neeve.rog.impl.RogNodenode - the node on which to reflect (which need not be this object).pathComponents - the bean path to the field on the provided object split by its '.' separated components.target - The target XString into which to append the result.
public final IStoreObject.EncodingType getContentEncodingType()
IStoreObject
getContentEncodingType in interface IStoreObjectpublic final PktPacket serialize()
IStoreObject
serialize in interface IStoreObjectpublic final SrvMonAppLoadedMessage deserialize(PktPacket packet)
IStoreObject
deserialize in interface IStoreObjectpacket - The object in serialized form.
public final IStoreObject setFieldValue(int id,
Object val)
IStoreObject
setFieldValue in interface IStoreObjectsetFieldValue in class com.neeve.rog.impl.RogNodeThis method is invoked during the rollback process to restore field values.
public final String toJsonString(boolean includeMetadata,
String metadataObjectName,
String payloadObjectName)
IRogJsonizable
toJsonString in interface IRogJsonizableincludeMetadata - Specify this parameter for the ROG entity
metadata to also be included in the JSON output. If included, the
entire ROG entity object is treated as a composite object containing
a nested metadata object and a nested data object. The next two
parameters metadataObjectName and dataObjectName
specify the names of the nested objects as they will appear in
the output JSON string.metadataObjectName - The name of the nested metadata object
as it will appear in the output JSON string. A value of null will
default to using 'metadata' as the nested object name.payloadObjectName - The name of the nested data object as it
will appear in the output JSON string. A value of null will default
to using 'data' as the nested object name.public final String toJsonString()
IRogJsonizable
toJsonString in interface IRogJsonizablepublic final String toString()
MessageViewImpl
toString in class com.neeve.rog.impl.RogNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||