|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.csapi.jr.se.policy.PolicyVar
This defines the TpPolicyVar type. It is analogous to the TpAttribute type. TpPolicyVar is a Sequence of Data Elements of variable name, type and value. The following types of variables are defined: Atomic types, Record types (having named fields), and List types (where list elements could be complex types as well).
Constructor Summary | |
PolicyVar()
Creates a new PolicyVar instance. |
|
PolicyVar(java.lang.String _varName,
org.csapi.jr.se.policy.PolicyType _varType,
java.lang.Object _varValue)
Creates a new PolicyVar instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
java.lang.String |
getVarName()
This method returns a varName. |
org.csapi.jr.se.policy.PolicyType |
getVarType()
This method returns a varType. |
java.lang.Object |
getVarValue()
This method returns a varValue. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setVarName(java.lang.String varName)
This method sets a varName. |
void |
setVarType(org.csapi.jr.se.policy.PolicyType varType)
This method sets a varType. |
void |
setVarValue(java.lang.Object varValue)
This method sets a varValue. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolicyVar()
public PolicyVar(java.lang.String _varName, org.csapi.jr.se.policy.PolicyType _varType, java.lang.Object _varValue)
_varName
- Name of variable._varType
- Type of variable. Could be atomic or complex type._varValue
- Value of variable. Note that depending on context, the AttributeValue may be NULL.Method Detail |
public java.lang.String getVarName()
public org.csapi.jr.se.policy.PolicyType getVarType()
public java.lang.Object getVarValue()
public void setVarName(java.lang.String varName)
public void setVarType(org.csapi.jr.se.policy.PolicyType varType)
public void setVarValue(java.lang.Object varValue)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |