|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Generated(value="com.neeve.adm.AdmGenerator", date="Wed Mar 28 10:54:31 EDT 2018") @AdmGenerated(compatLevel="3.8.0", admVersion="nvx-adm v3.7.265 (build 0)", date="3/28/18 10:54 AM", buildInfo="nvx-talon-3.7.265 (nvx-codegen-plugin)") public interface ISrvMonAppFlowCreateMessage
Emitted by a Talon Server to registered admin clients when an app flow has been created.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.neeve.rog.IRogNode |
---|
IRogNode.PoolingListener |
Nested classes/interfaces inherited from interface com.neeve.ods.IStoreObject |
---|
IStoreObject.EncodingType |
Method Summary | ||
---|---|---|
void |
clearAppName()
Clears the value of 'appName' Field Description The name of the app that created the flow. |
|
void |
clearFlowInfo()
Clears the value of 'flowInfo' Field Description Holds details about the created flow. |
|
SrvMonAppFlowCreateMessage |
copy()
Creates a copy of this SrvMonAppFlowCreateMessage. |
|
void |
copyInto(SrvMonAppFlowCreateMessage target)
Copies the contents of this SrvMonAppFlowCreateMessage into the target. |
|
String |
getAppName()
Gets the value of 'appName' Field Description The name of the app that created the flow. |
|
|
getAppNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getAppNameTo(XString val)
Copies the value of 'appName' into the provided XString. |
|
XString |
getAppNameUnsafe()
Gets the raw value of 'appName'. |
|
SrvMonAppFlowInfo |
getFlowInfo()
Gets the value of 'flowInfo' Field Description Holds details about the created flow. |
|
void |
getFlowInfoTo(SrvMonAppFlowInfo val)
Copies the value of SrvMonAppFlowInfo into the provided value. |
|
boolean |
hasAppName()
Checks for the presence of 'appName' Field Description The name of the app that created the flow. |
|
boolean |
hasFlowInfo()
Checks for the presence of 'flowInfo' Field Description Holds details about the created flow. |
|
void |
lendAppName(XString val)
Sets the value of 'appName' Field Description The name of the app that created the flow. |
|
void |
lendFlowInfo(SrvMonAppFlowInfo val)
'Lends' a reference of the SrvMonAppFlowInfo to the message for this field. |
|
void |
setAppName(String val)
Sets the value of 'appName' Field Description The name of the app that created the flow. |
|
void |
setAppNameFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setAppNameFrom(XString val)
Copies the provided XString value into this object's 'appName'. |
|
void |
setFlowInfo(SrvMonAppFlowInfo val)
Sets the value of 'flowInfo' Field Description Holds details about the created flow. |
|
SrvMonAppFlowInfo |
takeFlowInfo()
'Takes' a reference to the flowInfo field from the message. |
Methods inherited from interface com.neeve.ods.IStoreObject |
---|
acquire, deserialize, deserializeMetadata, deserializeMetadata, ensureId, getBinding, getCheckpointVersion, getContentEncodingType, getId, getOfid, getOwnershipCount, getSerializedMetadataLength, getStableTransactionId, getTransactionId, serialize, serializeMetadata, setBinding, setCheckpointVersion, setFieldValue, setId, setStableTransactionId, setTransactionId |
Methods inherited from interface com.neeve.sma.MapMessageView |
---|
getMessageReflector |
Methods inherited from interface com.neeve.rog.IRogValidatable |
---|
getValidationErrors, isValid |
Method Detail |
---|
void setAppName(String val)
val
- The value to set.String getAppName()
void lendAppName(XString val)
val
- The value to set.void setAppNameFrom(long val)
NOTE:
This is the same as calling setAppName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getAppNameTo(XString.Factory<T> factory)
If the value of this field is not null
this method creates an XString from
the provided Factory, copies this field's value into the type, and returns the new
XString.);
This is a zero garbage operation if the provided factory is backed by a pool and the pool; has available instances;
factory
- The factory from which to get the XString to copy into and return
null
.
NullPointerException
- if the provided factory is nullvoid setAppNameFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setAppName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getAppNameTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getAppName()
bec
because it can avoid decoding the value into an String
.
getAppName()
XString getAppNameUnsafe()
NOTE:
This method retrieves the raw value backed by this object's buffer. This is a useful operation
when copying this field value to another object because it avoids copying the data into an intermediate
XString and instead allows direct byte transfer from the raw value to the target object.
However, this accessor is inherently unsafe because the buffer backing this object can be changed which would consequently invalidate the XString returned by this method. Consequently, the caller must not retain the returned raw value beyond the scope of this object's lifespan and access to the raw value follows the same threading rules as access to this object.
Additionally, the caller must not in any way mutate or modify the returned value as doing so could corrupt this object's backing buffer.
getAppName()
void clearAppName()
setAppName(String)
boolean hasAppName()
getAppName()
void setFlowInfo(SrvMonAppFlowInfo val)
val
- The value to set.void lendFlowInfo(SrvMonAppFlowInfo val)
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.
val
- the value to 'lend' to lend.SrvMonAppFlowInfo getFlowInfo()
void getFlowInfoTo(SrvMonAppFlowInfo val)
IF the value is not set, then the contents of the provided SrvMonAppFlowInfo are cleared.
val
- the value to copy intoSrvMonAppFlowInfo.copyInto(SrvMonAppFlowInfo)
SrvMonAppFlowInfo takeFlowInfo()
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.
null
if the field is not set.boolean hasFlowInfo()
getFlowInfo()
void clearFlowInfo()
setFlowInfo(SrvMonAppFlowInfo)
SrvMonAppFlowCreateMessage 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 SrvMonAppFlowCreateMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppFlowCreateMessage 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 CopyableMessageView<ISrvMonAppFlowCreateMessage>
copy
in interface IRogCopyableNode<ISrvMonAppFlowCreateMessage>
IRogCopyableNode
,
CopyableMessageView
void copyInto(SrvMonAppFlowCreateMessage target)
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 SrvMonAppFlowCreateMessage's embedded entity fields.
The returned copy will be writeable even if this SrvMonAppFlowCreateMessage is read only.
No metadata is copied except as documented IRogCopyableNode
.
See IRogCopyableNode
for more detailed information on the semantics of this method.
target
- The target to copy into which must not be null or read only.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |