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, toString
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public Property basicGetOclInvalidProperty
basicGetOclInvalidProperty
in interface StandardLibraryInternal
public static final String DEFAULT_OCL_STDLIB_URI
public CompleteEnvironment getOwningCompleteEnvironment()
getOwningCompleteEnvironment
in interface StandardLibrary
StandardLibrary.setOwningCompleteEnvironment(CompleteEnvironment)
,
PivotPackage.getStandardLibrary_OwningCompleteEnvironment()
,
CompleteEnvironment.getOwnedStandardLibrary()
public NotificationChain basicSetOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment, NotificationChain msgs)
public void setOwningCompleteEnvironment(CompleteEnvironment newOwningCompleteEnvironment)
setOwningCompleteEnvironment
in interface StandardLibrary
newOwningCompleteEnvironment
- the new value of the 'Owning Complete Environment' container reference.StandardLibrary.getOwningCompleteEnvironment()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class ElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class ElementImpl
public void eSet(int featureID, Object newValue)
eSet
in class ElementImpl
public void eUnset(int featureID)
eUnset
in class ElementImpl
public boolean eIsSet(int featureID)
eIsSet
in class ElementImpl
public <R> R accept(Visitor<R> visitor)
public Operation basicGetOclInvalidOperation()
basicGetOclInvalidOperation
in interface StandardLibraryInternal
public Property basicGetOclInvalidProperty()
basicGetOclInvalidProperty
in interface StandardLibraryInternal
public InvalidType basicGetOclInvalidType()
basicGetOclInvalidType
in interface StandardLibraryInternal
public void defineLibraryType(Class pivotType)
defineLibraryType
in interface StandardLibraryInternal
public void dispose()
dispose
in interface StandardLibraryInternal
public Class getASClass(String className)
getASClass
in interface StandardLibraryInternal
public Iterable<? extends CompletePackage> getAllCompletePackages()
getAllCompletePackages
in interface StandardLibrary
public BagType getBagType()
StandardLibrary
getBagType
in interface StandardLibraryInternal
getBagType
in interface StandardLibrary
public PrimitiveType getBehavioralClass(Class<?> instanceClass)
getBehavioralClass
in interface StandardLibraryInternal
public PrimitiveType getBooleanType()
StandardLibrary
getBooleanType
in interface StandardLibraryInternal
getBooleanType
in interface StandardLibrary
public Class getClassType()
StandardLibrary
getClassType
in interface StandardLibrary
public CollectionType getCollectionType()
StandardLibrary
getCollectionType
in interface StandardLibraryInternal
getCollectionType
in interface StandardLibrary
public CollectionType getCollectionType(Class containerType, Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
getCollectionType
in interface StandardLibrary
public CollectionType getCollectionType(Class containerType, Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getCollectionType
in interface StandardLibrary
public CompleteModelInternal getCompleteModel()
getCompleteModel
in interface StandardLibraryInternal
public String getDefaultStandardLibraryURI()
getDefaultStandardLibraryURI
in interface StandardLibraryInternal
public Class getEnumerationType()
StandardLibrary
getEnumerationType
in interface StandardLibrary
public CompleteInheritance getInheritance(Class type)
StandardLibrary
getInheritance
in interface StandardLibrary
public PrimitiveType getIntegerType()
StandardLibrary
getIntegerType
in interface StandardLibraryInternal
getIntegerType
in interface StandardLibrary
public Class getLibraryType(String typeName)
getLibraryType
in interface StandardLibraryInternal
public MapType getMapType()
getMapType
in interface StandardLibrary
public MapType getMapType(Class containerType, Type keyType, Type valueType)
getMapType
in interface StandardLibrary
public Class getMetaclass(Type classType)
StandardLibrary
getMetaclass
in interface StandardLibrary
public Type getMetaType(Type instanceType)
StandardLibrary
getMetaType
in interface StandardLibrary
public Package getNsURIPackage(String nsURI)
getNsURIPackage
in interface StandardLibrary
public AnyType getOclAnyType()
StandardLibrary
getOclAnyType
in interface StandardLibraryInternal
getOclAnyType
in interface StandardLibrary
public Class getOclComparableType()
StandardLibrary
getOclComparableType
in interface StandardLibrary
public Class getOclElementType()
StandardLibrary
getOclElementType
in interface StandardLibrary
public Class getOclEnumerationType()
StandardLibrary.StandardLibraryExtension
getOclEnumerationType
in interface StandardLibrary.StandardLibraryExtension
public Operation getOclInvalidOperation()
getOclInvalidOperation
in interface StandardLibrary
public Property getOclInvalidProperty()
getOclInvalidProperty
in interface StandardLibraryInternal
getOclInvalidProperty
in interface StandardLibrary
public InvalidType getOclInvalidType()
StandardLibrary
getOclInvalidType
in interface StandardLibraryInternal
getOclInvalidType
in interface StandardLibrary
public Class getOclLambdaType()
getOclLambdaType
in interface StandardLibraryInternal
public Class getOclMessageType()
StandardLibrary
getOclMessageType
in interface StandardLibrary
public SelfType getOclSelfType()
StandardLibrary
getOclSelfType
in interface StandardLibrary
public Class getOclStereotypeType()
StandardLibrary
getOclStereotypeType
in interface StandardLibrary
public Class getOclSummableType()
StandardLibrary
getOclSummableType
in interface StandardLibrary
public Class getOclTupleType()
StandardLibrary
getOclTupleType
in interface StandardLibrary
public Type getOclType(String typeName)
getOclType
in interface StandardLibrary
public Class getOclTypeType()
getOclTypeType
in interface StandardLibraryInternal
public VoidType getOclVoidType()
StandardLibrary
getOclVoidType
in interface StandardLibraryInternal
getOclVoidType
in interface StandardLibrary
public Element getOperationTemplateParameter(Operation anOperation, int index)
getOperationTemplateParameter
in interface StandardLibrary
public CollectionType getOrderedCollectionType()
StandardLibrary
getOrderedCollectionType
in interface StandardLibraryInternal
getOrderedCollectionType
in interface StandardLibrary
public OrderedSetType getOrderedSetType()
StandardLibrary
getOrderedSetType
in interface StandardLibraryInternal
getOrderedSetType
in interface StandardLibrary
public Package getPackage()
StandardLibrary
getPackage
in interface StandardLibrary
public Type getPrimitiveType(PrimitiveTypeId typeId)
getPrimitiveType
in interface StandardLibrary
public PrimitiveType getRealType()
StandardLibrary
getRealType
in interface StandardLibraryInternal
getRealType
in interface StandardLibrary
public Class getRequiredLibraryType(String typeName)
getRequiredLibraryType
in interface StandardLibraryInternal
public Package getRootPackage(String completeURIorName)
getRootPackage
in interface StandardLibrary
public SequenceType getSequenceType()
StandardLibrary
getSequenceType
in interface StandardLibraryInternal
getSequenceType
in interface StandardLibrary
public SetType getSetType()
StandardLibrary
getSetType
in interface StandardLibraryInternal
getSetType
in interface StandardLibrary
public PrimitiveType getStringType()
StandardLibrary
getStringType
in interface StandardLibraryInternal
getStringType
in interface StandardLibrary
public CollectionType getUniqueCollectionType()
StandardLibrary
getUniqueCollectionType
in interface StandardLibraryInternal
getUniqueCollectionType
in interface StandardLibrary
public PrimitiveType getUnlimitedNaturalType()
StandardLibrary
getUnlimitedNaturalType
in interface StandardLibraryInternal
getUnlimitedNaturalType
in interface StandardLibrary
public StandardLibraryInternal init(CompleteModelInternal completeModel)
init
in interface StandardLibraryInternal
public boolean isExplicitDefaultStandardLibraryURI()
isExplicitDefaultStandardLibraryURI
in interface StandardLibraryInternal
public boolean isOrdered(Type sourceType)
public boolean isUnique(Type sourceType)
public Resource loadDefaultLibrary(String uri)
loadDefaultLibrary
in interface StandardLibraryInternal
public void resetLibrary()
public void setDefaultStandardLibraryURI(String defaultStandardLibraryURI)
setDefaultStandardLibraryURI
in interface StandardLibraryInternal
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.