public class Orphanage extends PackageImpl
Modifier and Type | Class and Description |
---|---|
protected static class |
Orphanage.OrphanResource |
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Field and Description |
---|---|
static org.eclipse.emf.common.util.URI |
ORPHANAGE_URI |
importedPackages, NS_PREFIX_EDEFAULT, nsPrefix, ownedClasses, ownedInstances, ownedPackages, ownedProfileApplications, uri, URI_EDEFAULT
ownedConstraints
name, NAME_EDEFAULT
annotatingComments, ownedAnnotations, ownedComments, ownedExtensions
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Constructor and Description |
---|
Orphanage(java.lang.String name,
java.lang.String nsURI) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
static void |
disposeInstance() |
static Orphanage |
getOrphanage(org.eclipse.emf.ecore.EObject eObject)
Return the Orphanage for an eObject, which is the Orphanage resource in the same ResourceSet as
the eObject, else the global Orphanage.
|
static Orphanage |
getOrphanage(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Return the Orphanage for an eObject, which is the Orphanage resource in the resourceSet
if non-null, else the global Orphanage.
|
org.eclipse.emf.common.util.EList<Class> |
getOwnedClasses()
Returns the value of the 'Owned Classes' containment reference list.
|
static boolean |
isTypeOrphanage(Package asPackage)
Return true if asPackage is an orphanage for synthesized types.
|
accept, addPackageListener, basicGetPackageId, basicSetOwningPackage, didAddClass, didAddPackage, didRemoveClass, didRemovePackage, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEPackage, getImportedPackages, getNsPrefix, getOwnedClass, getOwnedInstances, getOwnedPackages, getOwnedProfileApplications, getOwningPackage, getPackageId, getURI, isIgnoreInvariants, removePackageListener, setIgnoreInvariants, setName, setNsPrefix, setOwningPackage, setPackageId, setURI, setURIGen, toString
getOwnedConstraints
getName
allOwnedElements, eInvoke, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eBasicSetContainer, getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOwnedConstraints
getName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
@NonNull public static final org.eclipse.emf.common.util.URI ORPHANAGE_URI
public Orphanage(@NonNull java.lang.String name, @NonNull java.lang.String nsURI)
public static void disposeInstance()
@Nullable public static Orphanage getOrphanage(@NonNull org.eclipse.emf.ecore.EObject eObject)
@NonNull public static Orphanage getOrphanage(@Nullable org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
public static boolean isTypeOrphanage(Package asPackage)
public void dispose()
@NonNull public org.eclipse.emf.common.util.EList<Class> getOwnedClasses()
Package
Class
.
It is bidirectional and its opposite is 'Owning Package
'.
References the packaged elements that are Types.
getOwnedClasses
in interface Package
getOwnedClasses
in class PackageImpl
PivotPackage.getPackage_OwnedClasses()
,
Class.getOwningPackage()