|
|||||||||
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 ISrvMonInvokeCommandResponse
Response to a command invocation.
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 |
clearBooleanReturnValue()
Clears the value of 'booleanReturnValue' Field Description The value for a BOOLEAN return type. |
|
void |
clearByteReturnValue()
Clears the value of 'byteReturnValue' Field Description The value for a BYTE return type. |
|
void |
clearCharReturnValue()
Clears the value of 'charReturnValue' Field Description The value for a CHAR return type. |
|
void |
clearDateReturnValue()
Clears the value of 'dateReturnValue' Field Description The value for a DATE return type. |
|
void |
clearDoubleReturnValue()
Clears the value of 'doubleReturnValue' Field Description The value for a DOUBLE return type. |
|
void |
clearErrorMessage()
Clears the value of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
void |
clearFloatReturnValue()
Clears the value of 'floatReturnValue' Field Description The value for a FLOAT return type. |
|
void |
clearIntReturnValue()
Clears the value of 'intReturnValue' Field Description The value for a INT return type. |
|
void |
clearLongReturnValue()
Clears the value of 'longReturnValue' Field Description The value for a LONG return type. |
|
void |
clearReturnType()
Clears the value of 'returnType' Field Description The response type. |
|
void |
clearShortReturnValue()
Clears the value of 'shortReturnValue' Field Description The value for a SHORT return type. |
|
void |
clearStackTrace()
Clears the value of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
void |
clearStringReturnValue()
Clears the value of 'stringReturnValue' Field Description The value for a STRING return type. |
|
SrvMonInvokeCommandResponse |
copy()
Creates a copy of this SrvMonInvokeCommandResponse. |
|
void |
copyInto(SrvMonInvokeCommandResponse target)
Copies the contents of this SrvMonInvokeCommandResponse into the target. |
|
boolean |
getBooleanReturnValue()
Gets the value of 'booleanReturnValue' Field Description The value for a BOOLEAN return type. |
|
byte |
getByteReturnValue()
Gets the value of 'byteReturnValue' Field Description The value for a BYTE return type. |
|
char |
getCharReturnValue()
Gets the value of 'charReturnValue' Field Description The value for a CHAR return type. |
|
Date |
getDateReturnValue()
Gets the value of 'dateReturnValue' Field Description The value for a DATE return type. |
|
long |
getDateReturnValueAsTimestamp()
Retrieves the date as a timestamp (a zero garbage operation for XBuf encoding). |
|
double |
getDoubleReturnValue()
Gets the value of 'doubleReturnValue' Field Description The value for a DOUBLE return type. |
|
String |
getErrorMessage()
Gets the value of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
|
getErrorMessageTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getErrorMessageTo(XString val)
Copies the value of 'errorMessage' into the provided XString. |
|
XString |
getErrorMessageUnsafe()
Gets the raw value of 'errorMessage'. |
|
float |
getFloatReturnValue()
Gets the value of 'floatReturnValue' Field Description The value for a FLOAT return type. |
|
int |
getIntReturnValue()
Gets the value of 'intReturnValue' Field Description The value for a INT return type. |
|
long |
getLongReturnValue()
Gets the value of 'longReturnValue' Field Description The value for a LONG return type. |
|
SrvMonReturnType |
getReturnType()
Gets the value of 'returnType' Field Description The response type. |
|
short |
getShortReturnValue()
Gets the value of 'shortReturnValue' Field Description The value for a SHORT return type. |
|
String |
getStackTrace()
Gets the value of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
|
getStackTraceTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getStackTraceTo(XString val)
Copies the value of 'stackTrace' into the provided XString. |
|
XString |
getStackTraceUnsafe()
Gets the raw value of 'stackTrace'. |
|
String |
getStringReturnValue()
Gets the value of 'stringReturnValue' Field Description The value for a STRING return type. |
|
|
getStringReturnValueTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory. |
|
void |
getStringReturnValueTo(XString val)
Copies the value of 'stringReturnValue' into the provided XString. |
|
XString |
getStringReturnValueUnsafe()
Gets the raw value of 'stringReturnValue'. |
|
boolean |
hasBooleanReturnValue()
Checks for the presence of 'booleanReturnValue' Field Description The value for a BOOLEAN return type. |
|
boolean |
hasByteReturnValue()
Checks for the presence of 'byteReturnValue' Field Description The value for a BYTE return type. |
|
boolean |
hasCharReturnValue()
Checks for the presence of 'charReturnValue' Field Description The value for a CHAR return type. |
|
boolean |
hasDateReturnValue()
Checks for the presence of 'dateReturnValue' Field Description The value for a DATE return type. |
|
boolean |
hasDoubleReturnValue()
Checks for the presence of 'doubleReturnValue' Field Description The value for a DOUBLE return type. |
|
boolean |
hasErrorMessage()
Checks for the presence of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
boolean |
hasFloatReturnValue()
Checks for the presence of 'floatReturnValue' Field Description The value for a FLOAT return type. |
|
boolean |
hasIntReturnValue()
Checks for the presence of 'intReturnValue' Field Description The value for a INT return type. |
|
boolean |
hasLongReturnValue()
Checks for the presence of 'longReturnValue' Field Description The value for a LONG return type. |
|
boolean |
hasReturnType()
Checks for the presence of 'returnType' Field Description The response type. |
|
boolean |
hasShortReturnValue()
Checks for the presence of 'shortReturnValue' Field Description The value for a SHORT return type. |
|
boolean |
hasStackTrace()
Checks for the presence of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
boolean |
hasStringReturnValue()
Checks for the presence of 'stringReturnValue' Field Description The value for a STRING return type. |
|
void |
lendErrorMessage(XString val)
Sets the value of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
void |
lendStackTrace(XString val)
Sets the value of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
void |
lendStringReturnValue(XString val)
Sets the value of 'stringReturnValue' Field Description The value for a STRING return type. |
|
void |
setBooleanReturnValue(boolean val)
Sets the value of 'booleanReturnValue' Field Description The value for a BOOLEAN return type. |
|
void |
setByteReturnValue(byte val)
Sets the value of 'byteReturnValue' Field Description The value for a BYTE return type. |
|
void |
setCharReturnValue(char val)
Sets the value of 'charReturnValue' Field Description The value for a CHAR return type. |
|
void |
setDateReturnValue(Date val)
Sets the value of 'dateReturnValue' Field Description The value for a DATE return type. |
|
void |
setDateReturnValueAsTimestamp(long val)
Sets the date value as a timestamp. |
|
void |
setDoubleReturnValue(double val)
Sets the value of 'doubleReturnValue' Field Description The value for a DOUBLE return type. |
|
void |
setErrorMessage(String val)
Sets the value of 'errorMessage' Field Description If the command did not complete successfully this field holds an error message. |
|
void |
setErrorMessageFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setErrorMessageFrom(XString val)
Copies the provided XString value into this object's 'errorMessage'. |
|
void |
setFloatReturnValue(float val)
Sets the value of 'floatReturnValue' Field Description The value for a FLOAT return type. |
|
void |
setIntReturnValue(int val)
Sets the value of 'intReturnValue' Field Description The value for a INT return type. |
|
void |
setLongReturnValue(long val)
Sets the value of 'longReturnValue' Field Description The value for a LONG return type. |
|
void |
setReturnType(SrvMonReturnType val)
Sets the value of 'returnType' Field Description The response type. |
|
void |
setShortReturnValue(short val)
Sets the value of 'shortReturnValue' Field Description The value for a SHORT return type. |
|
void |
setStackTrace(String val)
Sets the value of 'stackTrace' Field Description A stack trace that can accompany an error message if there was an exception |
|
void |
setStackTraceFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setStackTraceFrom(XString val)
Copies the provided XString value into this object's 'stackTrace'. |
|
void |
setStringReturnValue(String val)
Sets the value of 'stringReturnValue' Field Description The value for a STRING return type. |
|
void |
setStringReturnValueFrom(long val)
Sets the value of this String field to the given numeric value. |
|
void |
setStringReturnValueFrom(XString val)
Copies the provided XString value into this object's 'stringReturnValue'. |
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 setReturnType(SrvMonReturnType val)
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
val
- The value to set.SrvMonReturnType getReturnType()
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
void clearReturnType()
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
setReturnType(SrvMonReturnType)
boolean hasReturnType()
This field can be used by callers to determine which return value method to call to get the return value. If the returnType is listed as VOID or the return value is not set it means that the invocation did not return a value.
getReturnType()
void setBooleanReturnValue(boolean val)
val
- The value to set.boolean getBooleanReturnValue()
void clearBooleanReturnValue()
setBooleanReturnValue(boolean)
boolean hasBooleanReturnValue()
getBooleanReturnValue()
void setByteReturnValue(byte val)
val
- The value to set.byte getByteReturnValue()
void clearByteReturnValue()
setByteReturnValue(byte)
boolean hasByteReturnValue()
getByteReturnValue()
void setCharReturnValue(char val)
val
- The value to set.char getCharReturnValue()
void clearCharReturnValue()
setCharReturnValue(char)
boolean hasCharReturnValue()
getCharReturnValue()
void setShortReturnValue(short val)
val
- The value to set.short getShortReturnValue()
void clearShortReturnValue()
setShortReturnValue(short)
boolean hasShortReturnValue()
getShortReturnValue()
void setIntReturnValue(int val)
val
- The value to set.int getIntReturnValue()
void clearIntReturnValue()
setIntReturnValue(int)
boolean hasIntReturnValue()
getIntReturnValue()
void setLongReturnValue(long val)
val
- The value to set.long getLongReturnValue()
void clearLongReturnValue()
setLongReturnValue(long)
boolean hasLongReturnValue()
getLongReturnValue()
void setFloatReturnValue(float val)
val
- The value to set.float getFloatReturnValue()
void clearFloatReturnValue()
setFloatReturnValue(float)
boolean hasFloatReturnValue()
getFloatReturnValue()
void setDoubleReturnValue(double val)
val
- The value to set.double getDoubleReturnValue()
void clearDoubleReturnValue()
setDoubleReturnValue(double)
boolean hasDoubleReturnValue()
getDoubleReturnValue()
void setDateReturnValue(Date val)
val
- The value to set.Date getDateReturnValue()
void setDateReturnValueAsTimestamp(long val)
val
- The date value in milliseconds from the epochlong getDateReturnValueAsTimestamp()
NOTE:
Note that a return value of -1 could also indicate 1 millisecond before the epoch.
In cases where a such an ambiguity is a practical concern, hasDateReturnValue()
should be called.
void clearDateReturnValue()
setDateReturnValue(Date)
boolean hasDateReturnValue()
getDateReturnValue()
void setStringReturnValue(String val)
val
- The value to set.String getStringReturnValue()
void lendStringReturnValue(XString val)
val
- The value to set.void setStringReturnValueFrom(long val)
NOTE:
This is the same as calling setStringReturnValue(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getStringReturnValueTo(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 setStringReturnValueFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setStringReturnValue(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getStringReturnValueTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getStringReturnValue()
bec
because it can avoid decoding the value into an String
.
getStringReturnValue()
XString getStringReturnValueUnsafe()
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.
getStringReturnValue()
void clearStringReturnValue()
setStringReturnValue(String)
boolean hasStringReturnValue()
getStringReturnValue()
void setErrorMessage(String val)
val
- The value to set.String getErrorMessage()
void lendErrorMessage(XString val)
val
- The value to set.void setErrorMessageFrom(long val)
NOTE:
This is the same as calling setErrorMessage(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getErrorMessageTo(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 setErrorMessageFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setErrorMessage(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getErrorMessageTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getErrorMessage()
bec
because it can avoid decoding the value into an String
.
getErrorMessage()
XString getErrorMessageUnsafe()
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.
getErrorMessage()
void clearErrorMessage()
setErrorMessage(String)
boolean hasErrorMessage()
getErrorMessage()
void setStackTrace(String val)
val
- The value to set.String getStackTrace()
void lendStackTrace(XString val)
val
- The value to set.void setStackTraceFrom(long val)
NOTE:
This is the same as calling setStackTrace(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getStackTraceTo(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 setStackTraceFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setStackTrace(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getStackTraceTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getStackTrace()
bec
because it can avoid decoding the value into an String
.
getStackTrace()
XString getStackTraceUnsafe()
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.
getStackTrace()
void clearStackTrace()
setStackTrace(String)
boolean hasStackTrace()
getStackTrace()
SrvMonInvokeCommandResponse 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 SrvMonInvokeCommandResponse's embedded entity fields.
The returned copy will be writeable even if this SrvMonInvokeCommandResponse 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<ISrvMonInvokeCommandResponse>
copy
in interface IRogCopyableNode<ISrvMonInvokeCommandResponse>
IRogCopyableNode
,
CopyableMessageView
void copyInto(SrvMonInvokeCommandResponse 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 SrvMonInvokeCommandResponse's embedded entity fields.
The returned copy will be writeable even if this SrvMonInvokeCommandResponse 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 |