public class ItemDefinitionImpl extends NamedElementImpl implements ItemDefinition
Modifier and Type | Field and Description |
---|---|
protected static ChildElement<AllowedValues> |
allowedValuesChild |
protected static Attribute<Boolean> |
isCollectionAttribute |
protected static ChildElementCollection<ItemComponent> |
itemComponentCollection |
protected static Attribute<String> |
typeLanguageAttribute |
protected static ChildElement<TypeRef> |
typeRefChild |
nameAttribute
descriptionChild, extensionElementsChild, idAttribute, labelAttribute
modelInstance
Constructor and Description |
---|
ItemDefinitionImpl(ModelTypeInstanceContext instanceContext) |
Modifier and Type | Method and Description |
---|---|
AllowedValues |
getAllowedValues() |
Collection<ItemComponent> |
getItemComponents() |
String |
getTypeLanguage() |
TypeRef |
getTypeRef() |
boolean |
isCollection() |
static void |
registerType(ModelBuilder modelBuilder) |
void |
setAllowedValues(AllowedValues allowedValues) |
void |
setCollection(boolean isCollection) |
void |
setTypeLanguage(String typeLanguage) |
void |
setTypeRef(TypeRef typeRef) |
getName, setName
getDescription, getExtensionElements, getId, getLabel, setDescription, setExtensionElements, setId, setLabel
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getName, setName
getDescription, getExtensionElements, getId, getLabel, setDescription, setExtensionElements, setId, setLabel
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
protected static ChildElement<TypeRef> typeRefChild
protected static ChildElement<AllowedValues> allowedValuesChild
protected static ChildElementCollection<ItemComponent> itemComponentCollection
public ItemDefinitionImpl(ModelTypeInstanceContext instanceContext)
public String getTypeLanguage()
getTypeLanguage
in interface ItemDefinition
public void setTypeLanguage(String typeLanguage)
setTypeLanguage
in interface ItemDefinition
public boolean isCollection()
isCollection
in interface ItemDefinition
public void setCollection(boolean isCollection)
setCollection
in interface ItemDefinition
public TypeRef getTypeRef()
getTypeRef
in interface ItemDefinition
public void setTypeRef(TypeRef typeRef)
setTypeRef
in interface ItemDefinition
public AllowedValues getAllowedValues()
getAllowedValues
in interface ItemDefinition
public void setAllowedValues(AllowedValues allowedValues)
setAllowedValues
in interface ItemDefinition
public Collection<ItemComponent> getItemComponents()
getItemComponents
in interface ItemDefinition
public static void registerType(ModelBuilder modelBuilder)
Copyright © 2021. All rights reserved.