org.apache.tuscany.sdo.helper
Class SDOExtendedMetaDataImpl

java.lang.Object
  extended by org.eclipse.emf.ecore.util.BasicExtendedMetaData
      extended by org.apache.tuscany.sdo.helper.BaseSDOExtendedMetaDataImpl
          extended by org.apache.tuscany.sdo.helper.SDOExtendedMetaDataImpl
All Implemented Interfaces:
SDOExtendedMetaData, org.eclipse.emf.ecore.util.ExtendedMetaData

public class SDOExtendedMetaDataImpl
extends BaseSDOExtendedMetaDataImpl
implements SDOExtendedMetaData

TODO make demand() methods synchronous?


Nested Class Summary
static class SDOExtendedMetaDataImpl.SDODemandMetaData
           
 
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.helper.BaseSDOExtendedMetaDataImpl
BaseSDOExtendedMetaDataImpl.DemandMetaData
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.BasicExtendedMetaData
org.eclipse.emf.ecore.util.BasicExtendedMetaData.EClassExtendedMetaDataImpl, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EClassifierExtendedMetaData, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EDataTypeExtendedMetaDataImpl, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaDataImpl, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EStructuralFeatureExtendedMetaData, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EStructuralFeatureExtendedMetaDataImpl
 
Field Summary
 
Fields inherited from class org.apache.tuscany.sdo.helper.BaseSDOExtendedMetaDataImpl
demandMetaData, ecoreFactory
 
Fields inherited from class org.eclipse.emf.ecore.util.BasicExtendedMetaData
annotationMap, annotationURI, demandRegistry, extendedMetaDataHolderCache, registry, UNINITIALIZED_EDATA_TYPE, UNINITIALIZED_ESTRUCTURAL_FEATURE, UNINITIALIZED_INT, UNINITIALIZED_STRING
 
Fields inherited from interface org.apache.tuscany.sdo.SDOExtendedMetaData
INSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.util.ExtendedMetaData
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, 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 Summary
SDOExtendedMetaDataImpl()
           
SDOExtendedMetaDataImpl(org.eclipse.emf.ecore.EPackage.Registry registry)
           
 
Method Summary
 List getAliasNames(org.eclipse.emf.ecore.EModelElement modelElement)
          Returns the listing of alias names as specified by the sdo:aliasNames property.
 org.eclipse.emf.ecore.EStructuralFeature getLocalAttribute(org.eclipse.emf.ecore.EClass eClass, String namespace, String name)
          Following methods, getLocalAttribute & getLocalElement, ARE TEMPORARY COPIES FROM THE BASE CLASS.
protected  org.eclipse.emf.ecore.EStructuralFeature getLocalElement(org.eclipse.emf.ecore.EClass eClass, String namespace, String name)
           
 org.eclipse.emf.ecore.EPackage getPackage(String namespace)
           
 org.eclipse.emf.ecore.EPackage.Registry getRegistry()
           
protected  boolean isFeatureNamespaceMatchingLax()
           
 void putPackage(String namespace, org.eclipse.emf.ecore.EPackage ePackage)
           
 void setAliasNames(org.eclipse.emf.ecore.EModelElement modelElement, List aliasNames)
           
 void setAliasNames(org.eclipse.emf.ecore.EModelElement modelElement, String aliasNames)
          Adds an alias name per sdo:aliasName
 void setFeatureNamespaceMatchingLax(boolean b)
           
 
Methods inherited from class org.apache.tuscany.sdo.helper.BaseSDOExtendedMetaDataImpl
demandFeature, demandPackage, demandType
 
