|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.ocl.examples.pivot.utilities.PivotObjectImpl
org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl
org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl
org.eclipse.ocl.examples.pivot.internal.impl.NamespaceImpl
org.eclipse.ocl.examples.pivot.internal.impl.PackageImpl
org.eclipse.ocl.examples.pivot.manager.Orphanage
public class Orphanage
An Orphanage provides a Package that weakly contains elements such as type specializations that should require a container for the purposes of validation, but which should be eligible for garbage collection whenever no longer in use.
| Nested Class Summary | |
|---|---|
protected static class |
Orphanage.OrphanResource
|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
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 |
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
|---|
org.eclipse.emf.common.notify.Adapter.Internal |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
org.eclipse.emf.ecore.InternalEObject.EStore |
| Field Summary | |
|---|---|
static org.eclipse.emf.common.util.URI |
ORPHANAGE_URI
|
| Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.PackageImpl |
|---|
importedPackage, nestedPackage, NS_PREFIX_EDEFAULT, NS_URI_EDEFAULT, nsPrefix, nsURI, ownedTemplateSignature, ownedType, profileApplication, templateBinding, unspecializedElement |
| Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamespaceImpl |
|---|
ownedRule |
| Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl |
|---|
IS_STATIC_EDEFAULT, IS_STATIC_EFLAG, name, NAME_EDEFAULT |
| Fields inherited from class org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl |
|---|
extension, ownedAnnotation, ownedComment |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
Orphanage(java.lang.String name,
java.lang.String nsURI)
|
|
| Method Summary | |
|---|---|
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<Type> |
getOwnedType()
|
static boolean |
isTypeOrphanage(DomainPackage asPackage)
Return true if asPackage is an orphanage for synthesized types. |
| Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.PackageImpl |
|---|
accept, basicSetNestingPackage, basicSetOwnedTemplateSignature, eBaseStructuralFeatureID, eBasicRemoveFromContainerFeature, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, getImportedPackage, getNestedPackage, getNestingPackage, getNsPrefix, getNsURI, getOwnedTemplateSignature, getPackageId, getProfileApplication, getTemplateBinding, getUnspecializedElement, isTemplate, parameterableElements, setNestingPackage, setNsPrefix, setNsURI, setOwnedTemplateSignature, setUnspecializedElement, toString |
| Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamespaceImpl |
|---|
getOwnedRule |
| Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.NamedElementImpl |
|---|
getName, isStatic, setIsStatic, setName |
| Methods inherited from class org.eclipse.ocl.examples.pivot.internal.impl.ElementImpl |
|---|
allOwnedElements, getExtension, getOwnedAnnotation, getOwnedComment, getValue |
| Methods inherited from class org.eclipse.ocl.examples.pivot.utilities.PivotObjectImpl |
|---|
eBasicSetContainer, eBasicSetContainer, getETarget, getImage, getTarget, getText, isAdapterForType, notifyChanged, setTarget, unsetTarget |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, 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 |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ocl.examples.pivot.Namespace |
|---|
getOwnedRule |
| Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement |
|---|
getName, isStatic, setIsStatic, setName |
| Methods inherited from interface org.eclipse.ocl.examples.pivot.Element |
|---|
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable |
|---|
eClass |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
|---|
@NonNull public static final org.eclipse.emf.common.util.URI ORPHANAGE_URI
| Constructor Detail |
|---|
public Orphanage(@NonNull
java.lang.String name,
@NonNull
java.lang.String nsURI)
| Method Detail |
|---|
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(@Nullable
DomainPackage asPackage)
public void dispose()
@NonNull public org.eclipse.emf.common.util.EList<Type> getOwnedType()
PackageImpl
getOwnedType in interface DomainPackagegetOwnedType in interface PackagegetOwnedType in class PackageImplPivotPackage.getPackage_OwnedType(),
Type.getPackage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||