|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.Attribute
org.norther.tammi.core.rt.util.EnumAttribute
org.norther.tammi.core.rt.util.EnumIdentity
org.norther.tammi.core.rt.util.EnumVariable
public class EnumVariable
Extends the enumerated identity by supporting variable instances as attribute values.
Note that the identity of the maintained variable is not automatically updated if the key values of the variable are modified.
| Constructor Summary | |
|---|---|
EnumVariable(String[] names,
Variable value)
Constructs a new enumerated variable with multiple names. |
|
EnumVariable(String[] names,
Variable value,
Object prop)
Constructs a new enumerated variable with multiple names and a property. |
|
EnumVariable(String name,
Variable value)
Constructs a new enumerated variable with a name. |
|
EnumVariable(String name,
Variable value,
Object prop)
Constructs a new enumerated variable with a name and a property. |
|
EnumVariable(Variable value)
Constructs a new enumerated variable. |
|
EnumVariable(Variable value,
Object prop)
Constructs a new enumerated variable with a property. |
|
| Method Summary | |
|---|---|
Identity |
getIdentity()
Gets the enumerated identity. |
Object |
getValue()
|
Variable |
getVariable()
Gets the enumerated variable. |
| Methods inherited from class org.norther.tammi.core.rt.util.EnumIdentity |
|---|
getBaseName, getProperty, matches, setProperty |
| Methods inherited from class org.norther.tammi.core.rt.util.EnumAttribute |
|---|
clone, clone, clone, clone, compareTo, equals, getName, hashCode, length, toString, toStrings |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnumVariable(Variable value)
value - the attribute value.
public EnumVariable(Variable value,
Object prop)
value - the attribute value.prop - an optional property.
public EnumVariable(String name,
Variable value)
name - the attribute name.value - the attribute value.
public EnumVariable(String name,
Variable value,
Object prop)
name - the attribute name.value - the attribute value.prop - an optional property.
public EnumVariable(String[] names,
Variable value)
names - the attribute names.value - the attribute value.
public EnumVariable(String[] names,
Variable value,
Object prop)
names - the attribute names.value - the attribute value.prop - an optional property.| Method Detail |
|---|
public Object getValue()
getValue in class EnumAttributepublic Identity getIdentity()
EnumIdentity
getIdentity in class EnumIdentitypublic Variable getVariable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||