com.remedy.arsys.api
Class PropInfo
java.lang.Object
|
+--com.remedy.arsys.api.PropInfo
- All Implemented Interfaces:
- java.lang.Cloneable
- public class PropInfo
- extends java.lang.Object
- implements java.lang.Cloneable
The PropInfo class uses a tag-value pair (AR_DROP_/AR_DVAL_)
to describe the properties of server objects in the AR System.
|
Constructor Summary |
PropInfo(int tag,
Value val)
Constructs a new PropInfo object which consists of a tag-value pair and is used to describe the
properties of server objects in the AR System. |
|
Method Summary |
java.lang.Object |
clone()
Makes a deep copy of the object |
boolean |
equals(java.lang.Object anObject)
Use this method for checking equality. |
int |
getPropertyTag()
Retrieves the tag associated with the PropInfo object |
Value |
getPropertyValue()
Retrieves the value associated with the PropInfo object |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setPropertyValue(Value value)
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PropInfo
public PropInfo(int tag,
Value val)
- Constructs a new
PropInfo object which consists of a tag-value pair and is used to describe the
properties of server objects in the AR System.
- Parameters:
tag - A long value identifying the tag for a particular display property.val - The value for the property represented as a Value object.
getPropertyTag
public int getPropertyTag()
- Retrieves the tag associated with the
PropInfo object
getPropertyValue
public Value getPropertyValue()
- Retrieves the value associated with the
PropInfo object
setPropertyValue
public void setPropertyValue(Value value)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Makes a deep copy of the object
- Overrides:
clone in class java.lang.Object
equals
public boolean equals(java.lang.Object anObject)
- Use this method for checking equality. The result is true only if
the argument is not null, is of same type and represents the same
content.
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Returns the hash code value for this instance of the current class.
This method is supported as required by the general contract of
Object.hashCode, for the benefit of hash tables such as those provided
by java.util.Hashtable.
- Overrides:
hashCode in class java.lang.Object