AR System Java API

com.bmc.arsys.api
Class PropInfo

java.lang.Object
  extended by com.bmc.arsys.api.PropInfo
All Implemented Interfaces:
Serializable, Cloneable

public class PropInfo
extends Object
implements Cloneable, Serializable

The PropInfo class uses a tag-value pair (AR_DROP_/AR_DVAL_) to describe the properties of server objects in the AR System.

See Also:
Serialized Form

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
 Object clone()
          Makes a deep copy of the object
 boolean equals(Object obj)
          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)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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 Object clone()
             throws CloneNotSupportedException
Makes a deep copy of the object

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

equals

public boolean equals(Object obj)
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 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 Object

toString

public String toString()
Overrides:
toString in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.