public class JavaType extends AbstractType
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class<?> |
javaClass |
name, standardLibrary| Constructor and Description |
|---|
JavaType(DomainStandardLibrary standardLibrary,
java.lang.Class<?> javaClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
conformsTo(DomainStandardLibrary standardLibrary,
DomainType thatType)
Return true if this type conform to thatType within standardLibrary.
|
DomainType |
getCommonType(IdResolver idResolver,
DomainType type)
Return the most derived type com mon to this type and thatType within standardLibrary.
|
DomainInheritance |
getInheritance(DomainStandardLibrary standardLibrary)
Return the inheritance description for this type within standardLibrary.
|
TypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
boolean |
isEqualTo(DomainStandardLibrary standardLibrary,
DomainType thatType)
Return true if this is the same type as thatType within standardLibrary.
|
LibraryFeature |
lookupImplementation(DomainStandardLibrary standardLibrary,
DomainOperation staticOperation)
Return the dynamic (overloaded) implementation of the staticOperation applicable to the types managed
by the given Standard Library.
|
java.lang.String |
toString() |
createInstance, createInstance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getOwnedRule, getPackage, getStandardLibrary, getTypeParameters, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, oclEquals, oclHashCode, specializeInpublic JavaType(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
java.lang.Class<?> javaClass)
public boolean conformsTo(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
DomainType thatType)
DomainType@NonNull public DomainType getCommonType(@NonNull IdResolver idResolver, @NonNull DomainType type)
DomainTypegetCommonType in interface DomainTypegetCommonType in class AbstractType@NonNull public DomainInheritance getInheritance(@NonNull DomainStandardLibrary standardLibrary)
DomainTypegetInheritance in interface DomainTypegetInheritance in class AbstractType@NonNull public TypeId getTypeId()
DomainTypepublic boolean isEqualTo(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
DomainType thatType)
DomainType@NonNull public LibraryFeature lookupImplementation(@NonNull DomainStandardLibrary standardLibrary, @NonNull DomainOperation staticOperation)
DomainTypepublic java.lang.String toString()
toString in class java.lang.Object