|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.domain.types.AbstractStandardLibrary org.eclipse.ocl.examples.pivot.manager.PivotStandardLibrary
public abstract class PivotStandardLibrary
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_OCL_STDLIB_URI
The URI used by default for the OCL Standard Library. |
protected java.lang.String |
defaultStandardLibraryURI
The URI to provide the default Standard Library. |
Constructor Summary | |
---|---|
PivotStandardLibrary()
|
Method Summary | ||
---|---|---|
Operation |
basicGetOclInvalidOperation()
|
|
Property |
basicGetOclInvalidProperty()
|
|
InvalidType |
basicGetOclInvalidType()
|
|
protected void |
defineLibraryType(Type pivotType)
Names of all iterations in the libraries. |
|
void |
dispose()
|
|
BagType |
getBagType()
Obtains the generic instance of the BagType metatype, named Bag(T). |
|
PrimitiveType |
getBooleanType()
Obtains the instance of the PrimitiveType metatype, named Boolean. |
|
Class |
getClassType()
|
|
CollectionType |
getCollectionType()
Obtains the generic instance of the CollectionType metatype, named Collection(T). |
|
Class |
getEnumerationType()
Obtains the single instance of the EnumerationType metatype, named Enumeration. |
|
PrimitiveType |
getIntegerType()
Obtains the instance of the PrimitiveType metatype, named Integer. |
|
Type |
getLibraryType(java.lang.String typeName)
|
|
Metaclass<?> |
getMetaclassType()
Obtains the single instance of the DomainMetaclass metatype, named Metaclass. |
|
AnyType |
getOclAnyType()
Obtains the single instance of the AnyType metatype, named OclAny. |
|
Class |
getOclComparableType()
Obtains the single instance of the OclComparable metatype, named OclAny. |
|
Class |
getOclElementType()
Obtains the single instance of the Class metatype, named OclElement. |
|
Operation |
getOclInvalidOperation()
|
|
Property |
getOclInvalidProperty()
|
|
InvalidType |
getOclInvalidType()
Obtains the single instance of the InvalidType metatype, named OclInvalid. |
|
Class |
getOclLambdaType()
|
|
Type |
getOclMessageType()
Obtains the generic instance of the MessageType metatype, named OclMessage. |
|
SelfType |
getOclSelfType()
Obtains the single instance of the OclSelf pseudo-metatype, named OclSelf. |
|
Class |
getOclSummableType()
Obtains the single instance of the OclSummable metatype, named OclAny. |
|
Class |
getOclTupleType()
Obtains the single instance of the OclTupleType metatype, named OclVoid. |
|
Class |
getOclTypeType()
|
|
VoidType |
getOclVoidType()
Obtains the single instance of the VoidType metatype, named OclVoid. |
|
CollectionType |
getOrderedCollectionType()
Obtains the generic instance of the OrderedCollection metatype, named OrderedCollection(T). |
|
OrderedSetType |
getOrderedSetType()
Obtains the generic instance of the OrderedSetType metatype, named OrderedSet(T). |
|
PrimitiveType |
getRealType()
Obtains the instance of the PrimitiveType metatype, named Real. |
|
Type |
getRequiredLibraryType(java.lang.String typeName)
|
|
SequenceType |
getSequenceType()
Obtains the generic instance of the SequenceType metatype, named Sequence(T). |
|
SetType |
getSetType()
Obtains the generic instance of the SetType metatype, named Set(T). |
|
PrimitiveType |
getStringType()
Obtains the instance of the PrimitiveType metatype, named String. |
|
CollectionType |
getUniqueCollectionType()
Obtains the generic instance of the UniqueCollection metatype, named Set(T). |
|
PrimitiveType |
getUnlimitedNaturalType()
Obtains the instance of the PrimitiveType metatype, named UnlimitedNatural. |
|
boolean |
isOrdered(Type sourceType)
|
|
boolean |
isUnique(Type sourceType)
|
|
protected abstract org.eclipse.emf.ecore.resource.Resource |
loadDefaultLibrary(java.lang.String uri)
|
|
void |
resetLibrary()
|
|
protected
|
resolveRequiredSimpleType(java.lang.Class<T> requiredClassType,
java.lang.String name)
|
|
protected
|
resolveRequiredTemplateableType(java.lang.Class<T> requiredClassType,
java.lang.String name,
int parameterCount)
|
Methods inherited from class org.eclipse.ocl.examples.domain.types.AbstractStandardLibrary |
---|
conformsToCollectionType, conformsToLambdaType, conformsToTupleType, getAllPackages, getBagType, getCollectionType, getCollectionType, getEnumeration, getMetaType, getNestedPackage, getNestedType, getNsURIPackage, getOperationTemplateParameter, getOrderedSetType, getPrimitiveType, getRootPackage, getSequenceType, getSetType, isEqualToCollectionType, isEqualToTupleType, weakGet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainStandardLibrary |
---|
getBagType, getInheritance, getMetaclass, getOclType, getOrderedSetType, getSequenceType, getSetType |
Field Detail |
---|
@NonNull public static final java.lang.String DEFAULT_OCL_STDLIB_URI
@NonNull protected java.lang.String defaultStandardLibraryURI
Constructor Detail |
---|
public PivotStandardLibrary()
Method Detail |
---|
protected void defineLibraryType(@NonNull Type pivotType)
@Nullable public Operation basicGetOclInvalidOperation()
@Nullable public Property basicGetOclInvalidProperty()
@Nullable public InvalidType basicGetOclInvalidType()
public void dispose()
dispose
in class AbstractStandardLibrary
@NonNull public BagType getBagType()
DomainStandardLibrary
@NonNull public PrimitiveType getBooleanType()
DomainStandardLibrary
@NonNull public Class getClassType()
@NonNull public CollectionType getCollectionType()
DomainStandardLibrary
@NonNull public Class getEnumerationType()
DomainStandardLibrary
@NonNull public PrimitiveType getIntegerType()
DomainStandardLibrary
public Type getLibraryType(@NonNull java.lang.String typeName)
@NonNull public Metaclass<?> getMetaclassType()
DomainStandardLibrary
@NonNull public AnyType getOclAnyType()
DomainStandardLibrary
@NonNull public Class getOclComparableType()
DomainStandardLibrary
@NonNull public Class getOclElementType()
DomainStandardLibrary
@NonNull public Operation getOclInvalidOperation()
@NonNull public Property getOclInvalidProperty()
@NonNull public InvalidType getOclInvalidType()
DomainStandardLibrary
@NonNull public Class getOclLambdaType()
public Type getOclMessageType()
DomainStandardLibrary
@NonNull public SelfType getOclSelfType()
DomainStandardLibrary
@NonNull public Class getOclSummableType()
DomainStandardLibrary
@NonNull public Class getOclTupleType()
DomainStandardLibrary
@NonNull public Class getOclTypeType()
@NonNull public VoidType getOclVoidType()
DomainStandardLibrary
@NonNull public CollectionType getOrderedCollectionType()
DomainStandardLibrary
@NonNull public OrderedSetType getOrderedSetType()
DomainStandardLibrary
@NonNull public PrimitiveType getRealType()
DomainStandardLibrary
@NonNull public Type getRequiredLibraryType(@NonNull java.lang.String typeName)
@NonNull public SequenceType getSequenceType()
DomainStandardLibrary
@NonNull public SetType getSetType()
DomainStandardLibrary
@NonNull public PrimitiveType getStringType()
DomainStandardLibrary
@NonNull public CollectionType getUniqueCollectionType()
DomainStandardLibrary
@NonNull public PrimitiveType getUnlimitedNaturalType()
DomainStandardLibrary
public boolean isOrdered(Type sourceType)
public boolean isUnique(Type sourceType)
protected abstract org.eclipse.emf.ecore.resource.Resource loadDefaultLibrary(java.lang.String uri)
public void resetLibrary()
@NonNull protected <T extends TemplateableElement> T resolveRequiredSimpleType(@NonNull java.lang.Class<T> requiredClassType, @NonNull java.lang.String name)
@NonNull protected <T extends TemplateableElement> T resolveRequiredTemplateableType(@NonNull java.lang.Class<T> requiredClassType, @NonNull java.lang.String name, int parameterCount)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |