|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ales.management.Constant
This class represents a constant. A constant is a name value pair and can
be used when defining policies. Instances of this class are managed by
ConstantManager
class.
Method Summary | |
java.util.Collection |
getListValue()
Get the value of this constant as a collection. |
java.lang.String |
getName()
Get the name of this constant. |
AttributeValueType |
getType()
Get the type of this constant. |
java.lang.String |
getValue()
Get the value of this constant in string format. |
boolean |
isList()
Check if the constant value is a list. |
void |
rename(java.lang.String newName)
Rename the constant. |
void |
setValue(java.util.Collection newValue)
Set a list value to the constant. |
void |
setValue(java.lang.String newValue)
Set a string value to the constant. |
java.lang.String |
toString()
Get the string representation of the constant. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public java.lang.String getValue()
public java.util.Collection getListValue() throws ManagementException
String
.public void setValue(java.lang.String newValue) throws ManagementException
newValue
- the new value of the constant.public void setValue(java.util.Collection newValue) throws ManagementException
newValue
- the new list value of this constant.public AttributeValueType getType()
public java.lang.String getName()
public void rename(java.lang.String newName) throws java.lang.IllegalArgumentException, ManagementException
newName
- the new namepublic boolean isList()
public java.lang.String toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |