public class EnumerationElement extends java.lang.Object implements HasDomainNodes
| Constructor and Description |
|---|
EnumerationElement(XMLElementDefinition concept,
XMLElementDefinition domain,
java.lang.String enumLinkrole,
boolean headUsable)
Instantiates a new enumeration element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear.
|
boolean |
contains(javax.xml.namespace.QName qNameValue)
Contains.
|
java.util.Iterator<DomainNode> |
getChildren()
Gets the children.
|
XMLElementDefinition |
getConcept()
Gets the concept.
|
XMLElementDefinition |
getDomain()
Gets the domain.
|
javax.xml.namespace.QName |
getDomainValueFromLabel(java.lang.String label)
Explore the enumerated domain for a text that matches the value
in the label parameter and returns the QName value.
|
java.lang.String |
getEnumLinkrole()
Gets the enum linkrole.
|
boolean |
isHeadUsable()
Checks if is head usable.
|
public EnumerationElement(XMLElementDefinition concept, XMLElementDefinition domain, java.lang.String enumLinkrole, boolean headUsable)
concept - the conceptdomain - the domainenumLinkrole - the enum linkroleheadUsable - the head usablepublic XMLElementDefinition getConcept()
public XMLElementDefinition getDomain()
public java.util.Iterator<DomainNode> getChildren()
getChildren in interface HasDomainNodespublic java.lang.String getEnumLinkrole()
public boolean isHeadUsable()
public boolean contains(javax.xml.namespace.QName qNameValue)
qNameValue - the q name valuepublic javax.xml.namespace.QName getDomainValueFromLabel(java.lang.String label)
label - the labelpublic void clear()
throws java.lang.Throwable
java.lang.Throwable - the throwableCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa