public class StandardLibraryImpl extends ElementImpl implements StandardLibrary, StandardLibraryInternal
| Type | Property and Description |
|---|---|
Property |
basicGetOclInvalid |
StandardLibrary.StandardLibraryExtension| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_OCL_STDLIB_URI
The URI used by default for the OCL Standard Library.
|
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
Operation |
basicGetOclInvalidOperation() |
Property |
basicGetOclInvalidProperty() |
InvalidType |
basicGetOclInvalidType() |
NotificationChain |
basicSetOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment,
NotificationChain msgs) |
void |
defineLibraryType(Class pivotType) |
void |
dispose() |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
Iterable<? extends CompletePackage> |
getAllCompletePackages() |
Class |
getASClass(String className)
Return the pivot model class for className with the Pivot Model.
|
BagType |
getBagType()
Obtains the generic instance of the BagType metatype, named
Bag(T).
|
PrimitiveType |
getBehavioralClass(Class<?> instanceClass) |
PrimitiveType |
getBooleanType()
Obtains the instance of the PrimitiveType metatype, named
Boolean.
|
Class |
getClassType()
Obtains the single instance of the org.eclipse.ocl.pivot.Class metatype, named
Class.
|
CollectionType |
getCollectionType()
Obtains the generic instance of the CollectionType metatype, named
Collection(T).
|
CollectionType |
getCollectionType(Class containerType,
Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper) |
CollectionType |
getCollectionType(Class containerType,
Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
CompleteModelInternal |
getCompleteModel() |
String |
getDefaultStandardLibraryURI() |
Class |
getEnumerationType()
Obtains the single instance of the EnumerationType metatype, named
Enumeration.
|
CompleteInheritance |
getInheritance(Class type)
Return the Inheritance dispatch table for a given type.
|
PrimitiveType |
getIntegerType()
Obtains the instance of the PrimitiveType metatype, named
Integer.
|
Class |
getLibraryType(String typeName) |
MapType |
getMapType() |
MapType |
getMapType(Class containerType,
Type keyType,
Type valueType) |
Class |
getMetaclass(Type classType)
Return the instance of the Metaclass metatype whose class is classType.
|
Type |
getMetaType(Type instanceType)
Returns the meta-type of a given type.
|
Package |
getNsURIPackage(String nsURI) |
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.
|
Class |
getOclEnumerationType()
Obtains the single instance of the Class metatype, named
OclEnumeration.
|
Operation |
getOclInvalidOperation() |
Property |
getOclInvalidProperty() |
InvalidType |
getOclInvalidType()
Obtains the single instance of the InvalidType metatype, named
OclInvalid.
|
Class |
getOclLambdaType() |
Class |
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 |
getOclStereotypeType()
Obtains the single instance of the OclStereotype metatype, named
OclStereotype.
|
Class |
getOclSummableType()
Obtains the single instance of the OclSummable metatype, named
OclAny.
|
Class |
getOclTupleType()
Obtains the single instance of the OclTupleType metatype, named
OclVoid.
|
Type |
getOclType(String typeName) |
Class |
getOclTypeType() |
VoidType |
getOclVoidType()
Obtains the single instance of the VoidType metatype, named
OclVoid.
|
Element |
getOperationTemplateParameter(Operation anOperation,
int index) |
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).
|
CompleteEnvironment |
getOwningCompleteEnvironment() |
Package |
getPackage()
Obtains the package containing the library types
|
Type |
getPrimitiveType(PrimitiveTypeId typeId) |
PrimitiveType |
getRealType()
Obtains the instance of the PrimitiveType metatype, named
Real.
|
Class |
getRequiredLibraryType(String typeName) |
Package |
getRootPackage(String completeURIorName) |
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.
|
StandardLibraryInternal |
init(CompleteModelInternal completeModel) |
boolean |
isExplicitDefaultStandardLibraryURI() |
boolean |
isOrdered(Type sourceType) |
boolean |
isUnique(Type sourceType) |
Resource |
loadDefaultLibrary(String uri) |
void |
resetLibrary() |
void |
setDefaultStandardLibraryURI(String defaultStandardLibraryURI) |
void |
setOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment) |
allOwnedElements, eInvoke, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue, toStringgetESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloadedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitallOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic Property basicGetOclInvalidProperty
basicGetOclInvalidProperty in interface StandardLibraryInternalpublic static final String DEFAULT_OCL_STDLIB_URI
public CompleteEnvironment getOwningCompleteEnvironment()
getOwningCompleteEnvironment in interface StandardLibraryStandardLibrary.setOwningCompleteEnvironment(CompleteEnvironment),
PivotPackage.getStandardLibrary_OwningCompleteEnvironment(),
CompleteEnvironment.getOwnedStandardLibrary()public NotificationChain basicSetOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment, NotificationChain msgs)
public void setOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment)
setOwningCompleteEnvironment in interface StandardLibrarynewOwningCompleteEnvironment - the new value of the 'Owning Complete Environment' container reference.StandardLibrary.getOwningCompleteEnvironment()public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class ElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class ElementImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class ElementImplpublic void eSet(int featureID,
Object newValue)
eSet in class ElementImplpublic void eUnset(int featureID)
eUnset in class ElementImplpublic boolean eIsSet(int featureID)
eIsSet in class ElementImplpublic <R> R accept(Visitor<R> visitor)
public Operation basicGetOclInvalidOperation()
basicGetOclInvalidOperation in interface StandardLibraryInternalpublic Property basicGetOclInvalidProperty()
basicGetOclInvalidProperty in interface StandardLibraryInternalpublic InvalidType basicGetOclInvalidType()
basicGetOclInvalidType in interface StandardLibraryInternalpublic void defineLibraryType(Class pivotType)
defineLibraryType in interface StandardLibraryInternalpublic void dispose()
dispose in interface StandardLibraryInternalpublic Class getASClass(String className)
getASClass in interface StandardLibraryInternalpublic Iterable<? extends CompletePackage> getAllCompletePackages()
getAllCompletePackages in interface StandardLibrarypublic BagType getBagType()
StandardLibrarygetBagType in interface StandardLibraryInternalgetBagType in interface StandardLibrarypublic PrimitiveType getBehavioralClass(Class<?> instanceClass)
getBehavioralClass in interface StandardLibraryInternalpublic PrimitiveType getBooleanType()
StandardLibrarygetBooleanType in interface StandardLibraryInternalgetBooleanType in interface StandardLibrarypublic Class getClassType()
StandardLibrarygetClassType in interface StandardLibrarypublic CollectionType getCollectionType()
StandardLibrarygetCollectionType in interface StandardLibraryInternalgetCollectionType in interface StandardLibrarypublic CollectionType getCollectionType(Class containerType, Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
getCollectionType in interface StandardLibrarypublic CollectionType getCollectionType(Class containerType, Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getCollectionType in interface StandardLibrarypublic CompleteModelInternal getCompleteModel()
getCompleteModel in interface StandardLibraryInternalpublic String getDefaultStandardLibraryURI()
getDefaultStandardLibraryURI in interface StandardLibraryInternalpublic Class getEnumerationType()
StandardLibrarygetEnumerationType in interface StandardLibrarypublic CompleteInheritance getInheritance(Class type)
StandardLibrarygetInheritance in interface StandardLibrarypublic PrimitiveType getIntegerType()
StandardLibrarygetIntegerType in interface StandardLibraryInternalgetIntegerType in interface StandardLibrarypublic Class getLibraryType(String typeName)
getLibraryType in interface StandardLibraryInternalpublic MapType getMapType()
getMapType in interface StandardLibrarypublic MapType getMapType(Class containerType, Type keyType, Type valueType)
getMapType in interface StandardLibrarypublic Class getMetaclass(Type classType)
StandardLibrarygetMetaclass in interface StandardLibrarypublic Type getMetaType(Type instanceType)
StandardLibrarygetMetaType in interface StandardLibrarypublic Package getNsURIPackage(String nsURI)
getNsURIPackage in interface StandardLibrarypublic AnyType getOclAnyType()
StandardLibrarygetOclAnyType in interface StandardLibraryInternalgetOclAnyType in interface StandardLibrarypublic Class getOclComparableType()
StandardLibrarygetOclComparableType in interface StandardLibrarypublic Class getOclElementType()
StandardLibrarygetOclElementType in interface StandardLibrarypublic Class getOclEnumerationType()
StandardLibrary.StandardLibraryExtensiongetOclEnumerationType in interface StandardLibrary.StandardLibraryExtensionpublic Operation getOclInvalidOperation()
getOclInvalidOperation in interface StandardLibrarypublic Property getOclInvalidProperty()
getOclInvalidProperty in interface StandardLibraryInternalgetOclInvalidProperty in interface StandardLibrarypublic InvalidType getOclInvalidType()
StandardLibrarygetOclInvalidType in interface StandardLibraryInternalgetOclInvalidType in interface StandardLibrarypublic Class getOclLambdaType()
getOclLambdaType in interface StandardLibraryInternalpublic Class getOclMessageType()
StandardLibrarygetOclMessageType in interface StandardLibrarypublic SelfType getOclSelfType()
StandardLibrarygetOclSelfType in interface StandardLibrarypublic Class getOclStereotypeType()
StandardLibrarygetOclStereotypeType in interface StandardLibrarypublic Class getOclSummableType()
StandardLibrarygetOclSummableType in interface StandardLibrarypublic Class getOclTupleType()
StandardLibrarygetOclTupleType in interface StandardLibrarypublic Type getOclType(String typeName)
getOclType in interface StandardLibrarypublic Class getOclTypeType()
getOclTypeType in interface StandardLibraryInternalpublic VoidType getOclVoidType()
StandardLibrarygetOclVoidType in interface StandardLibraryInternalgetOclVoidType in interface StandardLibrarypublic Element getOperationTemplateParameter(Operation anOperation, int index)
getOperationTemplateParameter in interface StandardLibrarypublic CollectionType getOrderedCollectionType()
StandardLibrarygetOrderedCollectionType in interface StandardLibraryInternalgetOrderedCollectionType in interface StandardLibrarypublic OrderedSetType getOrderedSetType()
StandardLibrarygetOrderedSetType in interface StandardLibraryInternalgetOrderedSetType in interface StandardLibrarypublic Package getPackage()
StandardLibrarygetPackage in interface StandardLibrarypublic Type getPrimitiveType(PrimitiveTypeId typeId)
getPrimitiveType in interface StandardLibrarypublic PrimitiveType getRealType()
StandardLibrarygetRealType in interface StandardLibraryInternalgetRealType in interface StandardLibrarypublic Class getRequiredLibraryType(String typeName)
getRequiredLibraryType in interface StandardLibraryInternalpublic Package getRootPackage(String completeURIorName)
getRootPackage in interface StandardLibrarypublic SequenceType getSequenceType()
StandardLibrarygetSequenceType in interface StandardLibraryInternalgetSequenceType in interface StandardLibrarypublic SetType getSetType()
StandardLibrarygetSetType in interface StandardLibraryInternalgetSetType in interface StandardLibrarypublic PrimitiveType getStringType()
StandardLibrarygetStringType in interface StandardLibraryInternalgetStringType in interface StandardLibrarypublic CollectionType getUniqueCollectionType()
StandardLibrarygetUniqueCollectionType in interface StandardLibraryInternalgetUniqueCollectionType in interface StandardLibrarypublic PrimitiveType getUnlimitedNaturalType()
StandardLibrarygetUnlimitedNaturalType in interface StandardLibraryInternalgetUnlimitedNaturalType in interface StandardLibrarypublic StandardLibraryInternal init(CompleteModelInternal completeModel)
init in interface StandardLibraryInternalpublic boolean isExplicitDefaultStandardLibraryURI()
isExplicitDefaultStandardLibraryURI in interface StandardLibraryInternalpublic boolean isOrdered(Type sourceType)
public boolean isUnique(Type sourceType)
public Resource loadDefaultLibrary(String uri)
loadDefaultLibrary in interface StandardLibraryInternalpublic void resetLibrary()
public void setDefaultStandardLibraryURI(String defaultStandardLibraryURI)
setDefaultStandardLibraryURI in interface StandardLibraryInternalCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.