public class TypeDescription_impl extends MetaDataObject_impl implements TypeDescription
TypeDescription
. Under construction.MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
serialContext
EMPTY_TYPE_DESCRIPTIONS
Constructor and Description |
---|
TypeDescription_impl()
Creates a new TypeDescription_impl with null field values.
|
TypeDescription_impl(String aName,
String aDescription,
String aSupertypeName)
Creates a new TypeDescription_impl with the specified field values.
|
Modifier and Type | Method and Description |
---|---|
FeatureDescription |
addFeature(String aFeatureName,
String aDescription,
String aRangeTypeName)
Convenience method which adds a FeatureDescription to this TypeDescription.
|
FeatureDescription |
addFeature(String aFeatureName,
String aDescription,
String aRangeTypeName,
String aElementTypeName,
Boolean aMultipleReferencesAllowed)
Convenience method which adds a FeatureDescription to this TypeDescription.
|
AllowedValue[] |
getAllowedValues()
Gets the allowed values for instances of this Type.
|
String |
getDescription()
Gets the verbose description of this Type.
|
FeatureDescription[] |
getFeatures()
Gets the descriptions of the features for this Type.
|
String |
getName()
Gets the name of this Type.
|
String |
getSupertypeName()
Gets the name of the supertype for this Type.
|
protected XmlizationInfo |
getXmlizationInfo()
To be implemented by subclasses to return information describing how to represent this object
in XML.
|
void |
setAllowedValues(AllowedValue[] aAllowedValues)
Sets the allowed values for instances of this Type.
|
void |
setDescription(String aDescription)
Sets the verbose description of this Type.
|
void |
setFeatures(FeatureDescription[] aFeatures)
Sets the descriptions of the features for this Type.
|
void |
setName(String aName)
Sets the name of this Type.
|
void |
setSupertypeName(String aTypeName)
Sets the name of the supertype for this Type.
|
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
public TypeDescription_impl()
public String getName()
TypeDescription
getName
in interface TypeDescription
TypeDescription.getName()
public void setName(String aName)
TypeDescription
setName
in interface TypeDescription
aName
- the name of this TypeTypeDescription.setName(String)
public String getDescription()
TypeDescription
getDescription
in interface TypeDescription
TypeDescription.getDescription()
public void setDescription(String aDescription)
TypeDescription
setDescription
in interface TypeDescription
aDescription
- the description of this TypeTypeDescription.setDescription(java.lang.String)
public String getSupertypeName()
TypeDescription
getSupertypeName
in interface TypeDescription
TypeDescription.getSupertypeName()
public void setSupertypeName(String aTypeName)
TypeDescription
setSupertypeName
in interface TypeDescription
aTypeName
- the name of the supertype for this TypeTypeDescription.setSupertypeName(String)
public FeatureDescription[] getFeatures()
TypeDescription
getFeatures
in interface TypeDescription
TypeDescription.getFeatures()
public void setFeatures(FeatureDescription[] aFeatures)
TypeDescription
setFeatures
in interface TypeDescription
aFeatures
- descriptions of the features for this Type.TypeDescription.setFeatures(FeatureDescription[])
public AllowedValue[] getAllowedValues()
TypeDescription
null
. Note that if a type has allowed values, it may not
have features.getAllowedValues
in interface TypeDescription
TypeDescription.getAllowedValues()
public void setAllowedValues(AllowedValue[] aAllowedValues)
TypeDescription
null
. Note that if a type has allowed values, it may
not have features.setAllowedValues
in interface TypeDescription
aAllowedValues
- the allowed values for instances of this TypeTypeDescription.setAllowedValues(AllowedValue[])
public FeatureDescription addFeature(String aFeatureName, String aDescription, String aRangeTypeName)
TypeDescription
addFeature
in interface TypeDescription
aFeatureName
- name of feature to addaDescription
- verbose description of the featureaRangeTypeName
- name of feature's range typeTypeDescription.addFeature(String, String, String)
public FeatureDescription addFeature(String aFeatureName, String aDescription, String aRangeTypeName, String aElementTypeName, Boolean aMultipleReferencesAllowed)
TypeDescription
addFeature
in interface TypeDescription
aFeatureName
- name of feature to addaDescription
- verbose description of the featureaRangeTypeName
- name of feature's range typeaElementTypeName
- type of element expected to be contained in the array or listaMultipleReferencesAllowed
- whether an array or list that's assigned to this feature can also be referenced from
another feature. This is a Boolean object so that the null value can be used to
represent the case where the user has not specified a value.TypeDescription.addFeature(String, String, String, String, Boolean)
protected XmlizationInfo getXmlizationInfo()
MetaDataObject_impl
getXmlizationInfo
in class MetaDataObject_impl
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.