@Generated(value="com.neeve.adm.AdmGenerator", date="Thu May 07 15:37:32 EDT 2020") @AdmGenerated(compatLevel="4.0.0", admVersion="nvx-rumi-adm v3.14 (build 29)", date="5/7/20 3:37 PM", buildInfo="nvx-talon-3.14.19 (nvx-codegen-plugin)") public interface ISrvMonUserGaugeStat extends IRogValidatable
The value for a Gauge is based on the value of its gaugeType. The gaugeType should be examined to determine which getXXXValue method to call.
ADM Type | Embedded Entity |
Factory | SrvMonFactory |
ADM Field Summary |
---|
Field | Type | Id | Description |
---|---|---|---|
booleanValue | Boolean | 3 | The value for a BOOLEAN gauge. |
byteValue | Byte | 4 | The value for a BYTE gauge. |
charValue | Char | 5 | The value for a CHAR gauge. |
doubleValue | Double | 10 | The value for a DOUBLE gauge. |
floatValue | Float | 9 | The value for a FLOAT gauge. |
guageType | SrvMonGaugeType |
2 | The name of the gauge value. |
intValue | Integer | 7 | The value for a INT gauge. |
longValue | Long | 8 | The value for a LONG gauge. |
name | String | 1 | The name of the gauge statistic. |
shortValue | Short | 6 | The value for a SHORT gauge. |
stringValue | String | 11 | The value for a STRING gauge. |
Modifier and Type | Method and Description |
---|---|
void |
clearBooleanValue()
Clears the value of 'booleanValue'.
|
void |
clearByteValue()
Clears the value of 'byteValue'.
|
void |
clearCharValue()
Clears the value of 'charValue'.
|
void |
clearDoubleValue()
Clears the value of 'doubleValue'.
|
void |
clearFloatValue()
Clears the value of 'floatValue'.
|
void |
clearGuageType()
Clears the value of 'guageType'.
|
void |
clearIntValue()
Clears the value of 'intValue'.
|
void |
clearLongValue()
Clears the value of 'longValue'.
|
void |
clearName()
Clears the value of 'name'.
|
void |
clearShortValue()
Clears the value of 'shortValue'.
|
void |
clearStringValue()
Clears the value of 'stringValue'.
|
boolean |
getBooleanValue()
Gets the value of 'booleanValue'.
|
byte |
getByteValue()
Gets the value of 'byteValue'.
|
char |
getCharValue()
Gets the value of 'charValue'.
|
double |
getDoubleValue()
Gets the value of 'doubleValue'.
|
float |
getFloatValue()
Gets the value of 'floatValue'.
|
SrvMonGaugeType |
getGuageType()
Gets the value of 'guageType'.
|
int |
getIntValue()
Gets the value of 'intValue'.
|
long |
getLongValue()
Gets the value of 'longValue'.
|
String |
getName()
Gets the value of 'name'.
|
<T extends XString> |
getNameTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getNameTo(XString val)
Copies the value of 'name' into the provided XString.
|
XString |
getNameUnsafe()
Gets the raw value of 'name'.
|
short |
getShortValue()
Gets the value of 'shortValue'.
|
String |
getStringValue()
Gets the value of 'stringValue'.
|
<T extends XString> |
getStringValueTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getStringValueTo(XString val)
Copies the value of 'stringValue' into the provided XString.
|
XString |
getStringValueUnsafe()
Gets the raw value of 'stringValue'.
|
boolean |
hasBooleanValue()
Checks for the presence of 'booleanValue'.
|
boolean |
hasByteValue()
Checks for the presence of 'byteValue'.
|
boolean |
hasCharValue()
Checks for the presence of 'charValue'.
|
boolean |
hasDoubleValue()
Checks for the presence of 'doubleValue'.
|
boolean |
hasFloatValue()
Checks for the presence of 'floatValue'.
|
boolean |
hasGuageType()
Checks for the presence of 'guageType'.
|
boolean |
hasIntValue()
Checks for the presence of 'intValue'.
|
boolean |
hasLongValue()
Checks for the presence of 'longValue'.
|
boolean |
hasName()
Checks for the presence of 'name'.
|
boolean |
hasShortValue()
Checks for the presence of 'shortValue'.
|
boolean |
hasStringValue()
Checks for the presence of 'stringValue'.
|
void |
lendName(XString val)
Lends the value of 'name' to this object.
|
void |
lendStringValue(XString val)
Lends the value of 'stringValue' to this object.
|
void |
setBooleanValue(boolean val)
Sets the value of 'booleanValue'.
|
void |
setByteValue(byte val)
Sets the value of 'byteValue'.
|
void |
setCharValue(char val)
Sets the value of 'charValue'.
|
void |
setDoubleValue(double val)
Sets the value of 'doubleValue'.
|
void |
setFloatValue(float val)
Sets the value of 'floatValue'.
|
void |
setGuageType(SrvMonGaugeType val)
Sets the value of 'guageType'.
|
void |
setIntValue(int val)
Sets the value of 'intValue'.
|
void |
setLongValue(long val)
Sets the value of 'longValue'.
|
void |
setName(String val)
Sets the value of 'name'.
|
void |
setNameFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setNameFrom(XString val)
Copies the provided XString value into this object's 'name'.
|
void |
setShortValue(short val)
Sets the value of 'shortValue'.
|
void |
setStringValue(String val)
Sets the value of 'stringValue'.
|
void |
setStringValueFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setStringValueFrom(XString val)
Copies the provided XString value into this object's 'stringValue'.
|
getValidationErrors, isValid
void setGuageType(SrvMonGaugeType val)
val
- The value to set.SrvMonGaugeType getGuageType()
void clearGuageType()
setGuageType(SrvMonGaugeType)
boolean hasGuageType()
getGuageType()
void setBooleanValue(boolean val)
val
- The value to set.boolean getBooleanValue()
void clearBooleanValue()
setBooleanValue(boolean)
boolean hasBooleanValue()
getBooleanValue()
void setByteValue(byte val)
val
- The value to set.byte getByteValue()
void clearByteValue()
setByteValue(byte)
boolean hasByteValue()
getByteValue()
void setCharValue(char val)
val
- The value to set.char getCharValue()
void clearCharValue()
setCharValue(char)
boolean hasCharValue()
getCharValue()
void setShortValue(short val)
val
- The value to set.short getShortValue()
void clearShortValue()
setShortValue(short)
boolean hasShortValue()
getShortValue()
void setIntValue(int val)
val
- The value to set.int getIntValue()
void clearIntValue()
setIntValue(int)
boolean hasIntValue()
getIntValue()
void setLongValue(long val)
val
- The value to set.long getLongValue()
void clearLongValue()
setLongValue(long)
boolean hasLongValue()
getLongValue()
void setFloatValue(float val)
val
- The value to set.float getFloatValue()
void clearFloatValue()
setFloatValue(float)
boolean hasFloatValue()
getFloatValue()
void setDoubleValue(double val)
val
- The value to set.double getDoubleValue()
void clearDoubleValue()
setDoubleValue(double)
boolean hasDoubleValue()
getDoubleValue()
void setName(String val)
val
- The value to set.String getName()
void lendName(XString val)
This method is equivalent to setName except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setNameFrom(long val)
NOTE:
This is the same as calling setName(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getNameTo(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 returnnull
.NullPointerException
- if the provided factory is nullvoid setNameFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setName(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getNameTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getName()
bec
because it can avoid decoding the value into an String
.
getName()
XString getNameUnsafe()
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.
getName()
void clearName()
setName(String)
boolean hasName()
getName()
void setStringValue(String val)
val
- The value to set.String getStringValue()
void lendStringValue(XString val)
This method is equivalent to setStringValue except that it allows this object to defer copying the value until this object is next serialized. This means that the caller must not modify or dispose the value being passed in to this method.
Note, also, that unlike lendXXX methods for embedded entities, this method does not attempt to acquire or dispose of the value passed in even if the value is poolable.
val
- The value to set.IllegalArgumentException
- If the value is mutable.void setStringValueFrom(long val)
NOTE:
This is the same as calling setStringValue(String)
.
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getStringValueTo(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 returnnull
.NullPointerException
- if the provided factory is nullvoid setStringValueFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setStringValue(String)
because it avoids encoding the value into a String
if the given XString
is already encoded.
void getStringValueTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getStringValue()
bec
because it can avoid decoding the value into an String
.
getStringValue()
XString getStringValueUnsafe()
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.
getStringValue()
void clearStringValue()
setStringValue(String)
boolean hasStringValue()
getStringValue()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.