|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbstractDisplayElement
See also AbstractCallableToolConfig and NXTConfig class. It's common for elements in tools to have a specific element they are displaying or creating and a type which is either an enumerated attribute or a pointer into a type ontology. This interface makes it easier for the tools to fit together: e.g. the linker element can now care less about what it's linking together.
Method Summary | |
---|---|
java.lang.String |
getElementName()
Return the name of the element this display is predominantly designed for displaying or creating. |
java.lang.String |
getElementNameLong()
Return the full name of the element this display is predominantly designed for displaying or creating: can be multiple words e.g. |
java.lang.String |
getElementNameShort()
Return the short name of the element this display is predominantly designed for displaying or creating: e.g. |
java.lang.String |
getEnumeratedTypeAttribute()
Return the name of the enumerated attribute that is used for the type (only required to be set if typeIsEnumeratedVariable() is true). |
java.lang.String |
getTypeDefault()
If the type is an enumerated attribute, this is the String value of the default; if the type is an ontology this is the ID of the default type element. |
java.lang.String |
getTypeGloss()
Return the name of the attribute on elements of the type ontology that give a 'gloss' of their meaning |
java.lang.String |
getTypeOntologyRoot()
Return the name of the root element of the type ontology |
java.lang.String |
getTypeRole()
Return the role of the pointer from the base element into the type ontology |
boolean |
typeIsEnumeratedVariable()
true if the type is an enumerated attribute; false if the type is a pointer to an ontology. |
Method Detail |
---|
java.lang.String getElementName()
boolean typeIsEnumeratedVariable()
java.lang.String getEnumeratedTypeAttribute()
java.lang.String getTypeRole()
java.lang.String getTypeOntologyRoot()
java.lang.String getTypeGloss()
java.lang.String getElementNameLong()
java.lang.String getElementNameShort()
java.lang.String getTypeDefault()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |