public class EnumerationElement extends java.lang.Object implements HasDomainNodes
| Constructor and Description | 
|---|
| EnumerationElement(XMLElementDefinition concept,
                  Enum2Type type,
                  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. | 
| Enum2Type | getType()Gets the type. | 
| boolean | isHeadUsable()Checks if is head usable. | 
| void | validateContainsAll(java.util.Collection<javax.xml.namespace.QName> qNameValues)Contains. | 
public EnumerationElement(XMLElementDefinition concept, Enum2Type type, XMLElementDefinition domain, java.lang.String enumLinkrole, boolean headUsable)
concept - the concepttype - the typedomain - the domainenumLinkrole - the enum linkroleheadUsable - the head usablepublic XMLElementDefinition getConcept()
public XMLElementDefinition getDomain()
public Enum2Type getType()
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 void validateContainsAll(java.util.Collection<javax.xml.namespace.QName> qNameValues)
                         throws ENenum2Error
qNameValues - the q name valuesENenum2Error - the e nenum 2 errorpublic 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