public class AbstractMetaclass extends AbstractSpecializedType implements DomainMetaclass
| Modifier and Type | Field and Description |
|---|---|
protected DomainType |
instanceType |
protected TypeId |
typeId |
containerTypename, standardLibrary| Constructor and Description |
|---|
AbstractMetaclass(DomainStandardLibrary standardLibrary,
DomainType instanceType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
conformsTo(DomainStandardLibrary standardLibrary,
DomainType type)
Return true if this type conform to thatType within standardLibrary.
|
boolean |
equals(java.lang.Object obj) |
DomainType |
getCommonType(IdResolver idResolver,
DomainType type)
Return the most derived type com mon to this type and thatType within standardLibrary.
|
DomainType |
getInstanceType() |
protected DomainType |
getMetaType() |
protected DomainType |
getNormalizedInstanceType() |
TypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
int |
hashCode() |
boolean |
isEqualTo(DomainStandardLibrary standardLibrary,
DomainType type)
Return true if this is the same type as thatType within standardLibrary.
|
java.lang.String |
toString() |
getContainerType, isOrdered, isUnique, lookupImplementationcreateInstance, createInstance, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getOwnedRule, getPackage, getStandardLibrary, getTypeParameters, isEqualToUnspecializedType, isInvalid, oclEquals, oclHashCode, specializeInclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContainerTypecreateInstance, createInstance, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getTypeParameters, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIngetOwnedRuleoclEquals, oclHashCode@NonNull protected final DomainType instanceType
@NonNull protected final TypeId typeId
public AbstractMetaclass(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
DomainType instanceType)
public boolean conformsTo(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
DomainType type)
DomainTypeconformsTo in interface DomainTypepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object@NonNull public DomainType getCommonType(@NonNull IdResolver idResolver, @NonNull DomainType type)
DomainTypegetCommonType in interface DomainTypegetCommonType in class AbstractTypepublic DomainType getInstanceType()
getInstanceType in interface DomainMetaclass@Nullable protected DomainType getMetaType()
@NonNull protected DomainType getNormalizedInstanceType()
@NonNull public TypeId getTypeId()
DomainTypegetTypeId in interface DomainTypepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isEqualTo(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
DomainType type)
DomainTypeisEqualTo in interface DomainTypepublic java.lang.String toString()
toString in class java.lang.Object