Methods inherited from class org.eclipse.emf.ecore.util.BasicExtendedMetaData
basicGetAffiliation, basicGetBaseType, basicGetContentKind, basicGetDerivationKind, basicGetEnumerationFacet, basicGetFeatureKind, basicGetFractionDigitsFacet, basicGetGroup, basicGetItemType, basicGetLengthFacet, basicGetMaxExclusiveFacet, basicGetMaxInclusiveFacet, basicGetMaxLengthFacet, basicGetMemberTypes, basicGetMinExclusiveFacet, basicGetMinInclusiveFacet, basicGetMinLengthFacet, basicGetName, basicGetName, basicGetNamespace, basicGetPatternFacet, basicGetProcessingKind, basicGetTotalDigitsFacet, basicGetWhiteSpaceFacet, basicGetWildcards, basicIsQualified, computePrefix, createEClassifierExtendedMetaData, createEPackageExtendedMetaData, createEStructuralFeatureExtendedMetaData, demandedPackages, demandFeature, getAffiliation, getAffiliation, getAllAttributes, getAllElements, getAnnotation, getAttribute, getAttribute, getAttributes, getAttributeWildcardAffiliation, getBaseType, getContentKind, getDerivationKind, getDocumentRoot, getElement, getElement, getElements, getElementWildcardAffiliation, getEncodedWildcards, getEnumerationFacet, getExtendedMetaData, getExtendedMetaData, getExtendedMetaData, getFeatureKind, getFractionDigitsFacet, getGroup, getItemType, getLengthFacet, getMaxExclusiveFacet, getMaxInclusiveFacet, getMaxLengthFacet, getMemberTypes, getMinExclusiveFacet, getMinInclusiveFacet, getMinLengthFacet, getMixedFeature, getName, getName, getNamespace, getNamespace, getNamespace, getPatternFacet, getProcessingKind, getQualifiedName, getQualifiedName, getSimpleFeature, getTotalDigitsFacet, getType, getType, getWhiteSpaceFacet, getWildcards, getXMLNSPrefixMapFeature, getXSISchemaLocationMapFeature, isAnonymous, isDocumentRoot, isFeatureKindSpecific, isQualified, matches, matches, setAffiliation, setBaseType, setContentKind, setDocumentRoot, setEnumerationFacet, setFeatureKind, setFractionDigitsFacet, setGroup, setItemType, setLengthFacet, setMaxExclusiveFacet, setMaxInclusiveFacet, setMaxLengthFacet, setMemberTypes, setMinExclusiveFacet, setMinInclusiveFacet, setMinLengthFacet, setName, setName, setNamespace, setPatternFacet, setProcessingKind, setQualified, setTotalDigitsFacet, setWhiteSpaceFacet, setWildcards
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.util.ExtendedMetaData
demandedPackages, demandFeature, demandFeature, demandPackage, demandType, getAffiliation, getAffiliation, getAllAttributes, getAllElements, getAttribute, getAttribute, getAttributes, getAttributeWildcardAffiliation, getBaseType, getContentKind, getDerivationKind, getDocumentRoot, getElement, getElement, getElements, getElementWildcardAffiliation, getEnumerationFacet, getFeatureKind, getFractionDigitsFacet, getGroup, getItemType, getLengthFacet, getMaxExclusiveFacet, getMaxInclusiveFacet, getMaxLengthFacet, getMemberTypes, getMinExclusiveFacet, getMinInclusiveFacet, getMinLengthFacet, getMixedFeature, getName, getName, getNamespace, getNamespace, getNamespace, getPatternFacet, getProcessingKind, getSimpleFeature, getTotalDigitsFacet, getType, getType, getWhiteSpaceFacet, getWildcards, getXMLNSPrefixMapFeature, getXSISchemaLocationMapFeature, isAnonymous, isDocumentRoot, isQualified, matches, matches, setAffiliation, setBaseType, setContentKind, setDocumentRoot, setEnumerationFacet, setFeatureKind, setFractionDigitsFacet, setGroup, setItemType, setLengthFacet, setMaxExclusiveFacet, setMaxInclusiveFacet, setMaxLengthFacet, setMemberTypes, setMinExclusiveFacet, setMinInclusiveFacet, setMinLengthFacet, setName, setName, setNamespace, setPatternFacet, setProcessingKind, setQualified, setTotalDigitsFacet, setWhiteSpaceFacet, setWildcards
 

Constructor Detail

SDOExtendedMetaDataImpl

public SDOExtendedMetaDataImpl()

SDOExtendedMetaDataImpl

public SDOExtendedMetaDataImpl(org.eclipse.emf.ecore.EPackage.Registry registry)
Method Detail

getPackage

public org.eclipse.emf.ecore.EPackage getPackage(String namespace)
Specified by:
getPackage in interface org.eclipse.emf.ecore.util.ExtendedMetaData
Overrides:
getPackage in class org.eclipse.emf.ecore.util.BasicExtendedMetaData

getAliasNames

public List getAliasNames(org.eclipse.emf.ecore.EModelElement modelElement)
Returns the listing of alias names as specified by the sdo:aliasNames property.

Specified by:
getAliasNames in interface SDOExtendedMetaData

setAliasNames

public void setAliasNames(org.eclipse.emf.ecore.EModelElement modelElement,
                          List aliasNames)
Specified by:
setAliasNames in interface SDOExtendedMetaData

setAliasNames

public void setAliasNames(org.eclipse.emf.ecore.EModelElement modelElement,
                          String aliasNames)
Adds an alias name per sdo:aliasName

Specified by:
setAliasNames in interface SDOExtendedMetaData

getRegistry

public org.eclipse.emf.ecore.EPackage.Registry getRegistry()

setFeatureNamespaceMatchingLax

public void setFeatureNamespaceMatchingLax(boolean b)
Specified by:
setFeatureNamespaceMatchingLax in interface SDOExtendedMetaData

isFeatureNamespaceMatchingLax

protected boolean isFeatureNamespaceMatchingLax()
Overrides:
isFeatureNamespaceMatchingLax in class org.eclipse.emf.ecore.util.BasicExtendedMetaData

putPackage

public void putPackage(String namespace,
                       org.eclipse.emf.ecore.EPackage ePackage)
Specified by:
putPackage in interface org.eclipse.emf.ecore.util.ExtendedMetaData
Overrides:
putPackage in class org.eclipse.emf.ecore.util.BasicExtendedMetaData

getLocalAttribute

public org.eclipse.emf.ecore.EStructuralFeature getLocalAttribute(org.eclipse.emf.ecore.EClass eClass,
                                                                  String namespace,
                                                                  String name)
Following methods, getLocalAttribute & getLocalElement, ARE TEMPORARY COPIES FROM THE BASE CLASS. One line (the last line)in each method is changed to support lax namespace matching. DO NOT EDIT THESE METHODS. THEY WILL BE REMOVED WHEN WE MOVE TO EMF 2.3, WHICH FIXES THE PROBLEM.

Overrides:
getLocalAttribute in class org.eclipse.emf.ecore.util.BasicExtendedMetaData

getLocalElement

protected org.eclipse.emf.ecore.EStructuralFeature getLocalElement(org.eclipse.emf.ecore.EClass eClass,
                                                                   String namespace,
                                                                   String name)
Overrides:
getLocalElement in class org.eclipse.emf.ecore.util.BasicExtendedMetaData


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.