|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Attribute
The definition of an attribute of a UCMDB class.
Method Summary | |
---|---|
java.lang.Object |
getDefaultValue()
The default value of a non-static attribute. |
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayLabel()
|
java.lang.String |
getName()
The attribute name. |
java.util.Map<java.lang.String,Qualifier> |
getQualifiers()
The qualifiers defined for the attribute. |
Type |
getType()
The attribute data type. |
TypeInfo |
getTypeInfo()
Additional type information for specific attribute types. |
java.lang.Object |
getValue()
The value of a static attribute. |
boolean |
hasQualifier(java.lang.String qualifierName)
|
boolean |
isStatic()
Checks whether the the attribute is "static". |
Method Detail |
---|
java.lang.String getName()
Type getType()
TypeInfo getTypeInfo()
Example:
Attribute enumAttr = typeObjectDefinition.getAttribute(AttributesUtils.PROPERTY_ENUM); EnumInfo enumInfo = (EnumInfo)enumAttr.getTypeInfo(); String enumName = enumInfo.getEnumName();
java.lang.Object getValue() throws AttributeNotStaticException
AttributeNotStaticException
- if the attribute is not staticjava.lang.Object getDefaultValue() throws AttributeStaticException
AttributeStaticException
- if the attribute is staticjava.lang.String getDisplayLabel()
java.lang.String getDescription()
java.util.Map<java.lang.String,Qualifier> getQualifiers()
boolean hasQualifier(java.lang.String qualifierName)
boolean isStatic()
true
if the attribute is "static"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |