public class EcoreReflectiveType extends ReflectiveType
AbstractInheritance.FragmentIterable, AbstractInheritance.RejectStaticOperation, AbstractInheritance.RejectStaticProperty, AbstractInheritance.SelectStaticOperation, AbstractInheritance.SelectStaticProperty
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.emf.ecore.EClassifier |
eClassifier |
static java.util.List<DomainInheritance> |
EMPTY_INHERITANCES |
protected DomainTypeParameters |
typeParameters |
evaluationPackage, flags, name, operationMap, ORDERED, propertyMap, REJECT_STATIC_OPERATION, REJECT_STATIC_PROPERTY, SELECT_STATIC_OPERATION, SELECT_STATIC_PROPERTY, UNIQUE
EMPTY_ARRAY
Constructor and Description |
---|
EcoreReflectiveType(EcoreReflectivePackage evaluationPackage,
int flags,
org.eclipse.emf.ecore.EClassifier eClassifier,
DomainTemplateParameter... typeParameters) |
Modifier and Type | Method and Description |
---|---|
protected AbstractFragment |
createFragment(DomainInheritance baseInheritance) |
java.lang.Object |
createInstance()
Return a new instance of this type from valueFactory.
|
java.lang.Object |
createInstance(java.lang.String value)
Return a new instance of this data type from valueFactory.
|
java.lang.Iterable<? extends DomainOperation> |
getAllOperations(boolean selectStatic) |
java.lang.Iterable<? extends DomainProperty> |
getAllProperties(boolean selectStatic) |
org.eclipse.emf.ecore.EClassifier |
getEClassifier() |
java.lang.Iterable<? extends DomainInheritance> |
getInitialSuperInheritances()
Return the immediate superinheritances without reference to the fragments.
|
java.util.List<? extends DomainOperation> |
getLocalOperations() |
java.util.List<? extends DomainProperty> |
getLocalProperties() |
java.util.List<? extends DomainType> |
getLocalSuperTypes() |
DomainProperty |
getMemberProperty(java.lang.String name) |
java.lang.String |
getMetaTypeName()
Return the name of the meta-type of this type.
|
java.util.List<? extends DomainProperty> |
getOwnedAttribute() |
java.util.List<? extends DomainOperation> |
getOwnedOperation() |
DomainStandardLibrary |
getStandardLibrary()
Return the Standard Library managing the dispatch tables.
|
DomainTypeParameters |
getTypeParameters()
Return the ordered list of type parameters of this type.
|
addSubInheritance, computeFlags, dispose, gatherUninstalledInheritances, getAllSuperFragments, getDepth, getFragment, getFragments, getIndex, getIndexes, getSelfFragment, getSuperFragments, getType, getTypeId, initialize, install, installOclAny, isInstallable, isInstalled, removeSubInheritance, uninstall
conformsTo, getCommonInheritance, getCommonType, getFragment, getInheritance, getMemberOperation, getName, getNormalizedType, getOclAnyInheritance, getOwnedInvariant, getOwnedRule, getPackage, initStatics, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, isUnique, lookupImplementation, lookupLocalOperation, oclEquals, oclHashCode, specializeIn, toString
@NonNull public static final java.util.List<DomainInheritance> EMPTY_INHERITANCES
@NonNull protected final org.eclipse.emf.ecore.EClassifier eClassifier
@NonNull protected final DomainTypeParameters typeParameters
public EcoreReflectiveType(@NonNull EcoreReflectivePackage evaluationPackage, int flags, @NonNull org.eclipse.emf.ecore.EClassifier eClassifier, @NonNull DomainTemplateParameter... typeParameters)
@NonNull protected AbstractFragment createFragment(@NonNull DomainInheritance baseInheritance)
createFragment
in class ReflectiveType
@NonNull public java.lang.Object createInstance()
DomainType
DomainProperty#initValue(DomainStandardLibrary, ObjectValue, Value)
provided no side-effect free
OCL functionality is permitted to use the ObjectValue until initialisation has completed.createInstance
in interface DomainType
createInstance
in class ReflectiveType
@NonNull public java.lang.Object createInstance(@NonNull java.lang.String value)
DomainType
createInstance
in interface DomainType
createInstance
in class ReflectiveType
value
- string initial value@NonNull public java.lang.Iterable<? extends DomainOperation> getAllOperations(boolean selectStatic)
@NonNull public java.lang.Iterable<? extends DomainProperty> getAllProperties(boolean selectStatic)
@NonNull public final org.eclipse.emf.ecore.EClassifier getEClassifier()
@NonNull public java.lang.Iterable<? extends DomainInheritance> getInitialSuperInheritances()
ReflectiveType
getInitialSuperInheritances
in class ReflectiveType
@NonNull public java.util.List<? extends DomainOperation> getLocalOperations()
@NonNull public java.util.List<? extends DomainProperty> getLocalProperties()
@NonNull public java.util.List<? extends DomainType> getLocalSuperTypes()
@Nullable public DomainProperty getMemberProperty(@NonNull java.lang.String name)
@NonNull public java.lang.String getMetaTypeName()
DomainType
@NonNull public java.util.List<? extends DomainProperty> getOwnedAttribute()
@NonNull public java.util.List<? extends DomainOperation> getOwnedOperation()
@NonNull public DomainStandardLibrary getStandardLibrary()
DomainInheritance
@NonNull public DomainTypeParameters getTypeParameters()
DomainType