public abstract class AbstractTypeServer extends ReflectiveType implements TypeServer
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractTypeServer.BestOperation |
static class |
AbstractTypeServer.MapValues |
static class |
AbstractTypeServer.PartialProperties |
protected static class |
AbstractTypeServer.QualifiedName2DomainInheritance |
AbstractInheritance.FragmentIterable, AbstractInheritance.RejectStaticOperation, AbstractInheritance.RejectStaticProperty, AbstractInheritance.SelectStaticOperation, AbstractInheritance.SelectStaticProperty| Modifier and Type | Field and Description |
|---|---|
static AbstractTypeServer.BestOperation |
bestOperation |
protected DomainType |
domainType |
static AbstractTypeServer.MapValues |
MAP_VALUES |
protected PackageManager |
packageManager |
protected PackageServer |
packageServer |
protected TypeId |
typeId |
evaluationPackage, flags, name, operationMap, ORDERED, propertyMap, REJECT_STATIC_OPERATION, REJECT_STATIC_PROPERTY, SELECT_STATIC_OPERATION, SELECT_STATIC_PROPERTY, UNIQUEEMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTypeServer(PackageServer packageServer,
DomainType domainType) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractFragment |
createFragment(DomainInheritance baseInheritance) |
static TemplateParameterSubstitution |
createTemplateParameterSubstitution(TemplateParameter formalParameter,
ParameterableElement type) |
void |
dispose() |
java.lang.Iterable<? extends DomainOperation> |
getAllOperations(boolean selectStatic) |
java.lang.Iterable<? extends DomainOperation> |
getAllOperations(boolean selectStatic,
java.lang.String name) |
java.lang.Iterable<? extends DomainProperty> |
getAllProperties(boolean selectStatic) |
java.lang.Iterable<? extends DomainProperty> |
getAllProperties(boolean selectStatic,
java.lang.String name) |
java.lang.Iterable<? extends State> |
getAllStates() |
java.lang.Iterable<? extends State> |
getAllStates(java.lang.String name) |
java.lang.Iterable<? extends DomainInheritance> |
getAllSuperClasses() |
java.lang.Iterable<? extends DomainInheritance> |
getAllSuperClasses(java.lang.String className) |
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() |
DomainOperation |
getMemberOperation(DomainOperation pivotOperation) |
DomainOperation |
getMemberOperation(OperationId operationId) |
java.lang.Iterable<DomainOperation> |
getMemberOperations(DomainOperation pivotOperation) |
java.lang.Iterable<DomainProperty> |
getMemberProperties(DomainProperty pivotProperty) |
DomainProperty |
getMemberProperty(java.lang.String propertyName) |
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() |
PackageManager |
getPackageManager() |
PackageServer |
getPackageServer() |
DomainStandardLibrary |
getStandardLibrary()
Return the Standard Library managing the dispatch tables.
|
TypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
DomainTypeParameters |
getTypeParameters()
Return the ordered list of type parameters of this type.
|
protected void |
initMemberFeaturesFrom(DomainType pivotType) |
protected void |
initMemberOperationsPostProcess(java.lang.String name,
java.util.List<DomainOperation> operations) |
protected java.util.Map<java.lang.String,AbstractTypeServer.PartialProperties> |
initMemberProperties() |
protected void |
initMemberPropertiesFrom(DomainType type) |
protected void |
initMemberPropertiesPostProcess(java.lang.String name,
AbstractTypeServer.PartialProperties properties) |
protected java.util.Map<java.lang.String,State> |
initStates() |
protected void |
initStatesForRegions(java.util.Map<java.lang.String,State> name2states,
java.util.List<Region> regions) |
protected void |
initStereotypePropertiesFrom(Type baseType,
ElementExtension extensionType) |
protected java.util.Map<java.lang.String,DomainInheritance> |
initSuperClasses() |
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
initSuperClassesWithAmbiguousNames(java.util.Map<java.lang.String,DomainInheritance> name2superclasses2,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> name2qualifiedNames2) |
void |
uninstall() |
addSubInheritance, computeFlags, createInstance, createInstance, gatherUninstalledInheritances, getAllSuperFragments, getDepth, getFragment, getFragments, getIndex, getIndexes, getSelfFragment, getSuperFragments, getType, initialize, install, installOclAny, isInstallable, isInstalled, removeSubInheritanceconformsTo, getCommonInheritance, getCommonType, getFragment, getInheritance, getName, getNormalizedType, getOclAnyInheritance, getOwnedInvariant, getOwnedRule, getPackage, initStatics, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, isUnique, lookupImplementation, lookupLocalOperation, oclEquals, oclHashCode, specializeIn, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartialTypes, getPivotTypegetAllSuperFragments, getCommonInheritance, getDepth, getFragment, getFragment, getIndex, getIndexes, getSelfFragment, getSuperFragments, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, lookupLocalOperationconformsTo, createInstance, createInstance, getCommonType, getInheritance, getName, getNormalizedType, getOwnedInvariant, getPackage, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIngetOwnedRuleoclEquals, oclHashCode@NonNull public static final AbstractTypeServer.BestOperation bestOperation
@NonNull public static final AbstractTypeServer.MapValues MAP_VALUES
@NonNull protected final PackageServer packageServer
@NonNull protected final PackageManager packageManager
@NonNull protected final DomainType domainType
@Nullable protected TypeId typeId
protected AbstractTypeServer(@NonNull
PackageServer packageServer,
@NonNull
DomainType domainType)
@NonNull public static TemplateParameterSubstitution createTemplateParameterSubstitution(@NonNull TemplateParameter formalParameter, @NonNull ParameterableElement type)
@NonNull protected AbstractFragment createFragment(@NonNull DomainInheritance baseInheritance)
createFragment in class ReflectiveTypepublic void dispose()
dispose in interface TypeServerdispose in class ReflectiveType@NonNull public java.lang.Iterable<? extends DomainOperation> getAllOperations(boolean selectStatic)
getAllOperations in interface DomainInheritancegetAllOperations in interface TypeServer@NonNull public java.lang.Iterable<? extends DomainOperation> getAllOperations(boolean selectStatic, @NonNull java.lang.String name)
getAllOperations in interface TypeServer@NonNull public java.lang.Iterable<? extends DomainProperty> getAllProperties(boolean selectStatic)
getAllProperties in interface DomainInheritancegetAllProperties in interface TypeServer@NonNull public java.lang.Iterable<? extends DomainProperty> getAllProperties(boolean selectStatic, @NonNull java.lang.String name)
getAllProperties in interface TypeServer@NonNull public java.lang.Iterable<? extends State> getAllStates()
getAllStates in interface TypeServer@NonNull public java.lang.Iterable<? extends State> getAllStates(@NonNull java.lang.String name)
getAllStates in interface TypeServer@NonNull public java.lang.Iterable<? extends DomainInheritance> getAllSuperClasses()
getAllSuperClasses in interface TypeServer@NonNull public java.lang.Iterable<? extends DomainInheritance> getAllSuperClasses(@NonNull java.lang.String className)
getAllSuperClasses in interface TypeServer@NonNull protected java.util.Map<java.lang.String,State> initStates()
protected void initStatesForRegions(@NonNull
java.util.Map<java.lang.String,State> name2states,
@NonNull
java.util.List<Region> regions)
@NonNull public java.lang.Iterable<? extends DomainInheritance> getInitialSuperInheritances()
ReflectiveTypegetInitialSuperInheritances in class ReflectiveType@NonNull public java.util.List<? extends DomainOperation> getLocalOperations()
getLocalOperations in interface DomainType@NonNull public java.util.List<? extends DomainProperty> getLocalProperties()
getLocalProperties in interface DomainType@NonNull public java.util.List<? extends DomainType> getLocalSuperTypes()
getLocalSuperTypes in interface DomainType@Nullable public DomainOperation getMemberOperation(@NonNull OperationId operationId)
getMemberOperation in interface DomainInheritancegetMemberOperation in class AbstractInheritance@Nullable public DomainOperation getMemberOperation(@NonNull DomainOperation pivotOperation)
getMemberOperation in interface TypeServer@Nullable public java.lang.Iterable<DomainOperation> getMemberOperations(@NonNull DomainOperation pivotOperation)
getMemberOperations in interface TypeServer@Nullable public java.lang.Iterable<DomainProperty> getMemberProperties(@NonNull DomainProperty pivotProperty)
getMemberProperties in interface TypeServer@Nullable public DomainProperty getMemberProperty(@NonNull java.lang.String propertyName)
getMemberProperty in interface DomainInheritancegetMemberProperty in interface TypeServer@NonNull public java.lang.String getMetaTypeName()
DomainTypegetMetaTypeName in interface DomainType@NonNull public java.util.List<? extends DomainProperty> getOwnedAttribute()
getOwnedAttribute in interface DomainType@NonNull public java.util.List<? extends DomainOperation> getOwnedOperation()
getOwnedOperation in interface DomainType@NonNull public final PackageManager getPackageManager()
public PackageServer getPackageServer()
@NonNull public final DomainStandardLibrary getStandardLibrary()
DomainInheritancegetStandardLibrary in interface DomainInheritance@NonNull public final TypeId getTypeId()
DomainTypegetTypeId in interface DomainTypegetTypeId in class ReflectiveType@NonNull public DomainTypeParameters getTypeParameters()
DomainTypegetTypeParameters in interface DomainTypeprotected void initMemberFeaturesFrom(@NonNull
DomainType pivotType)
protected void initMemberOperationsPostProcess(@NonNull
java.lang.String name,
@NonNull
java.util.List<DomainOperation> operations)
@NonNull protected java.util.Map<java.lang.String,AbstractTypeServer.PartialProperties> initMemberProperties()
protected void initMemberPropertiesFrom(@NonNull
DomainType type)
protected void initMemberPropertiesPostProcess(@NonNull
java.lang.String name,
@NonNull
AbstractTypeServer.PartialProperties properties)
protected void initStereotypePropertiesFrom(@NonNull
Type baseType,
@NonNull
ElementExtension extensionType)
@NonNull protected java.util.Map<java.lang.String,DomainInheritance> initSuperClasses()
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> initSuperClassesWithAmbiguousNames(java.util.Map<java.lang.String,DomainInheritance> name2superclasses2, java.util.Map<java.lang.String,java.util.List<java.lang.String>> name2qualifiedNames2)
public void uninstall()
uninstall in class ReflectiveType