@Generated(value="com.neeve.adm.AdmGenerator", date="Fri Dec 05 11:53:59 EST 2025") @AdmGenerated(compatLevel="4.1.0", admVersion="Unknown Version", date="12/5/25 11:53 AM", buildInfo="nvx-eagle-2.9-SNAPSHOT Json Encoding") public interface IErrorContext extends IRogValidatable
| ADM Type | Embedded Entity |
| Factory | MessageFactory |
| ADM Field Summary |
|---|
| Field | Type | Id | Description |
|---|---|---|---|
| code | ErrorCode | 32736 | No doc provided. |
| description | String | 32735 | No doc provided. |
| extInfo | String | 32734 | No doc provided. |
| type | ErrorType | 32737 | No doc provided. |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCode()
Clears the value of 'code'.
|
void |
clearDescription()
Clears the value of 'description'.
|
void |
clearExtInfo()
Clears the value of 'extInfo'.
|
void |
clearType()
Clears the value of 'type'.
|
ErrorCode |
getCode()
Gets the value of 'code'.
|
String |
getDescription()
Gets the value of 'description'.
|
<T extends XString> |
getDescriptionTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getDescriptionTo(XString val)
Copies the value of 'description' into the provided XString.
|
XString |
getDescriptionUnsafe()
Gets the raw value of 'description'.
|
String |
getExtInfo()
Gets the value of 'extInfo'.
|
<T extends XString> |
getExtInfoTo(XString.Factory<T> factory)
Copies the value of this String field into a new XString from the given factory.
|
void |
getExtInfoTo(XString val)
Copies the value of 'extInfo' into the provided XString.
|
XString |
getExtInfoUnsafe()
Gets the raw value of 'extInfo'.
|
ErrorType |
getType()
Gets the value of 'type'.
|
boolean |
hasCode()
Checks for the presence of 'code'.
|
boolean |
hasDescription()
Checks for the presence of 'description'.
|
boolean |
hasExtInfo()
Checks for the presence of 'extInfo'.
|
boolean |
hasType()
Checks for the presence of 'type'.
|
void |
lendDescription(XString val)
Lends the value of 'description' to this object.
|
void |
lendExtInfo(XString val)
Lends the value of 'extInfo' to this object.
|
void |
setCode(ErrorCode val)
Sets the value of 'code'.
|
void |
setDescription(String val)
Sets the value of 'description'.
|
void |
setDescriptionFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setDescriptionFrom(XString val)
Copies the provided XString value into this object's 'description'.
|
void |
setExtInfo(String val)
Sets the value of 'extInfo'.
|
void |
setExtInfoFrom(long val)
Sets the value of this String field to the given numeric value.
|
void |
setExtInfoFrom(XString val)
Copies the provided XString value into this object's 'extInfo'.
|
void |
setType(ErrorType val)
Sets the value of 'type'.
|
getValidationErrors, isValidvoid setType(ErrorType val)
val - The value to set.ErrorType getType()
void clearType()
setType(ErrorType)boolean hasType()
getType()void setCode(ErrorCode val)
val - The value to set.ErrorCode getCode()
void clearCode()
setCode(ErrorCode)boolean hasCode()
getCode()void setDescription(String val)
val - The value to set.String getDescription()
void lendDescription(XString val)
This method is equivalent to setDescription 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 setDescriptionFrom(long val)
NOTE:
This is the same as calling setDescription(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getDescriptionTo(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 setDescriptionFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setDescription(String)
because it avoids encoding the value into a String if the given XString is already encoded.
void getDescriptionTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getDescription() bec
because it can avoid decoding the value into an String.
getDescription()XString getDescriptionUnsafe()
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.
getDescription()void clearDescription()
setDescription(String)boolean hasDescription()
getDescription()void setExtInfo(String val)
val - The value to set.String getExtInfo()
void lendExtInfo(XString val)
This method is equivalent to setExtInfo 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 setExtInfoFrom(long val)
NOTE:
This is the same as calling setExtInfo(String).
with Long.valueOf(val).toString(), except that using this method is a zero garbage
operation for Xbuf encoding.
<T extends XString> T getExtInfoTo(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 setExtInfoFrom(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this setter
can be more efficient than setExtInfo(String)
because it avoids encoding the value into a String if the given XString is already encoded.
void getExtInfoTo(XString val)
NOTE:
This is a Zero Garbage operation for XBuf encoded objects. Additionally, this getter
can be more efficient than getExtInfo() bec
because it can avoid decoding the value into an String.
getExtInfo()XString getExtInfoUnsafe()
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.
getExtInfo()void clearExtInfo()
setExtInfo(String)boolean hasExtInfo()
getExtInfo()Copyright © 2016 Neeve Research, LLC. All Rights Reserved.