public final class UWTContextAttribute
extends java.lang.Object
implements java.io.Externalizable
UWTContext.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
code
The code identifying an attribute as per visual component instance.
|
private java.util.Date |
creationTimestamp
The timestamp when the attribute was created.
|
private static java.lang.String |
CHARSET
The charset to use when externalizing.
|
private java.lang.Long |
id
The system-generated ID.
|
private UESURI |
ownerUri
The owner of the attribute value (e.g. access role).
|
private java.lang.String |
ucCode
The code of the use case where the visual component is used.
|
private java.util.Date |
updateTimestamp
The timestamp when the attribute was last updated.
|
private java.lang.Object |
value
The value of the attribute.
|
private java.lang.Class<?> |
valueClass
The class of the value.
|
private java.lang.Long |
version
The version of the attribute (reflects number of modifications).
|
| Constructor and Description |
|---|
UWTContextAttribute() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Getter for property code.
|
java.util.Date |
getCreationTimestamp()
Getter for property creationTimestamp.
|
java.lang.Long |
getId()
Getter for property id.
|
UESURI |
getOwnerUri()
Getter for property ownerUri.
|
java.lang.String |
getUcCode()
Getter for property ucCode.
|
java.util.Date |
getUpdateTimestamp()
Getter for property updateTimestamp.
|
java.lang.Object |
getValue()
Getter for property value.
|
java.lang.Class<?> |
getValueClass()
Getter for property valueClass.
|
java.lang.Long |
getVersion()
Getter for property version.
|
void |
readExternal(java.io.ObjectInput aIn) |
private boolean |
readNullCheck(java.io.ObjectInput aIn)
Reads a mark from the input which indicates whether the field to be read is
null or not.
|
void |
setCode(java.lang.String aCode)
Setter for property code.
|
void |
setCreationTimestamp(java.util.Date aCreationTimestamp)
Setter for property creationTimestamp.
|
void |
setId(java.lang.Long aId)
Setter for property id.
|
void |
setOwnerUri(UESURI aOwnerUri)
Setter for property ownerUri.
|
void |
setUcCode(java.lang.String aUcCode)
Setter for property ucCode.
|
void |
setUpdateTimestamp(java.util.Date aUpdateTimestamp)
Setter for property updateTimestamp.
|
void |
setValue(java.lang.Object aValue)
Setter for property value.
|
void |
setValueClass(java.lang.Class<?> aValueClass)
Setter for property valueClass.
|
void |
setVersion(java.lang.Long aVersion)
Setter for property version.
|
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput aOut) |
private boolean |
writeNullCheck(java.io.ObjectOutput aOut,
Writes a mark whether the value is null or not.
|
aId - The id to set.aCode - The code to set.aOwnerUri - The ownerUri to set.aUcCode - The ucCode to set.aValue - The value to set.aValueClass - The valueClass to set.aVersion - The version to set.aCreationTimestamp - The creationTimestamp to set.aUpdateTimestamp - The updateTimestamp to set.toString in class java.lang.ObjectObject.toString()readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionExternalizable.readExternal(java.io.ObjectInput)aIn - The input.java.io.IOException - Thrown if writing fails.writeExternal in interface java.io.Externalizablejava.io.IOExceptionExternalizable.writeExternal(java.io.ObjectOutput)aOut - The output.aValue - The value.java.io.IOException - Thrown if writing fails.