public class BasicExtendedMetaData extends java.lang.Object implements ExtendedMetaData
| Modifier and Type | Class and Description |
|---|---|
class |
BasicExtendedMetaData.EClassExtendedMetaDataImpl |
static interface |
BasicExtendedMetaData.EClassifierExtendedMetaData |
class |
BasicExtendedMetaData.EDataTypeExtendedMetaDataImpl |
static interface |
BasicExtendedMetaData.EPackageExtendedMetaData |
class |
BasicExtendedMetaData.EPackageExtendedMetaDataImpl |
static interface |
BasicExtendedMetaData.EStructuralFeatureExtendedMetaData |
class |
BasicExtendedMetaData.EStructuralFeatureExtendedMetaDataImpl |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<EModelElement,EAnnotation> |
annotationMap |
protected java.lang.String |
annotationURI |
protected EPackage.Registry |
demandRegistry |
protected java.util.Map<EModelElement,java.lang.Object> |
extendedMetaDataHolderCache |
protected EPackage.Registry |
registry |
protected static EDataType |
UNINITIALIZED_EDATA_TYPE |
protected static EStructuralFeature |
UNINITIALIZED_ESTRUCTURAL_FEATURE |
protected static int |
UNINITIALIZED_INT |
protected static java.lang.String |
UNINITIALIZED_STRING |
ANNOTATION_URI, ATTRIBUTE_FEATURE, ATTRIBUTE_WILDCARD_FEATURE, COLLAPSE_WHITE_SPACE, CONTENT_KINDS, DERIVATION_KINDS, ELEMENT_FEATURE, ELEMENT_ONLY_CONTENT, ELEMENT_WILDCARD_FEATURE, EMPTY_CONTENT, FEATURE_KINDS, GROUP_FEATURE, INSTANCE, LAX_PROCESSING, LIST_DERIVATION, MIXED_CONTENT, PRESERVE_WHITE_SPACE, PROCESSING_KINDS, REPLACE_WHITE_SPACE, RESTRICTION_DERIVATION, SIMPLE_CONTENT, SIMPLE_FEATURE, SKIP_PROCESSING, STRICT_PROCESSING, UNION_DERIVATION, UNSPECIFIED_CONTENT, UNSPECIFIED_DERIVATION, UNSPECIFIED_FEATURE, UNSPECIFIED_PROCESSING, UNSPECIFIED_WHITE_SPACE, WHITE_SPACE_KINDS, XMI_URI, XML_SCHEMA_URI, XML_URI, XMLNS_PREFIX, XMLNS_URI, XSI_PREFIX, XSI_URI| Constructor and Description |
|---|
BasicExtendedMetaData() |
BasicExtendedMetaData(EPackage.Registry registry) |
BasicExtendedMetaData(java.lang.String annotationURI,
EPackage.Registry registry) |
BasicExtendedMetaData(java.lang.String annotationURI,
EPackage.Registry registry,
java.util.Map<EModelElement,EAnnotation> annotationMap) |
| Modifier and Type | Method and Description |
|---|---|
protected EStructuralFeature |
basicGetAffiliation(EStructuralFeature eStructuralFeature) |
EDataType |
basicGetBaseType(EDataType eDataType) |
protected int |
basicGetContentKind(EClass eClass) |
protected int |
basicGetDerivationKind(EClassifier eClassifier) |
protected java.util.List<java.lang.String> |
basicGetEnumerationFacet(EDataType eDataType) |
protected int |
basicGetFeatureKind(EStructuralFeature eStructuralFeature) |
protected int |
basicGetFractionDigitsFacet(EDataType eDataType) |
protected EStructuralFeature |
basicGetGroup(EStructuralFeature eStructuralFeature) |
protected EDataType |
basicGetItemType(EDataType eDataType) |
protected int |
basicGetLengthFacet(EDataType eDataType) |
protected java.lang.String |
basicGetMaxExclusiveFacet(EDataType eDataType) |
protected java.lang.String |
basicGetMaxInclusiveFacet(EDataType eDataType) |
protected int |
basicGetMaxLengthFacet(EDataType eDataType) |
protected java.util.List<EDataType> |
basicGetMemberTypes(EDataType eDataType) |
protected java.lang.String |
basicGetMinExclusiveFacet(EDataType eDataType) |
protected java.lang.String |
basicGetMinInclusiveFacet(EDataType eDataType) |
protected int |
basicGetMinLengthFacet(EDataType eDataType) |
protected java.lang.String |
basicGetName(EClassifier eClassifier) |
protected java.lang.String |
basicGetName(EStructuralFeature eStructuralFeature) |
java.lang.String |
basicGetNamespace(EStructuralFeature eStructuralFeature) |
protected java.util.List<java.lang.String> |
basicGetPatternFacet(EDataType eDataType) |
protected int |
basicGetProcessingKind(EStructuralFeature eStructuralFeature) |
protected int |
basicGetTotalDigitsFacet(EDataType eDataType) |
protected int |
basicGetWhiteSpaceFacet(EDataType eDataType) |
protected java.util.List<java.lang.String> |
basicGetWildcards(EStructuralFeature eStructuralFeature) |
protected boolean |
basicIsQualified(EPackage ePackage) |
protected java.lang.String |
computePrefix(java.lang.String namespace) |
protected BasicExtendedMetaData.EClassifierExtendedMetaData |
createEClassifierExtendedMetaData(EClassifier eClassifier) |
protected BasicExtendedMetaData.EPackageExtendedMetaData |
createEPackageExtendedMetaData(EPackage ePackage) |
protected BasicExtendedMetaData.EStructuralFeatureExtendedMetaData |
createEStructuralFeatureExtendedMetaData(EStructuralFeature eStructuralFeature) |
java.util.Collection<EPackage> |
demandedPackages()
Returns the instance's collection of demand-created packages.
|
EStructuralFeature |
demandFeature(java.lang.String namespace,
java.lang.String name,
boolean isElement)
Returns a feature corresponding to a global element or attribute from the namespace-specified package in the
demand package registry, creating it, and the package, if necessary.
|
EStructuralFeature |
demandFeature(java.lang.String namespace,
java.lang.String name,
boolean isElement,
boolean isReference)
Returns a feature corresponding to a global element or attribute from the namespace-specified package in the
demand package registry, creating it, and the package, if necessary.
|
EPackage |
demandPackage(java.lang.String namespace)
Returns a package from the demand package registry, creating it (with a document root class) if necessary.
|
EClassifier |
demandType(java.lang.String namespace,
java.lang.String name)
Returns a class from the namespace-specified package in the demand package registry, demand creating it, and the
package, if necessary.
|
EStructuralFeature |
getAffiliation(EClass eClass,
EStructuralFeature eStructuralFeature)
Returns a structural feature within the given class that is or is associated with the given structural feature.
|
EStructuralFeature |
getAffiliation(EStructuralFeature eStructuralFeature)
Returns the substitution group affiliation for the given structural feature, that is, the feature corresponding to
the head element of the substitution group to which the element corresponding to the given feature belongs.
|
java.util.List<EStructuralFeature> |
getAllAttributes(EClass eClass)
Returns all the structural features of the given class, and its super classes, corresponding to XML attributes
and attribute wildcards.
|
java.util.List<EStructuralFeature> |
getAllElements(EClass eClass)
Returns all the structural features of the given class, and its super classes, corresponding to elements, element
wildards, and model groups.
|
protected EAnnotation |
getAnnotation(EModelElement eModelElement,
boolean demandCreate) |
EStructuralFeature |
getAttribute(EClass eClass,
java.lang.String namespace,
java.lang.String name)
Returns a structural feature within a class, corresponding to a local attribute with the given namespace and name,
or, failing that, a document root feature corresponding to a global attribute with the given namespace and name
that is
affiliated with a feature in the class. |
EStructuralFeature |
getAttribute(java.lang.String namespace,
java.lang.String name)
Returns the structural feature with the given XML name that corresponds to a global attribute within the package
with the given namespace.
|
java.util.List<EStructuralFeature> |
getAttributes(EClass eClass)
Returns the structural features of the given class corresponding to XML attributes and attribute wildcards.
|
EStructuralFeature |
getAttributeWildcardAffiliation(EClass eClass,
java.lang.String namespace,
java.lang.String name)
Returns a wildcard feature in the given class that allows allows attribute values from the given namespace.
|
EDataType |
getBaseType(EDataType eDataType)
If a data type corresponds to simple type that derives from another by restriction, returns the data type
corresponding to the base type.
|
int |
getContentKind(EClass eClass)
Returns the kind of XML content of the type corresponding to the given class.
|
int |
getDerivationKind(EDataType eDataType)
Returns the derivation kind of the simple type corresponding to the given data type.
|
EClass |
getDocumentRoot(EPackage ePackage)
Returns the class corresponding to the document root in the given package.
|
protected EClassifier |
getEClassifier(EPackage ePackage,
java.lang.String type) |
EStructuralFeature |
getElement(EClass eClass,
java.lang.String namespace,
java.lang.String name)
Returns a structural feature within a class, corresponding to a local element with the given namespace and name,
or, failing that, a document root feature corresponding to a global element with the given namespace and name
that is
affiliated with a feature in the class. |
EStructuralFeature |
getElement(java.lang.String namespace,
java.lang.String name)
Returns the structural feature with the given XML name that corresponds to a global element within the package
with the given namespace.
|
java.util.List<EStructuralFeature> |
getElements(EClass eClass)
Returns the structural features of the given class corresponding to elements, element wildcards, and model groups.
|
EStructuralFeature |
getElementWildcardAffiliation(EClass eClass,
java.lang.String namespace,
java.lang.String name)
Returns a wildcard feature in the given class that allows allows element values from the given namespace.
|
static java.lang.String |
getEncodedWildcards(java.lang.String namespace,
java.util.List<java.lang.String> wildcards) |
java.util.List<java.lang.String> |
getEnumerationFacet(EDataType eDataType)
Returns the enumeration constraint on the given data type.
|
protected BasicExtendedMetaData.EClassifierExtendedMetaData |
getExtendedMetaData(EClassifier eClassifier) |
protected BasicExtendedMetaData.EPackageExtendedMetaData |
getExtendedMetaData(EPackage ePackage) |
protected BasicExtendedMetaData.EStructuralFeatureExtendedMetaData |
getExtendedMetaData(EStructuralFeature eStructuralFeature) |
int |
getFeatureKind(EStructuralFeature eStructuralFeature)
Returns the kind of XML structure that should be used to represent the given structural feature.
|
int |
getFractionDigitsFacet(EDataType eDataType)
Returns the fraction digits constraint on the given data type.
|
EStructuralFeature |
getGroup(EStructuralFeature eStructuralFeature)
Returns the feature representing the model group feature, substitution group head feature, or wildcard feature to which the implementation
of the given feature is delegated.
|
EDataType |
getItemType(EDataType eDataType)
If a data type corresponds to a list type, returns the data type corresponding to its item type.
|
int |
getLengthFacet(EDataType eDataType)
Returns the length constraint on the given data type.
|
EStructuralFeature |
getLocalAttribute(EClass eClass,
java.lang.String namespace,
java.lang.String name) |
protected EStructuralFeature |
getLocalElement(EClass eClass,
java.lang.String namespace,
java.lang.String name) |
java.lang.String |
getMaxExclusiveFacet(EDataType eDataType)
Returns the maximum (exclusive) constraint on the given data type.
|
java.lang.String |
getMaxInclusiveFacet(EDataType eDataType)
Returns the maximum (inclusive) constraint on the given data type.
|
int |
getMaxLengthFacet(EDataType eDataType)
Returns the maximum length constraint on the given data type.
|
java.util.List<EDataType> |
getMemberTypes(EDataType eDataType)
If a data type corresponds to a union type, returns the data types corresponding to its member types.
|
java.lang.String |
getMinExclusiveFacet(EDataType eDataType)
Returns the minimum (exclusive) constraint on the given data type.
|
java.lang.String |
getMinInclusiveFacet(EDataType eDataType)
Returns the minimum (inclusive) constraint on the given data type.
|
int |
getMinLengthFacet(EDataType eDataType)
Returns the minumum length constraint on the given data type.
|
EAttribute |
getMixedFeature(EClass eClass)
If the given class represents mixed content, returns the wildcard element feature used to store its content.
|
java.lang.String |
getName(EClassifier eClassifier)
Returns the XML name for a classifier.
|
java.lang.String |
getName(EStructuralFeature eStructuralFeature)
Returns the XML name for a structural feature.
|
java.lang.String |
getNamespace(EClassifier eClassifier)
Returns the namespace to use for instances of the given classifier, the same namespace as for the package that
contains it.
|
java.lang.String |
getNamespace(EPackage ePackage)
Returns the namespace to use for model instance serializations of the specified package.
|
java.lang.String |
getNamespace(EStructuralFeature eStructuralFeature)
Returns the namespace associated with the specified structural feature.
|
EPackage |
getPackage(java.lang.String namespace)
Retrieves the package with the specified namespace URI from the package registry associated with this instance.
|
protected java.lang.String |
getPackageNamespace(EStructuralFeature eStructuralFeature) |
java.util.List<java.lang.String> |
getPatternFacet(EDataType eDataType)
Returns the pattern constraint on the given data type.
|
int |
getProcessingKind(EStructuralFeature eStructuralFeature)
Returns the kind of contents processing to be used for a structural feature corresponding to an any wildcard.
|
protected java.lang.String |
getQualifiedName(java.lang.String defaultNamespace,
EClassifier eClassifier) |
protected java.lang.String |
getQualifiedName(java.lang.String defaultNamespace,
EStructuralFeature eStructuralFeature) |
EStructuralFeature |
getSimpleFeature(EClass eClass)
If the given class represents simple content, returns the simple feature used to store its content.
|
int |
getTotalDigitsFacet(EDataType eDataType)
Returns the total digits constraint on the given data type.
|
EClassifier |
getType(EPackage ePackage,
java.lang.String name)
Returns the classifier with the given XML name within the given package.
|
EClassifier |
getType(java.lang.String namespace,
java.lang.String name)
Returns the classifier with the given XML name within the package with the given namespace.
|
int |
getWhiteSpaceFacet(EDataType eDataType)
Returns the white space constraint on the given data type.
|
java.util.List<java.lang.String> |
getWildcards(EStructuralFeature eStructuralFeature)
Returns the allowable namespace patterns for a structural feature corresponding to an any or anyAttribute wildcard.
|
EReference |
getXMLNSPrefixMapFeature(EClass eClass)
If the given class has mixed content type, returns the "xmlns:prefix" feature, which is used to store namespace
prefix-to-URI mappings.
|
EReference |
getXSISchemaLocationMapFeature(EClass eClass)
If the given class has mixed content type, returns the "xsi:schemaLocation" feature, which is used to store
namespace URI-schema location pairs.
|
boolean |
isAnonymous(EClassifier eClassifier)
Returns whether the given classifier's XML name contains "_._", which is used to indicate an anonymous type
declaration.
|
boolean |
isDocumentRoot(EClass eClass)
Returns whether the given class is a document root, i.e., whether it has an empty string as its XML Name.
|
protected boolean |
isFeatureKindSpecific() |
protected boolean |
isFeatureNamespaceMatchingLax() |
boolean |
isQualified(EPackage ePackage)
Returns whether model instance serializations of the specified package should use namespace qualification.
|
boolean |
matches(java.util.List<java.lang.String> wildcards,
java.lang.String namespace)
Tests whether any of a list of wildcards matches a given namespace.
|
boolean |
matches(java.lang.String wildcard,
java.lang.String namespace)
Tests whether a wildcard matches a given namespace.
|
void |
putPackage(java.lang.String namespace,
EPackage ePackage)
Adds the package to the package registry associated with this instance, keyed by the given namespace URI.
|
void |
setAffiliation(EStructuralFeature eStructuralFeature,
EStructuralFeature affiliation)
Sets the substitution group affiliation for the given structural feature.
|
void |
setBaseType(EDataType eDataType,
EDataType baseType)
Sets the base type for a data type, indicating that the data type corresponds to a simple type that derives from
another by restriction.
|
void |
setContentKind(EClass eClass,
int kind)
Sets the kind of XML content of the type corresponding to the given class.
|
void |
setDocumentRoot(EClass eClass)
Sets the specified class to be a document root.
|
void |
setEnumerationFacet(EDataType eDataType,
java.util.List<java.lang.String> literals)
Sets the enumeration constraint on the given data type.
|
void |
setFeatureKind(EStructuralFeature eStructuralFeature,
int kind)
Sets the kind of XML structure that should be used to represent the given structural feature.
|
void |
setFractionDigitsFacet(EDataType eDataType,
int digits)
Sets the fraction digits constraint on the given data type.
|
void |
setGroup(EStructuralFeature eStructuralFeature,
EStructuralFeature group)
Sets a model group feature, substitution group head feature, or wildcard feature, to which the implementation of the given feature should be
delegated.
|
void |
setItemType(EDataType eDataType,
EDataType itemType)
Sets the item type for a data type, indicating that the data type corresponds to a list type.
|
void |
setLengthFacet(EDataType eDataType,
int length)
Sets the length constraint on the given data type.
|
void |
setMaxExclusiveFacet(EDataType eDataType,
java.lang.String literal)
Sets the maximum (exclusive) constraint on the given data type.
|
void |
setMaxInclusiveFacet(EDataType eDataType,
java.lang.String literal)
Sets the maximum (inclusive) constraint on the given data type.
|
void |
setMaxLengthFacet(EDataType eDataType,
int length)
Sets the maximum length constraint on the given data type.
|
void |
setMemberTypes(EDataType eDataType,
java.util.List<EDataType> memberTypes)
Sets the member types for a data type, indicating that the data type corresponds to a union type.
|
void |
setMinExclusiveFacet(EDataType eDataType,
java.lang.String literal)
Sets the minimum (exclusive) constraint on the given data type.
|
void |
setMinInclusiveFacet(EDataType eDataType,
java.lang.String literal)
Sets the minimum (inclusive) constraint on the given data type.
|
void |
setMinLengthFacet(EDataType eDataType,
int length)
Sets the minimum length constraint on the given data type.
|
void |
setName(EClassifier eClassifier,
java.lang.String name)
Sets the XML name for a classifier.
|
void |
setName(EStructuralFeature eStructuralFeature,
java.lang.String name)
Set the XML name for a structural feature.
|
void |
setNamespace(EStructuralFeature eStructuralFeature,
java.lang.String namespace)
Sets the namespace associated with the specified structural feature.
|
void |
setPatternFacet(EDataType eDataType,
java.util.List<java.lang.String> pattern)
Sets the pattern constraint on the given data type.
|
void |
setProcessingKind(EStructuralFeature eStructuralFeature,
int kind)
Sets the kind of contents processing to be used for a structural feature corresponding to an any wildcard.
|
void |
setQualified(EPackage ePackage,
boolean isQualified)
Sets whether model instance serializations of the specified package should use namespace qualification.
|
void |
setTotalDigitsFacet(EDataType eDataType,
int digits)
Sets the total digits constraint on the given data type.
|
void |
setWhiteSpaceFacet(EDataType eDataType,
int whiteSpace)
Sets the white space constraint on the given data type.
|
void |
setWildcards(EStructuralFeature eStructuralFeature,
java.util.List<java.lang.String> wildcards)
Sets the allowable namespace patterns for a structural feature corresponding to an any or anyAttribute wildcard.
|
protected java.lang.String annotationURI
protected EPackage.Registry registry
protected EPackage.Registry demandRegistry
protected java.util.Map<EModelElement,java.lang.Object> extendedMetaDataHolderCache
protected java.util.Map<EModelElement,EAnnotation> annotationMap
protected static final java.lang.String UNINITIALIZED_STRING
protected static final int UNINITIALIZED_INT
protected static final EDataType UNINITIALIZED_EDATA_TYPE
protected static final EStructuralFeature UNINITIALIZED_ESTRUCTURAL_FEATURE
public BasicExtendedMetaData()
public BasicExtendedMetaData(EPackage.Registry registry)
public BasicExtendedMetaData(java.lang.String annotationURI,
EPackage.Registry registry)
public BasicExtendedMetaData(java.lang.String annotationURI,
EPackage.Registry registry,
java.util.Map<EModelElement,EAnnotation> annotationMap)
protected EAnnotation getAnnotation(EModelElement eModelElement, boolean demandCreate)
public EClassifier getType(EPackage ePackage, java.lang.String name)
ExtendedMetaDatagetType in interface ExtendedMetaDatapublic EPackage getPackage(java.lang.String namespace)
ExtendedMetaDatagetPackage in interface ExtendedMetaDatapublic void putPackage(java.lang.String namespace,
EPackage ePackage)
ExtendedMetaDataputPackage in interface ExtendedMetaDatapublic EClass getDocumentRoot(EPackage ePackage)
ExtendedMetaDatagetDocumentRoot in interface ExtendedMetaDatapublic void setDocumentRoot(EClass eClass)
ExtendedMetaDatasetDocumentRoot in interface ExtendedMetaDatapublic boolean isDocumentRoot(EClass eClass)
ExtendedMetaDataisDocumentRoot in interface ExtendedMetaDatapublic EReference getXMLNSPrefixMapFeature(EClass eClass)
ExtendedMetaDatagetXMLNSPrefixMapFeature in interface ExtendedMetaDatapublic EReference getXSISchemaLocationMapFeature(EClass eClass)
ExtendedMetaDatagetXSISchemaLocationMapFeature in interface ExtendedMetaDatapublic boolean isQualified(EPackage ePackage)
ExtendedMetaDatadetails key: "qualified"
isQualified in interface ExtendedMetaDataprotected boolean basicIsQualified(EPackage ePackage)
public void setQualified(EPackage ePackage, boolean isQualified)
ExtendedMetaDatadetails key: "qualified"
setQualified in interface ExtendedMetaDatapublic java.lang.String getNamespace(EPackage ePackage)
ExtendedMetaDatadetails key: "namespace"
getNamespace in interface ExtendedMetaDatapublic java.lang.String getNamespace(EClassifier eClassifier)
ExtendedMetaDatagetNamespace in interface ExtendedMetaDatapublic java.lang.String getNamespace(EStructuralFeature eStructuralFeature)
ExtendedMetaDatagetNamespace in interface ExtendedMetaDataprotected java.lang.String getPackageNamespace(EStructuralFeature eStructuralFeature)
public java.lang.String basicGetNamespace(EStructuralFeature eStructuralFeature)
public void setNamespace(EStructuralFeature eStructuralFeature, java.lang.String namespace)
ExtendedMetaDatasetNamespace in interface ExtendedMetaDatapublic java.lang.String getName(EClassifier eClassifier)
ExtendedMetaDatadetails key: "name"
getName in interface ExtendedMetaDataprotected java.lang.String basicGetName(EClassifier eClassifier)
public void setName(EClassifier eClassifier, java.lang.String name)
ExtendedMetaDatadetails key: "name"
setName in interface ExtendedMetaDatapublic boolean isAnonymous(EClassifier eClassifier)
ExtendedMetaDataisAnonymous in interface ExtendedMetaDatapublic java.lang.String getName(EStructuralFeature eStructuralFeature)
ExtendedMetaDatadetails key: "name"
getName in interface ExtendedMetaDataprotected java.lang.String basicGetName(EStructuralFeature eStructuralFeature)
public void setName(EStructuralFeature eStructuralFeature, java.lang.String name)
ExtendedMetaDatadetails key: "name"
setName in interface ExtendedMetaDataprotected java.lang.String getQualifiedName(java.lang.String defaultNamespace,
EClassifier eClassifier)
protected java.lang.String getQualifiedName(java.lang.String defaultNamespace,
EStructuralFeature eStructuralFeature)
public EClassifier getType(java.lang.String namespace, java.lang.String name)
ExtendedMetaDatagetType in interface ExtendedMetaDatapublic EStructuralFeature getAttribute(java.lang.String namespace, java.lang.String name)
ExtendedMetaDatagetAttribute in interface ExtendedMetaDatapublic EStructuralFeature getElement(java.lang.String namespace, java.lang.String name)
ExtendedMetaDatagetElement in interface ExtendedMetaDatapublic int getFeatureKind(EStructuralFeature eStructuralFeature)
ExtendedMetaDatadetails key: "kind"
getFeatureKind in interface ExtendedMetaDataExtendedMetaData.UNSPECIFIED_FEATURE,
ExtendedMetaData.SIMPLE_FEATURE,
ExtendedMetaData.ATTRIBUTE_FEATURE,
ExtendedMetaData.ATTRIBUTE_WILDCARD_FEATURE,
ExtendedMetaData.ELEMENT_FEATURE,
ExtendedMetaData.ELEMENT_WILDCARD_FEATURE,
ExtendedMetaData.GROUP_FEATUREprotected int basicGetFeatureKind(EStructuralFeature eStructuralFeature)
public void setFeatureKind(EStructuralFeature eStructuralFeature, int kind)
ExtendedMetaDatadetails key: "kind"
setFeatureKind in interface ExtendedMetaDataExtendedMetaData.UNSPECIFIED_FEATURE,
ExtendedMetaData.SIMPLE_FEATURE,
ExtendedMetaData.ATTRIBUTE_FEATURE,
ExtendedMetaData.ATTRIBUTE_WILDCARD_FEATURE,
ExtendedMetaData.ELEMENT_FEATURE,
ExtendedMetaData.ELEMENT_WILDCARD_FEATURE,
ExtendedMetaData.GROUP_FEATUREpublic int getContentKind(EClass eClass)
ExtendedMetaDatadetails key: "kind"
protected int basicGetContentKind(EClass eClass)
public void setContentKind(EClass eClass, int kind)
ExtendedMetaDatadetails key: "kind"
public int getDerivationKind(EDataType eDataType)
ExtendedMetaDatagetDerivationKind in interface ExtendedMetaDataExtendedMetaData.UNSPECIFIED_DERIVATION,
ExtendedMetaData.RESTRICTION_DERIVATION,
ExtendedMetaData.LIST_DERIVATION,
ExtendedMetaData.UNION_DERIVATIONprotected int basicGetDerivationKind(EClassifier eClassifier)
public EDataType getBaseType(EDataType eDataType)
ExtendedMetaDatadetails key: "baseType"
getBaseType in interface ExtendedMetaDataprotected EClassifier getEClassifier(EPackage ePackage, java.lang.String type)
public void setBaseType(EDataType eDataType, EDataType baseType)
ExtendedMetaDatadetails key: "baseType"
setBaseType in interface ExtendedMetaDatapublic EDataType getItemType(EDataType eDataType)
ExtendedMetaDatadetails key: "itemType"
getItemType in interface ExtendedMetaDatapublic void setItemType(EDataType eDataType, EDataType itemType)
ExtendedMetaDatadetails key: "itemType"
setItemType in interface ExtendedMetaDatapublic java.util.List<EDataType> getMemberTypes(EDataType eDataType)
ExtendedMetaDatadetails key: "memberTypes"
getMemberTypes in interface ExtendedMetaDatapublic void setMemberTypes(EDataType eDataType, java.util.List<EDataType> memberTypes)
ExtendedMetaDatadetails key: "memberTypes"
setMemberTypes in interface ExtendedMetaDataprotected boolean isFeatureKindSpecific()
protected boolean isFeatureNamespaceMatchingLax()
public EStructuralFeature getLocalAttribute(EClass eClass, java.lang.String namespace, java.lang.String name)
public EStructuralFeature getAttribute(EClass eClass, java.lang.String namespace, java.lang.String name)
ExtendedMetaDataaffiliated with a feature in the class.getAttribute in interface ExtendedMetaDataprotected EStructuralFeature getLocalElement(EClass eClass, java.lang.String namespace, java.lang.String name)
public EStructuralFeature getElement(EClass eClass, java.lang.String namespace, java.lang.String name)
ExtendedMetaDataaffiliated with a feature in the class.getElement in interface ExtendedMetaDatapublic java.util.List<EStructuralFeature> getAllAttributes(EClass eClass)
ExtendedMetaDatagetAllAttributes in interface ExtendedMetaDatapublic java.util.List<EStructuralFeature> getAllElements(EClass eClass)
ExtendedMetaDatagetAllElements in interface ExtendedMetaDatapublic java.util.List<EStructuralFeature> getAttributes(EClass eClass)
ExtendedMetaDatagetAttributes in interface ExtendedMetaDatapublic java.util.List<EStructuralFeature> getElements(EClass eClass)
ExtendedMetaDatagetElements in interface ExtendedMetaDatapublic EStructuralFeature getSimpleFeature(EClass eClass)
ExtendedMetaDatagetSimpleFeature in interface ExtendedMetaDatapublic EAttribute getMixedFeature(EClass eClass)
ExtendedMetaDatagetMixedFeature in interface ExtendedMetaDatapublic java.util.List<java.lang.String> getWildcards(EStructuralFeature eStructuralFeature)
ExtendedMetaDatadetails key: "wildcards"
getWildcards in interface ExtendedMetaDataprotected java.util.List<java.lang.String> basicGetWildcards(EStructuralFeature eStructuralFeature)
public void setWildcards(EStructuralFeature eStructuralFeature, java.util.List<java.lang.String> wildcards)
ExtendedMetaDatadetails key: "wildcards"
setWildcards in interface ExtendedMetaDatapublic static java.lang.String getEncodedWildcards(java.lang.String namespace,
java.util.List<java.lang.String> wildcards)
public int getProcessingKind(EStructuralFeature eStructuralFeature)
ExtendedMetaDatadetails key: "processing"
getProcessingKind in interface ExtendedMetaDataExtendedMetaData.UNSPECIFIED_PROCESSING,
ExtendedMetaData.STRICT_PROCESSING,
ExtendedMetaData.LAX_PROCESSING,
ExtendedMetaData.SKIP_PROCESSINGprotected int basicGetProcessingKind(EStructuralFeature eStructuralFeature)
public void setProcessingKind(EStructuralFeature eStructuralFeature, int kind)
ExtendedMetaDatadetails key: "processing"
setProcessingKind in interface ExtendedMetaDataExtendedMetaData.UNSPECIFIED_PROCESSING,
ExtendedMetaData.STRICT_PROCESSING,
ExtendedMetaData.LAX_PROCESSING,
ExtendedMetaData.SKIP_PROCESSINGpublic EStructuralFeature getGroup(EStructuralFeature eStructuralFeature)
ExtendedMetaDatadetails key: "group"
getGroup in interface ExtendedMetaDataprotected EStructuralFeature basicGetGroup(EStructuralFeature eStructuralFeature)
public void setGroup(EStructuralFeature eStructuralFeature, EStructuralFeature group)
ExtendedMetaDatadetails key: "group"
setGroup in interface ExtendedMetaDatapublic EStructuralFeature getAffiliation(EStructuralFeature eStructuralFeature)
ExtendedMetaDatadetails key: "affiliation"
getAffiliation in interface ExtendedMetaDataprotected EStructuralFeature basicGetAffiliation(EStructuralFeature eStructuralFeature)
public void setAffiliation(EStructuralFeature eStructuralFeature, EStructuralFeature affiliation)
ExtendedMetaDatadetails key: "affiliation"
setAffiliation in interface ExtendedMetaDatapublic EStructuralFeature getAffiliation(EClass eClass, EStructuralFeature eStructuralFeature)
ExtendedMetaDatagetAffiliation in interface ExtendedMetaDatapublic EStructuralFeature getAttributeWildcardAffiliation(EClass eClass, java.lang.String namespace, java.lang.String name)
ExtendedMetaDatagetAttributeWildcardAffiliation in interface ExtendedMetaDatapublic EStructuralFeature getElementWildcardAffiliation(EClass eClass, java.lang.String namespace, java.lang.String name)
ExtendedMetaDatagetElementWildcardAffiliation in interface ExtendedMetaDatapublic boolean matches(java.util.List<java.lang.String> wildcards,
java.lang.String namespace)
ExtendedMetaDatamatches in interface ExtendedMetaDatapublic boolean matches(java.lang.String wildcard,
java.lang.String namespace)
ExtendedMetaDatamatches in interface ExtendedMetaDatapublic int getWhiteSpaceFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "whiteSpace"
protected int basicGetWhiteSpaceFacet(EDataType eDataType)
public void setWhiteSpaceFacet(EDataType eDataType, int whiteSpace)
ExtendedMetaDatadetails key: "whiteSpace"
public java.util.List<java.lang.String> getEnumerationFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "enumeration"
getEnumerationFacet in interface ExtendedMetaDataprotected java.util.List<java.lang.String> basicGetEnumerationFacet(EDataType eDataType)
public void setEnumerationFacet(EDataType eDataType, java.util.List<java.lang.String> literals)
ExtendedMetaDatadetails key: "enumeration"
setEnumerationFacet in interface ExtendedMetaDatapublic java.util.List<java.lang.String> getPatternFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "pattern"
getPatternFacet in interface ExtendedMetaDataprotected java.util.List<java.lang.String> basicGetPatternFacet(EDataType eDataType)
public void setPatternFacet(EDataType eDataType, java.util.List<java.lang.String> pattern)
ExtendedMetaDatadetails key: "pattern"
setPatternFacet in interface ExtendedMetaDatapublic int getTotalDigitsFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "totalDigits"
getTotalDigitsFacet in interface ExtendedMetaDataprotected int basicGetTotalDigitsFacet(EDataType eDataType)
public void setTotalDigitsFacet(EDataType eDataType, int digits)
ExtendedMetaDatadetails key: "totalDigits"
setTotalDigitsFacet in interface ExtendedMetaDatapublic int getFractionDigitsFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "fractionDigits"
getFractionDigitsFacet in interface ExtendedMetaDataprotected int basicGetFractionDigitsFacet(EDataType eDataType)
public void setFractionDigitsFacet(EDataType eDataType, int digits)
ExtendedMetaDatadetails key: "fractionDigits"
setFractionDigitsFacet in interface ExtendedMetaDatapublic int getLengthFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "length"
getLengthFacet in interface ExtendedMetaDataprotected int basicGetLengthFacet(EDataType eDataType)
public void setLengthFacet(EDataType eDataType, int length)
ExtendedMetaDatadetails key: "length"
setLengthFacet in interface ExtendedMetaDatapublic int getMinLengthFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "minLength"
getMinLengthFacet in interface ExtendedMetaDataprotected int basicGetMinLengthFacet(EDataType eDataType)
public void setMinLengthFacet(EDataType eDataType, int length)
ExtendedMetaDatadetails key: "minLength"
setMinLengthFacet in interface ExtendedMetaDatapublic int getMaxLengthFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "maxLength"
getMaxLengthFacet in interface ExtendedMetaDataprotected int basicGetMaxLengthFacet(EDataType eDataType)
public void setMaxLengthFacet(EDataType eDataType, int length)
ExtendedMetaDatadetails key: "maxLength"
setMaxLengthFacet in interface ExtendedMetaDatapublic java.lang.String getMinExclusiveFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "minExclusive"
getMinExclusiveFacet in interface ExtendedMetaDataprotected java.lang.String basicGetMinExclusiveFacet(EDataType eDataType)
public void setMinExclusiveFacet(EDataType eDataType, java.lang.String literal)
ExtendedMetaDatadetails key: "minExclusive"
setMinExclusiveFacet in interface ExtendedMetaDatapublic java.lang.String getMaxExclusiveFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "maxExclusive"
getMaxExclusiveFacet in interface ExtendedMetaDataprotected java.lang.String basicGetMaxExclusiveFacet(EDataType eDataType)
public void setMaxExclusiveFacet(EDataType eDataType, java.lang.String literal)
ExtendedMetaDatadetails key: "maxExclusive"
setMaxExclusiveFacet in interface ExtendedMetaDatapublic java.lang.String getMinInclusiveFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "minInclusive"
getMinInclusiveFacet in interface ExtendedMetaDataprotected java.lang.String basicGetMinInclusiveFacet(EDataType eDataType)
public void setMinInclusiveFacet(EDataType eDataType, java.lang.String literal)
ExtendedMetaDatadetails key: "minInclusive"
setMinInclusiveFacet in interface ExtendedMetaDatapublic java.lang.String getMaxInclusiveFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "maxInclusive"
getMaxInclusiveFacet in interface ExtendedMetaDataprotected java.lang.String basicGetMaxInclusiveFacet(EDataType eDataType)
public void setMaxInclusiveFacet(EDataType eDataType, java.lang.String literal)
ExtendedMetaDatadetails key: "maxInclusive"
setMaxInclusiveFacet in interface ExtendedMetaDatapublic EPackage demandPackage(java.lang.String namespace)
ExtendedMetaDatademandPackage in interface ExtendedMetaDataprotected java.lang.String computePrefix(java.lang.String namespace)
public EClassifier demandType(java.lang.String namespace, java.lang.String name)
ExtendedMetaDatademandType in interface ExtendedMetaDatapublic EStructuralFeature demandFeature(java.lang.String namespace, java.lang.String name, boolean isElement)
ExtendedMetaDatademandFeature in interface ExtendedMetaDatapublic EStructuralFeature demandFeature(java.lang.String namespace, java.lang.String name, boolean isElement, boolean isReference)
ExtendedMetaDatademandFeature in interface ExtendedMetaDatapublic java.util.Collection<EPackage> demandedPackages()
ExtendedMetaDatademandedPackages in interface ExtendedMetaDataprotected BasicExtendedMetaData.EPackageExtendedMetaData getExtendedMetaData(EPackage ePackage)
protected BasicExtendedMetaData.EPackageExtendedMetaData createEPackageExtendedMetaData(EPackage ePackage)
protected BasicExtendedMetaData.EClassifierExtendedMetaData getExtendedMetaData(EClassifier eClassifier)
protected BasicExtendedMetaData.EClassifierExtendedMetaData createEClassifierExtendedMetaData(EClassifier eClassifier)
protected BasicExtendedMetaData.EStructuralFeatureExtendedMetaData getExtendedMetaData(EStructuralFeature eStructuralFeature)
protected BasicExtendedMetaData.EStructuralFeatureExtendedMetaData createEStructuralFeatureExtendedMetaData(EStructuralFeature eStructuralFeature)
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature