|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.ecore.util.BasicExtendedMetaData
This is a basic implementation of the extended metadata API.
| Nested Class Summary | |
class |
BasicExtendedMetaData.EClassExtendedMetaDataImpl
|
static interface |
BasicExtendedMetaData.EClassifierExtendedMetaData
|
class |
BasicExtendedMetaData.EDataTypeExtendedMetaDataImpl
|
static interface |
BasicExtendedMetaData.EPackageExtendedMetaData
|
class |
BasicExtendedMetaData.EPackageExtendedMetaDataImpl
|
static interface |
BasicExtendedMetaData.EStructuralFeatureExtendedMetaData
|
class |
BasicExtendedMetaData.EStructuralFeatureExtendedMetaDataImpl
|
| Field Summary | |
protected Map |
annotationMap
|
protected String |
annotationURI
|
protected EPackage.Registry |
demandRegistry
|
protected Map |
extendedMetaDataHolderCache
|
protected EPackage.Registry |
registry
|
protected static EDataType |
UNINITIALIZED_EDATA_TYPE
|
protected static EStructuralFeature |
UNINITIALIZED_ESTRUCTURAL_FEATURE
|
protected static int |
UNINITIALIZED_INT
|
protected static String |
UNINITIALIZED_STRING
|
| Constructor Summary | |
BasicExtendedMetaData()
|
|
BasicExtendedMetaData(EPackage.Registry registry)
|
|
BasicExtendedMetaData(String annotationURI,
EPackage.Registry registry)
|
|
BasicExtendedMetaData(String annotationURI,
EPackage.Registry registry,
Map annotationMap)
|
|
| Method Summary | |
protected EStructuralFeature |
basicGetAffiliation(EStructuralFeature eStructuralFeature)
|
EDataType |
basicGetBaseType(EDataType eDataType)
|
protected int |
basicGetContentKind(EClass eClass)
|
protected int |
basicGetDerivationKind(EClassifier eClassifier)
|
protected List |
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 String |
basicGetMaxExclusiveFacet(EDataType eDataType)
|
protected String |
basicGetMaxInclusiveFacet(EDataType eDataType)
|
protected int |
basicGetMaxLengthFacet(EDataType eDataType)
|
protected List |
basicGetMemberTypes(EDataType eDataType)
|
protected String |
basicGetMinExclusiveFacet(EDataType eDataType)
|
protected String |
basicGetMinInclusiveFacet(EDataType eDataType)
|
protected int |
basicGetMinLengthFacet(EDataType eDataType)
|
protected String |
basicGetName(EClassifier eClassifier)
|
protected String |
basicGetName(EStructuralFeature eStructuralFeature)
|
String |
basicGetNamespace(EStructuralFeature eStructuralFeature)
|
protected List |
basicGetPatternFacet(EDataType eDataType)
|
protected int |
basicGetProcessingKind(EStructuralFeature eStructuralFeature)
|
protected int |
basicGetTotalDigitsFacet(EDataType eDataType)
|
protected int |
basicGetWhiteSpaceFacet(EDataType eDataType)
|
protected List |
basicGetWildcards(EStructuralFeature eStructuralFeature)
|
protected boolean |
basicIsQualified(EPackage ePackage)
|
protected String |
computePrefix(String namespace)
|
protected BasicExtendedMetaData.EClassifierExtendedMetaData |
createEClassifierExtendedMetaData(EClassifier eClassifier)
|
protected BasicExtendedMetaData.EPackageExtendedMetaData |
createEPackageExtendedMetaData(EPackage ePackage)
|
protected BasicExtendedMetaData.EStructuralFeatureExtendedMetaData |
createEStructuralFeatureExtendedMetaData(EStructuralFeature eStructuralFeature)
|
Collection |
demandedPackages()
Returns the instance's collection of demand-created packages. |
EStructuralFeature |
demandFeature(String namespace,
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(String namespace,
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(String namespace)
Returns a package from the demand package registry, creating it (with a document root class) if necessary. |
EClassifier |
demandType(String namespace,
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. |
List |
getAllAttributes(EClass eClass)
Returns all the structural features of the given class, and its superclasses, corresponding to XML attributes and attribute wildcards. |
List |
getAllElements(EClass eClass)
Returns all the structural features of the given class, and its superclasses, corresponding to elements, element wildards, and model groups. |
protected EAnnotation |
getAnnotation(EModelElement eModelElement,
boolean demandCreate)
|
EStructuralFeature |
getAttribute(EClass eClass,
String namespace,
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(String namespace,
String name)
Returns the structural feature with the given XML name that corresponds to a global attribute within the package with the given namespace. |
List |
getAttributes(EClass eClass)
Returns the structural features of the given class corresponding to XML attributes and attribute wildcards. |
EStructuralFeature |
getAttributeWildcardAffiliation(EClass eClass,
String namespace,
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 datatype corresponds to simple type that derives from another by restriction, returns the datatype 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 datatype. |
EClass |
getDocumentRoot(EPackage ePackage)
Returns the class corresponding to the document root in the given package. |
EStructuralFeature |
getElement(EClass eClass,
String namespace,
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(String namespace,
String name)
Returns the structural feature with the given XML name that corresponds to a global element within the package with the given namespace. |
List |
getElements(EClass eClass)
Returns the structural features of the given class corresponding to elements, element wildcards, and model groups. |
EStructuralFeature |
getElementWildcardAffiliation(EClass eClass,
String namespace,
String name)
Returns a wildcard feature in the given class that allows allows element values from the given namespace. |
static String |
getEncodedWildcards(String namespace,
List wildcards)
|
List |
getEnumerationFacet(EDataType eDataType)
Returns the enumeration constraint on the given datatype. |
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 datatype. |
EStructuralFeature |
getGroup(EStructuralFeature eStructuralFeature)
Returns the feature respresenting the model group or subtitution group head feature to which the implementation of the given feature is delegated. |
EDataType |
getItemType(EDataType eDataType)
If a datatype corresponds to a list type, returns the datatype corresponding to its item type. |
int |
getLengthFacet(EDataType eDataType)
Returns the length constraint on the given datatype. |
EStructuralFeature |
getLocalAttribute(EClass eClass,
String namespace,
String name)
|
protected EStructuralFeature |
getLocalElement(EClass eClass,
String namespace,
String name)
|
String |
getMaxExclusiveFacet(EDataType eDataType)
Returns the maximum (exclusive) constraint on the given datatype. |
String |
getMaxInclusiveFacet(EDataType eDataType)
Returns the maximum (inclusive) constraint on the given datatype. |
int |
getMaxLengthFacet(EDataType eDataType)
Returns the maximum length constraint on the given datatype. |
List |
getMemberTypes(EDataType eDataType)
If a datatype corresponds to a union type, returns the datatypes corresponding to its member types. |
String |
getMinExclusiveFacet(EDataType eDataType)
Returns the minimum (exclusive) constraint on the given datatype. |
String |
getMinInclusiveFacet(EDataType eDataType)
Returns the minimum (inclusive) constraint on the given datatype. |
int |
getMinLengthFacet(EDataType eDataType)
Returns the minumum length constraint on the given datatype. |
EAttribute |
getMixedFeature(EClass eClass)
If the given class represents mixed content, returns the wildcard element feature used to store its content. |
String |
getName(EClassifier eClassifier)
Returns the XML name for a classifier. |
String |
getName(EStructuralFeature eStructuralFeature)
Returns the XML name for a structural feature. |
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. |
String |
getNamespace(EPackage ePackage)
Returns the namespace to use for model instance serializations of the specified package. |
String |
getNamespace(EStructuralFeature eStructuralFeature)
Returns the namespace associated with the specified structural feature. |
EPackage |
getPackage(String namespace)
Retrieves the package with the specified namespace URI from the package registry associated with this instance. |
List |
getPatternFacet(EDataType eDataType)
Returns the pattern constraint on the given datatype. |
int |
getProcessingKind(EStructuralFeature eStructuralFeature)
Returns the kind of contents processing to be used for a structural feature corresponding to an any wildcard. |
protected String |
getQualifiedName(String defaultNamespace,
EClassifier eClassifier)
|
protected String |
getQualifiedName(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 datatype. |
EClassifier |
getType(EPackage ePackage,
String name)
Returns the classifier with the given XML name within the given package. |
EClassifier |
getType(String namespace,
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 datatype. |
List |
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. |
protected boolean |
isFeatureKindSpecific()
|
boolean |
isQualified(EPackage ePackage)
Returns whether model instance serializations of the specified package should use namespace qualification. |
boolean |
matches(List wildcards,
String namespace)
Tests whether any of a list of wildcards matches a given namespace. |
boolean |
matches(String wildcard,
String namespace)
Tests whether a wildcard matches a given namesapce. |
void |
putPackage(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 datatype, indicating that the datatype 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,
List literals)
Sets the enumeration constraint on the given datatype. |
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 datatype. |
void |
setGroup(EStructuralFeature eStructuralFeature,
EStructuralFeature group)
Sets a group or substitution group head feature, to which the implementation of the given feature should be delegated. |
void |
setItemType(EDataType eDataType,
EDataType itemType)
Sets the item type for a datatype, indicating that the datatype corresponds to a list type. |
void |
setLengthFacet(EDataType eDataType,
int length)
Sets the length constraint on the given datatype. |
void |
setMaxExclusiveFacet(EDataType eDataType,
String literal)
Sets the maximum (exclusive) constraint on the given datatype. |
void |
setMaxInclusiveFacet(EDataType eDataType,
String literal)
Sets the maximum (inclusive) constraint on the given datatype. |
void |
setMaxLengthFacet(EDataType eDataType,
int length)
Sets the maximum length constraint on the given datatype. |
void |
setMemberTypes(EDataType eDataType,
List memberTypes)
Sets the member types for a datatype, indicating that the datatype corresponds to a union type. |
void |
setMinExclusiveFacet(EDataType eDataType,
String literal)
Sets the minimum (exclusive) constraint on the given datatype. |
void |
setMinInclusiveFacet(EDataType eDataType,
String literal)
Sets the minimum (inclusive) constraint on the given datatype. |
void |
setMinLengthFacet(EDataType eDataType,
int length)
Sets the minimum length constraint on the given datatype. |
void |
setName(EClassifier eClassifier,
String name)
Sets the XML name for a classifier. |
void |
setName(EStructuralFeature eStructuralFeature,
String name)
Set the XML name for a structural feature. |
void |
setNamespace(EStructuralFeature eStructuralFeature,
String namespace)
Sets the namespace associated with the specified structural feature. |
void |
setPatternFacet(EDataType eDataType,
List pattern)
Sets the pattern constraint on the given datatype. |
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 datatype. |
void |
setWhiteSpaceFacet(EDataType eDataType,
int whiteSpace)
Sets the white space constraint on the given datatype. |
void |
setWildcards(EStructuralFeature eStructuralFeature,
List wildcards)
Sets the allowable namespace patterns for a structural feature corresponding to an any or anyAttribute wildcard. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String annotationURI
protected EPackage.Registry registry
protected EPackage.Registry demandRegistry
protected Map extendedMetaDataHolderCache
protected Map annotationMap
protected static final String UNINITIALIZED_STRING
protected static final int UNINITIALIZED_INT
protected static final EDataType UNINITIALIZED_EDATA_TYPE
protected static final EStructuralFeature UNINITIALIZED_ESTRUCTURAL_FEATURE
| Constructor Detail |
public BasicExtendedMetaData()
public BasicExtendedMetaData(EPackage.Registry registry)
public BasicExtendedMetaData(String annotationURI,
EPackage.Registry registry)
public BasicExtendedMetaData(String annotationURI,
EPackage.Registry registry,
Map annotationMap)
| Method Detail |
protected EAnnotation getAnnotation(EModelElement eModelElement,
boolean demandCreate)
public EClassifier getType(EPackage ePackage,
String name)
ExtendedMetaData
getType in interface ExtendedMetaDatapublic EPackage getPackage(String namespace)
ExtendedMetaData
getPackage in interface ExtendedMetaData
public void putPackage(String namespace,
EPackage ePackage)
ExtendedMetaData
putPackage in interface ExtendedMetaDatapublic EClass getDocumentRoot(EPackage ePackage)
ExtendedMetaData
getDocumentRoot in interface ExtendedMetaDatapublic void setDocumentRoot(EClass eClass)
ExtendedMetaData
setDocumentRoot in interface ExtendedMetaDatapublic EReference getXMLNSPrefixMapFeature(EClass eClass)
ExtendedMetaData
getXMLNSPrefixMapFeature in interface ExtendedMetaDatapublic EReference getXSISchemaLocationMapFeature(EClass eClass)
ExtendedMetaData
getXSISchemaLocationMapFeature 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 String getNamespace(EPackage ePackage)
ExtendedMetaDatadetails key: "namespace"
getNamespace in interface ExtendedMetaDatapublic String getNamespace(EClassifier eClassifier)
ExtendedMetaData
getNamespace in interface ExtendedMetaDatapublic String getNamespace(EStructuralFeature eStructuralFeature)
ExtendedMetaData
getNamespace in interface ExtendedMetaDatapublic String basicGetNamespace(EStructuralFeature eStructuralFeature)
public void setNamespace(EStructuralFeature eStructuralFeature,
String namespace)
ExtendedMetaData
setNamespace in interface ExtendedMetaDatapublic String getName(EClassifier eClassifier)
ExtendedMetaDatadetails key: "name"
getName in interface ExtendedMetaDataprotected String basicGetName(EClassifier eClassifier)
public void setName(EClassifier eClassifier,
String name)
ExtendedMetaDatadetails key: "name"
setName in interface ExtendedMetaDatapublic boolean isAnonymous(EClassifier eClassifier)
ExtendedMetaData
isAnonymous in interface ExtendedMetaDatapublic String getName(EStructuralFeature eStructuralFeature)
ExtendedMetaDatadetails key: "name"
getName in interface ExtendedMetaDataprotected String basicGetName(EStructuralFeature eStructuralFeature)
public void setName(EStructuralFeature eStructuralFeature,
String name)
ExtendedMetaDatadetails key: "name"
setName in interface ExtendedMetaData
protected String getQualifiedName(String defaultNamespace,
EClassifier eClassifier)
protected String getQualifiedName(String defaultNamespace,
EStructuralFeature eStructuralFeature)
public EClassifier getType(String namespace,
String name)
ExtendedMetaData
getType in interface ExtendedMetaData
public EStructuralFeature getAttribute(String namespace,
String name)
ExtendedMetaData
getAttribute in interface ExtendedMetaData
public EStructuralFeature getElement(String namespace,
String name)
ExtendedMetaData
getElement 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"
getContentKind in interface ExtendedMetaDataExtendedMetaData.UNSPECIFIED_CONTENT,
ExtendedMetaData.EMPTY_CONTENT,
ExtendedMetaData.SIMPLE_CONTENT,
ExtendedMetaData.MIXED_CONTENT,
ExtendedMetaData.ELEMENT_ONLY_CONTENTprotected int basicGetContentKind(EClass eClass)
public void setContentKind(EClass eClass,
int kind)
ExtendedMetaDatadetails key: "kind"
setContentKind in interface ExtendedMetaDataExtendedMetaData.UNSPECIFIED_CONTENT,
ExtendedMetaData.EMPTY_CONTENT,
ExtendedMetaData.SIMPLE_CONTENT,
ExtendedMetaData.MIXED_CONTENT,
ExtendedMetaData.ELEMENT_ONLY_CONTENTpublic int getDerivationKind(EDataType eDataType)
ExtendedMetaData
getDerivationKind 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 ExtendedMetaDatapublic EDataType basicGetBaseType(EDataType eDataType)
public void setBaseType(EDataType eDataType,
EDataType baseType)
ExtendedMetaDatadetails key: "baseType"
setBaseType in interface ExtendedMetaDatapublic EDataType getItemType(EDataType eDataType)
ExtendedMetaDatadetails key: "itemType"
getItemType in interface ExtendedMetaDataprotected EDataType basicGetItemType(EDataType eDataType)
public void setItemType(EDataType eDataType,
EDataType itemType)
ExtendedMetaDatadetails key: "itemType"
setItemType in interface ExtendedMetaDatapublic List getMemberTypes(EDataType eDataType)
ExtendedMetaDatadetails key: "memberTypes"
getMemberTypes in interface ExtendedMetaDataprotected List basicGetMemberTypes(EDataType eDataType)
public void setMemberTypes(EDataType eDataType,
List memberTypes)
ExtendedMetaDatadetails key: "memberTypes"
setMemberTypes in interface ExtendedMetaDataprotected boolean isFeatureKindSpecific()
public EStructuralFeature getLocalAttribute(EClass eClass,
String namespace,
String name)
public EStructuralFeature getAttribute(EClass eClass,
String namespace,
String name)
ExtendedMetaDataaffiliated with a feature in the class.
getAttribute in interface ExtendedMetaData
protected EStructuralFeature getLocalElement(EClass eClass,
String namespace,
String name)
public EStructuralFeature getElement(EClass eClass,
String namespace,
String name)
ExtendedMetaDataaffiliated with a feature in the class.
getElement in interface ExtendedMetaDatapublic List getAllAttributes(EClass eClass)
ExtendedMetaData
getAllAttributes in interface ExtendedMetaDatapublic List getAllElements(EClass eClass)
ExtendedMetaData
getAllElements in interface ExtendedMetaDatapublic List getAttributes(EClass eClass)
ExtendedMetaData
getAttributes in interface ExtendedMetaDatapublic List getElements(EClass eClass)
ExtendedMetaData
getElements in interface ExtendedMetaDatapublic EStructuralFeature getSimpleFeature(EClass eClass)
ExtendedMetaData
getSimpleFeature in interface ExtendedMetaDatapublic EAttribute getMixedFeature(EClass eClass)
ExtendedMetaData
getMixedFeature in interface ExtendedMetaDatapublic List getWildcards(EStructuralFeature eStructuralFeature)
ExtendedMetaDatadetails key: "wildcards"
getWildcards in interface ExtendedMetaDataprotected List basicGetWildcards(EStructuralFeature eStructuralFeature)
public void setWildcards(EStructuralFeature eStructuralFeature,
List wildcards)
ExtendedMetaDatadetails key: "wildcards"
setWildcards in interface ExtendedMetaData
public static String getEncodedWildcards(String namespace,
List 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 ExtendedMetaData
public EStructuralFeature getAffiliation(EClass eClass,
EStructuralFeature eStructuralFeature)
ExtendedMetaData
getAffiliation in interface ExtendedMetaData
public EStructuralFeature getAttributeWildcardAffiliation(EClass eClass,
String namespace,
String name)
ExtendedMetaData
getAttributeWildcardAffiliation in interface ExtendedMetaData
public EStructuralFeature getElementWildcardAffiliation(EClass eClass,
String namespace,
String name)
ExtendedMetaData
getElementWildcardAffiliation in interface ExtendedMetaData
public boolean matches(List wildcards,
String namespace)
ExtendedMetaData
matches in interface ExtendedMetaData
public boolean matches(String wildcard,
String namespace)
ExtendedMetaData
matches in interface ExtendedMetaDatapublic int getWhiteSpaceFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "whiteSpace"
getWhiteSpaceFacet in interface ExtendedMetaDataExtendedMetaData.UNSPECIFIED_WHITE_SPACE,
ExtendedMetaData.PRESERVE_WHITE_SPACE,
ExtendedMetaData.REPLACE_WHITE_SPACE,
ExtendedMetaData.COLLAPSE_WHITE_SPACEprotected int basicGetWhiteSpaceFacet(EDataType eDataType)
public void setWhiteSpaceFacet(EDataType eDataType,
int whiteSpace)
ExtendedMetaDatadetails key: "whiteSpace"
setWhiteSpaceFacet in interface ExtendedMetaDataExtendedMetaData.UNSPECIFIED_WHITE_SPACE,
ExtendedMetaData.PRESERVE_WHITE_SPACE,
ExtendedMetaData.REPLACE_WHITE_SPACE,
ExtendedMetaData.COLLAPSE_WHITE_SPACEpublic List getEnumerationFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "enumeration"
getEnumerationFacet in interface ExtendedMetaDataprotected List basicGetEnumerationFacet(EDataType eDataType)
public void setEnumerationFacet(EDataType eDataType,
List literals)
ExtendedMetaDatadetails key: "enumeration"
setEnumerationFacet in interface ExtendedMetaDatapublic List getPatternFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "pattern"
getPatternFacet in interface ExtendedMetaDataprotected List basicGetPatternFacet(EDataType eDataType)
public void setPatternFacet(EDataType eDataType,
List 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 String getMinExclusiveFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "minExclusive"
getMinExclusiveFacet in interface ExtendedMetaDataprotected String basicGetMinExclusiveFacet(EDataType eDataType)
public void setMinExclusiveFacet(EDataType eDataType,
String literal)
ExtendedMetaDatadetails key: "minExclusive"
setMinExclusiveFacet in interface ExtendedMetaDatapublic String getMaxExclusiveFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "maxExclusive"
getMaxExclusiveFacet in interface ExtendedMetaDataprotected String basicGetMaxExclusiveFacet(EDataType eDataType)
public void setMaxExclusiveFacet(EDataType eDataType,
String literal)
ExtendedMetaDatadetails key: "maxExclusive"
setMaxExclusiveFacet in interface ExtendedMetaDatapublic String getMinInclusiveFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "minInclusive"
getMinInclusiveFacet in interface ExtendedMetaDataprotected String basicGetMinInclusiveFacet(EDataType eDataType)
public void setMinInclusiveFacet(EDataType eDataType,
String literal)
ExtendedMetaDatadetails key: "minInclusive"
setMinInclusiveFacet in interface ExtendedMetaDatapublic String getMaxInclusiveFacet(EDataType eDataType)
ExtendedMetaDatadetails key: "maxInclusive"
getMaxInclusiveFacet in interface ExtendedMetaDataprotected String basicGetMaxInclusiveFacet(EDataType eDataType)
public void setMaxInclusiveFacet(EDataType eDataType,
String literal)
ExtendedMetaDatadetails key: "maxInclusive"
setMaxInclusiveFacet in interface ExtendedMetaDatapublic EPackage demandPackage(String namespace)
ExtendedMetaData
demandPackage in interface ExtendedMetaDataprotected String computePrefix(String namespace)
public EClassifier demandType(String namespace,
String name)
ExtendedMetaData
demandType in interface ExtendedMetaData
public EStructuralFeature demandFeature(String namespace,
String name,
boolean isElement)
ExtendedMetaData
demandFeature in interface ExtendedMetaData
public EStructuralFeature demandFeature(String namespace,
String name,
boolean isElement,
boolean isReference)
ExtendedMetaData
demandFeature in interface ExtendedMetaDatapublic Collection demandedPackages()
ExtendedMetaData
demandedPackages 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 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||