public class UWTContextAttributeKey
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
The code identifying an attribute as per visual component instance.
|
private static int |
HC_BASE
Base when computing the hash code of an instance.
|
private static int |
HC_INIT
Initializer when computing the hash code of an instance.
|
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.
|
Constructor and Description |
---|
UWTContextAttributeKey()
Creates a new instance of UWTContextKey.
|
UWTContextAttributeKey(java.lang.String aCode,
Creates a new instance of UWTContextKey.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object aOther) |
java.lang.String |
getCode()
Returns the code identifying an attribute as per visual component instance.
|
UESURI |
getOwnerUri()
Returns the owner of the attribute value (e.g. access role).
|
java.lang.String |
getUcCode()
Returns the code of the use case where the visual component is used.
|
int |
hashCode() |
private boolean |
isEqual(java.lang.Object aObject1, |
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)
Sets the code identifying an attribute as per visual component instance.
|
void |
setOwnerUri(UESURI aOwnerUri)
Sets the UES-URI of the owner of the attribute value (e.g. access role).
|
void |
setUcCode(java.lang.String aUcCode)
Sets the code of the use case where the visual component is used.
|
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.
|
aCode
- The code of the attribute.aOwnerUri
- The UES-URI of the owner.aUcCode
- The usecase code.aCode
- The code to set.aOwnerUri
- The UES-URI of the owner to set.aUcCode
- The code of the use case.hashCode
in class java.lang.Object
Object.hashCode()
equals
in class java.lang.Object
Object.equals(java.lang.Object)
aObject1
- The object no. 1 to compare.aObject2
- The object no. 2 to compare.toString
in class java.lang.Object
Object.toString()
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
Externalizable.readExternal(java.io.ObjectInput)
aIn
- The input.java.io.IOException
- Thrown if writing fails.writeExternal
in interface java.io.Externalizable
java.io.IOException
Externalizable.writeExternal(java.io.ObjectOutput)
aOut
- The output.aValue
- The value.java.io.IOException
- Thrown if writing fails.