|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeDef
This interface represents definition of an attribute
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns description associated with the attribute, if any. |
java.lang.String |
getName()
Gets the name of the attribute |
AttributeDefProperties |
getProperties()
Returns properties associated with the attribute. |
AttributeTypeEnum |
getType()
Gets the data type associated with the Attribute |
boolean |
isDataMandatory()
Indicates if data for this attribute is mandatory. |
boolean |
isMetaDataAttribute()
Indicates if this attribute is metadata type (as opposed to user defined). |
void |
setDescription(java.lang.String descr)
|
void |
setIsMandatory(boolean mandatory)
|
void |
setIsMetadataAttribute(boolean isMetaData)
|
void |
setName(java.lang.String name)
|
void |
setProperties(AttributeDefProperties props)
|
void |
setType(AttributeTypeEnum type)
|
Method Detail |
---|
java.lang.String getName()
java.lang.String getDescription()
AttributeTypeEnum getType()
AttributeDefProperties getProperties()
boolean isMetaDataAttribute()
true
if the attribute is meta data type, false
otherwise.boolean isDataMandatory()
true
if the attribute is required false
otherwise.void setName(java.lang.String name)
void setDescription(java.lang.String descr)
void setType(AttributeTypeEnum type)
void setProperties(AttributeDefProperties props)
void setIsMandatory(boolean mandatory)
void setIsMetadataAttribute(boolean isMetaData)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |