|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.csapi.jr.se.pam.PAMAttributeDef
This is a Sequence of Data Elements containing the definition of an attribute. This definition constitutes the 'schema' for an attribute and contains fields to define the type and behaviour of a dynamic attribute. Each definition using these fields results in a TpPAMAttribute with the corresponding name and type and dynamic behaviour as defined by the remaining fields.
Constructor Summary | |
PAMAttributeDef()
Creates a new PAMAttributeDef instance. |
|
PAMAttributeDef(java.lang.String _name,
java.lang.String _type,
boolean _isStatic,
boolean _isRevertOnExpiration,
java.lang.Object _defaultValues)
Creates a new PAMAttributeDef instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
java.lang.Object |
getDefaultValues()
This method returns a defaultValues. |
boolean |
getIsRevertOnExpiration()
This method returns a isRevertOnExpiration. |
boolean |
getIsStatic()
This method returns a isStatic. |
java.lang.String |
getName()
This method returns a name. |
java.lang.String |
getType()
This method returns a type. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setDefaultValues(java.lang.Object defaultValues)
This method sets a defaultValues. |
void |
setIsRevertOnExpiration(boolean isRevertOnExpiration)
This method sets a isRevertOnExpiration. |
void |
setIsStatic(boolean isStatic)
This method sets a isStatic. |
void |
setName(java.lang.String name)
This method sets a name. |
void |
setType(java.lang.String type)
This method sets a type. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PAMAttributeDef()
public PAMAttributeDef(java.lang.String _name, java.lang.String _type, boolean _isStatic, boolean _isRevertOnExpiration, java.lang.Object _defaultValues)
_name
- Name of presence data_type
- Type of attribute. Valid values for Type must include at least TpString, TpInt32 and TpFloat._isStatic
- True indicates that the attributes is always static and its values never expire. False indicates that the attribute can be dynamic and may contain values that expire._isRevertOnExpiration
- True indicates that the attribute reverts to the default value on expiration. False indicates that the attribute will not revert to the default value._defaultValues
- An attribute is always initialized with this value. If the isRevertOnExpiration attribute is set to true, a dynamic attribute that has expired while stored in a PAM implementation is reset to this value with the expiresIn interval set to PAM_MAX_LONGINT. The default attribute value is interpreted based on the value of the attribute Type.Method Detail |
public java.lang.String getName()
public java.lang.String getType()
public boolean getIsStatic()
public boolean getIsRevertOnExpiration()
public java.lang.Object getDefaultValues()
public void setName(java.lang.String name)
public void setType(java.lang.String type)
public void setIsStatic(boolean isStatic)
public void setIsRevertOnExpiration(boolean isRevertOnExpiration)
public void setDefaultValues(java.lang.Object defaultValues)
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 |