|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.domain.types.AbstractType
org.eclipse.ocl.examples.library.executor.JavaType
public class JavaType
JavaType supports the usage of Java Class to define the type of an object.
| Field Summary | |
|---|---|
protected java.lang.Class<?> |
javaClass
|
| Fields inherited from class org.eclipse.ocl.examples.domain.types.AbstractType |
|---|
name, standardLibrary |
| Constructor Summary | |
|---|---|
JavaType(DomainStandardLibrary standardLibrary,
java.lang.Class<?> javaClass)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.eclipse.ocl.examples.domain.types.AbstractType |
|---|
createInstance, createInstance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getOwnedRule, getPackage, getStandardLibrary, getTypeParameters, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, oclEquals, oclHashCode, specializeIn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@NonNull protected final java.lang.Class<?> javaClass
| Constructor Detail |
|---|
public JavaType(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
java.lang.Class<?> javaClass)
| Method Detail |
|---|
public boolean conformsTo(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
DomainType thatType)
DomainType
@NonNull
public DomainType getCommonType(@NonNull
IdResolver idResolver,
@NonNull
DomainType type)
DomainType
getCommonType in interface DomainTypegetCommonType in class AbstractType
@NonNull
public DomainInheritance getInheritance(@NonNull
DomainStandardLibrary standardLibrary)
DomainType
getInheritance in interface DomainTypegetInheritance in class AbstractType@NonNull public TypeId getTypeId()
DomainType
public boolean isEqualTo(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
DomainType thatType)
DomainType
@NonNull
public LibraryFeature lookupImplementation(@NonNull
DomainStandardLibrary standardLibrary,
@NonNull
DomainOperation staticOperation)
DomainType
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||