|
||||||||||
| 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
public class EnumIdentity
Extends the enumerated attribute by supporting variable identities as attribute values.
| Constructor Summary | |
|---|---|
EnumIdentity(String[] names,
Variable value)
Constructs a new enumerated identity with multiple names. |
|
EnumIdentity(String[] names,
Variable value,
Object prop)
Constructs a new enumerated identity with multiple names and a property. |
|
EnumIdentity(String name,
Variable value)
Constructs a new enumerated identity with a name. |
|
EnumIdentity(String name,
Variable value,
Object prop)
Constructs a new enumerated identity with a name and a property. |
|
EnumIdentity(Variable value)
Constructs a new enumerated identity. |
|
EnumIdentity(Variable value,
Object prop)
Constructs a new enumerated identity with a property. |
|
| Method Summary | |
|---|---|
String |
getBaseName()
Gets the base name of this attribute for localization, if any. |
Identity |
getIdentity()
Gets the enumerated identity. |
Object |
getProperty()
Gets the optional attribute property. |
boolean |
matches(Object other)
Matches this enumerated attribute against an enumerated object for equality. |
void |
setProperty(Object value)
Sets the optional attribute property. |
| Methods inherited from class org.norther.tammi.core.rt.util.EnumAttribute |
|---|
clone, clone, clone, clone, compareTo, equals, getName, getValue, hashCode, length, toString, toStrings |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnumIdentity(Variable value)
value - the attribute value.
public EnumIdentity(Variable value,
Object prop)
value - the attribute value.prop - an optional property.
public EnumIdentity(String name,
Variable value)
name - the attribute name.value - the attribute value.
public EnumIdentity(String name,
Variable value,
Object prop)
name - the attribute name.value - the attribute value.prop - an optional property.
public EnumIdentity(String[] names,
Variable value)
names - the attribute names.value - the attribute value.
public EnumIdentity(String[] names,
Variable value,
Object prop)
names - the attribute names.value - the attribute value.prop - an optional property.| Method Detail |
|---|
public boolean matches(Object other)
EnumAttribute
matches in class EnumAttributeother - the enumerated object.
public String getBaseName()
EnumAttribute
getBaseName in class EnumAttributepublic Identity getIdentity()
public Object getProperty()
public void setProperty(Object value)
value - the property value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||