public class EcoreReflectiveType extends AbstractReflectiveInheritanceType
AbstractInheritance.FragmentIterable| Modifier and Type | Field and Description |
|---|---|
static List<CompleteInheritance> |
EMPTY_INHERITANCES |
ABSTRACT, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUEEMPTY_ARRAY| Constructor and Description |
|---|
EcoreReflectiveType(EcoreReflectivePackage evaluationPackage,
int flags,
EClassifier eClassifier,
TemplateParameter... typeParameters) |
| Modifier and Type | Method and Description |
|---|---|
EObject |
createInstance()
Return a new instance of this type from valueFactory.
|
Object |
createInstance(String value)
Return a new instance of this data type from valueFactory.
|
Type |
getCommonType(IdResolver idResolver,
Type type)
Return the most derived type common to this type and thatType within standardLibrary.
|
EClassifier |
getEClassifier() |
Iterable<? extends CompleteInheritance> |
getInitialSuperInheritances()
Return the immediate superinheritances without reference to the fragments.
|
Operation |
getMemberOperation(OperationId operationId) |
Property |
getMemberProperty(String name) |
String |
getMetaTypeName()
Return the name of the meta-type of this type.
|
List<Constraint> |
getOwnedConstraints()
Returns the value of the 'Owned Constraints' containment reference list.
|
List<Constraint> |
getOwnedInvariants()
Returns the value of the 'Owned Invariants' containment reference list.
|
List<Operation> |
getOwnedOperations()
Returns the value of the 'Owned Operations' containment reference list.
|
List<Property> |
getOwnedProperties()
Returns the value of the 'Owned Properties' containment reference list.
|
Package |
getOwningPackage()
Returns the value of the 'Owning Package' container reference.
|
Class |
getPivotClass() |
List<Class> |
getSuperClasses()
Returns the value of the 'Super Classes' reference list.
|
TypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
TemplateParameters |
getTypeParameters()
Return the ordered list of type parameters of this type.
|
boolean |
isOrdered()
Return true if this type is a Collection type and has ordered elements.
|
boolean |
isUnique()
Return true if this type is a Collection type and has unique elements.
|
conformsTo, flattenedType, getInheritance, getNormalizedType, isClass, isEqualTo, isEqualToUnspecializedType, isTemplateParameter, oclEquals, oclHashCode, validateNameIsNotNulladdSubInheritance, gatherUninstalledInheritances, getAllProperSuperFragments, getAllSuperFragments, getDepth, getFragment, getFragments, getIndex, getIndexes, getSelfFragment, getSuperFragments, install, isInstallable, isInstalled, removeSubInheritance, uninstallgetBehavioralClass, getExtenders, getInstanceClassName, getOwnedBehaviors, getOwnedBindings, getOwnedSignature, getUnspecializedElement, isIsAbstract, isIsActive, isIsInterface, isIsSerializable, setBehavioralClass, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setIsSerializable, setOwnedSignature, setOwningPackage, setUnspecializedElement, validateUniqueInvariantNamespecializeIngetCommonInheritance, getFragment, getType, initStatics, isInvalid, isOclAny, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, lookupActualOperation, lookupImplementation, lookupLocalOperationgetName, setNameaccept, allOwnedElements, eAdapters, eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eDeliver, eGet, eGet, eInvoke, eIsProxy, eIsSet, eNotify, eResource, eSet, eSetDeliver, eUnset, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValueequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtenders, getInstanceClassName, getOwnedBehaviors, isIsAbstract, isIsActive, isIsInterface, lookupActualOperation, lookupImplementation, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setOwningPackage, validateUniqueInvariantNamespecializeIngetName, setNameaccept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetOwnedBindings, getOwnedSignature, getUnspecializedElement, setOwnedSignature, setUnspecializedElementpublic static final List<CompleteInheritance> EMPTY_INHERITANCES
public EcoreReflectiveType(EcoreReflectivePackage evaluationPackage, int flags, EClassifier eClassifier, TemplateParameter... typeParameters)
public EObject createInstance()
ClassProperty.initValue(Object, Object) provided no side-effect free
OCL functionality is permitted to use the ObjectValue until initialisation has completed.createInstance in interface ClasscreateInstance in class ReflectiveInheritancepublic Object createInstance(String value)
ClasscreateInstance in interface ClasscreateInstance in class ReflectiveInheritancevalue - string initial valuepublic Type getCommonType(IdResolver idResolver, Type type)
TypegetCommonType in interface TypegetCommonType in class AbstractExecutorTypepublic final EClassifier getEClassifier()
public Iterable<? extends CompleteInheritance> getInitialSuperInheritances()
ReflectiveInheritancepublic Package getOwningPackage()
ClassOwned Classes'.
getOwningPackage in interface ClassgetOwningPackage in class AbstractExecutorClassClass.setOwningPackage(org.eclipse.ocl.pivot.Package),
PivotPackage.getClass_OwningPackage(),
Package.getOwnedClasses()public List<Class> getSuperClasses()
ClassClass.
getSuperClasses in interface ClassgetSuperClasses in class AbstractExecutorClassPivotPackage.getClass_SuperClasses()public Operation getMemberOperation(OperationId operationId)
getMemberOperation in interface CompleteInheritancegetMemberOperation in class AbstractExecutorTypepublic Property getMemberProperty(String name)
getMemberProperty in interface CompleteInheritancegetMemberProperty in class AbstractExecutorTypepublic String getMetaTypeName()
ClassgetMetaTypeName in interface ClassgetMetaTypeName in class AbstractExecutorClasspublic List<Constraint> getOwnedInvariants()
ClassConstraint.
If the meaning of the 'Owned Invariants' containment reference list isn't clear, there really should be more of a description here...
getOwnedInvariants in interface ClassgetOwnedInvariants in class AbstractExecutorClassPivotPackage.getClass_OwnedInvariants()public List<Property> getOwnedProperties()
ClassProperty.
It is bidirectional and its opposite is 'Owning Class'.
The Properties owned by the StructuredClassifier.
The attributes (i.e., the Properties) owned by the Class.
getOwnedProperties in interface ClassgetOwnedProperties in class AbstractExecutorClassPivotPackage.getClass_OwnedProperties(),
Property.getOwningClass()public List<Operation> getOwnedOperations()
ClassOperation.
It is bidirectional and its opposite is 'Owning Class'.
The Operations owned by the Class.
getOwnedOperations in interface ClassgetOwnedOperations in class AbstractExecutorClassPivotPackage.getClass_OwnedOperations(),
Operation.getOwningClass()public List<Constraint> getOwnedConstraints()
NamespaceConstraint.
If the meaning of the 'Owned Rule' containment reference list isn't clear, there really should be more of a description here...
Specifies a set of Constraints owned by this Namespace.getOwnedConstraints in interface NamespacegetOwnedConstraints in class AbstractExecutorClassPivotPackage.getNamespace_OwnedConstraints()public Class getPivotClass()
getPivotClass in interface CompleteInheritancegetPivotClass in class AbstractExecutorTypepublic TypeId getTypeId()
TypegetTypeId in interface TypegetTypeId in class AbstractExecutorTypepublic TemplateParameters getTypeParameters()
ClassgetTypeParameters in interface ClassgetTypeParameters in class AbstractExecutorClasspublic boolean isOrdered()
ClassisOrdered in interface ClassisOrdered in class AbstractExecutorClasspublic boolean isUnique()
ClassisUnique in interface ClassisUnique in class AbstractExecutorClassCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.