public class ResourceParameterImpl extends BaseElementImpl implements ResourceParameter
Modifier and Type | Field and Description |
---|---|
protected static Attribute<Boolean> |
isRequiredAttribute |
protected static Attribute<String> |
nameAttribute |
protected static AttributeReference<ItemDefinition> |
typeAttribute |
documentationCollection, extensionElementsChild, idAttribute
modelInstance
Constructor and Description |
---|
ResourceParameterImpl(ModelTypeInstanceContext instanceContext) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
ItemDefinition |
getType() |
boolean |
isRequired() |
static void |
registerType(ModelBuilder modelBuilder) |
void |
setName(String name) |
void |
setRequired(boolean isRequired) |
void |
setType(ItemDefinition type) |
getDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
builder, getScope, isScope
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
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setId
builder, getScope, isScope
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 AttributeReference<ItemDefinition> typeAttribute
public ResourceParameterImpl(ModelTypeInstanceContext instanceContext)
public static void registerType(ModelBuilder modelBuilder)
public String getName()
getName
in interface ResourceParameter
public void setName(String name)
setName
in interface ResourceParameter
public ItemDefinition getType()
getType
in interface ResourceParameter
public void setType(ItemDefinition type)
setType
in interface ResourceParameter
public boolean isRequired()
isRequired
in interface ResourceParameter
public void setRequired(boolean isRequired)
setRequired
in interface ResourceParameter
Copyright © 2021. All rights reserved.