public class MetaclassImpl extends ClassImpl implements Metaclass
The following features are implemented:
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 |
---|---|
protected Type |
instanceType
The cached value of the '
Instance Type ' reference. |
IS_ABSTRACT_EDEFAULT, IS_ABSTRACT_EFLAG, IS_INTERFACE_EDEFAULT, IS_INTERFACE_EFLAG, ownedBehavior, ownedRule
INSTANCE_CLASS_NAME_EDEFAULT, instanceClassName, ownedAttribute, ownedInvariant, ownedOperation, ownedTemplateSignature, superClass, templateBinding, templateParameter, unspecializedElement
IS_STATIC_EDEFAULT, IS_STATIC_EFLAG, name, NAME_EDEFAULT, ownedAnnotation
extension, ownedComment
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
MetaclassImpl() |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Returns the result of accepting a visit from a visitor.
|
Type |
basicGetInstanceType() |
MetaclassId |
computeId() |
boolean |
conformsTo(DomainStandardLibrary standardLibrary,
DomainType type)
Return true if this type conform to thatType within standardLibrary.
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
DomainType |
getContainerType() |
Type |
getInstanceType() |
TemplateableElement |
getUnspecializedElement() |
void |
setInstanceType(Type newInstanceType) |
java.lang.String |
toString() |
createOwnedAttribute, createOwnedBehavior, createOwnedBehavior, createOwnedOperation, createOwnedOperation, createOwnedRule, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eInverseAdd, eInverseRemove, getInstanceClassName, getOwnedAttribute, getOwnedBehavior, getOwnedOperation, getOwnedRule, getSuperClass, isAbstract, isInterface, isSetInstanceClassName, isSetOwnedAttribute, isSetOwnedOperation, isSetSuperClass, setInstanceClassName, setIsAbstract, setIsInterface
basicGetTemplateParameter, basicSetOwnedTemplateSignature, basicSetOwningTemplateParameter, basicSetPackage, basicSetTemplateParameter, createInstance, createInstance, createOwnedInvariant, createOwnedTemplateSignature, createTemplateBinding, eBasicRemoveFromContainerFeature, eDerivedOperationID, eInvoke, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getNormalizedType, getOwnedInvariant, getOwnedTemplateSignature, getOwningTemplateParameter, getPackage, getTemplateBinding, getTemplateParameter, getTypeId, getTypeParameters, isCompatibleWith, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isSetTemplateParameter, isTemplate, isTemplateParameter, isUnique, lookupImplementation, oclEquals, oclHashCode, parameterableElements, setOwnedTemplateSignature, setOwningTemplateParameter, setPackage, setTemplateParameter, setUnspecializedElement, specializeIn, specializeIn, validateUniqueInvariantName
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
allOwnedElements, create, createExtension, createOwnedComment, getExtension, getOwnedComment, getValue
getETarget, getTarget, isAdapterForType, notifyChanged, setTarget, unsetTarget
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, 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
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createOwnedBehavior, createOwnedBehavior, getOwnedBehavior, isAbstract, isInterface, setIsAbstract, setIsInterface
createOwnedAttribute, createOwnedInvariant, createOwnedOperation, createOwnedOperation, getInstanceClassName, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getSuperClass, setInstanceClassName, setPackage, specializeIn, validateUniqueInvariantName
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, isTemplate, parameterableElements, setOwnedTemplateSignature, setUnspecializedElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
createInstance, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getTypeId, getTypeParameters, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIn
getOwnedRule
oclEquals, oclHashCode
createOwnedRule, getOwnedRule
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
allOwnedElements, createExtension, createOwnedComment, getETarget, getExtension, getOwnedComment, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected Type instanceType
Instance Type
' reference.
getInstanceType()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class ClassImpl
public Type getInstanceType()
getInstanceType
in interface DomainMetaclass
getInstanceType
in interface Metaclass
Metaclass.setInstanceType(Type)
,
PivotPackage.getMetaclass_InstanceType()
public Type basicGetInstanceType()
public void setInstanceType(Type newInstanceType)
setInstanceType
in interface Metaclass
newInstanceType
- the new value of the 'Instance Type' reference.Metaclass.getInstanceType()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public <R> R accept(@NonNull Visitor<R> visitor)
Visitable
Implementations of visit() may use the EcoreSwitch to perform derived-class-specific processing.
Derived implementations of accept() may use getAdapter() to obtain richer visitor interfaces.
@NonNull public MetaclassId computeId()
public boolean conformsTo(@NonNull DomainStandardLibrary standardLibrary, @NonNull DomainType type)
DomainType
conformsTo
in interface DomainType
conformsTo
in class TypeImpl
public DomainType getContainerType()
getContainerType
in interface DomainMetaclass
public TemplateableElement getUnspecializedElement()
TypeImpl
getUnspecializedElement
in interface TemplateableElement
getUnspecializedElement
in class TypeImpl
TemplateableElement.setUnspecializedElement(TemplateableElement)
,
PivotPackage.getTemplateableElement_UnspecializedElement()