|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.parser.OCLFactoryWithHistory
public class OCLFactoryWithHistory
A wrapper for OCLFactorys that records a history of the objects
created by it. This is useful in case any objects that were created ended
up not being used, because an error occurred in parsing, and thus need to
be {@linkplain ObjectUtil#dispose() disposed).
| Field Summary | |
|---|---|
protected OCLFactory |
delegate
|
| Constructor Summary | |
|---|---|
OCLFactoryWithHistory(OCLFactory delegate)
|
|
| Method Summary | ||
|---|---|---|
void |
clear()
|
|
|
createAssociationClassCallExp()
Returns a new object of class 'Association Class Call Exp'. |
|
|
createBagType(C elementType)
Returns a new object of class 'Bag Type'. |
|
|
createBooleanLiteralExp()
Returns a new object of class 'Boolean Literal Exp'. |
|
|
createCollectionItem()
Returns a new object of class 'Collection Item'. |
|
|
createCollectionLiteralExp()
Returns a new object of class 'Collection Literal Exp'. |
|
|
createCollectionRange()
Returns a new object of class 'Collection Range'. |
|
|
createCollectionType(C elementType)
Returns a new object of class 'Collection Type'. |
|
|
createCollectionType(CollectionKind kind,
C elementType)
Returns a new object of class 'Collection Type'. |
|
|
createEnumLiteralExp()
Returns a new object of class 'Enum Literal Exp'. |
|
|
createIfExp()
Returns a new object of class 'If Exp'. |
|
|
createIntegerLiteralExp()
Returns a new object of class 'Integer Literal Exp'. |
|
|
createInvalidLiteralExp()
Returns a new object of class 'Invalid Literal Exp'. |
|
|
createIterateExp()
Returns a new object of class 'Iterate Exp'. |
|
|
createIteratorExp()
Returns a new object of class 'Iterator Exp'. |
|
|
createLetExp()
Returns a new object of class 'Let Exp'. |
|
|
createMessageExp()
Returns a new object of class 'Message Exp'. |
|
|
createNullLiteralExp()
Returns a new object of class 'Null Literal Exp'. |
|
|
createOperationCallExp()
Returns a new object of class 'Operation Call Exp'. |
|
|
createOperationMessageType(O operation)
Creates the type for the messages representing invocation of the specified operation. |
|
|
createOrderedSetType(C elementType)
Returns a new object of class 'Ordered Set Type'. |
|
|
createPropertyCallExp()
Returns a new object of class 'Property Call Exp'. |
|
|
createRealLiteralExp()
Returns a new object of class 'Real Literal Exp'. |
|
|
createSequenceType(C elementType)
Returns a new object of class 'Sequence Type'. |
|
|
createSetType(C elementType)
Returns a new object of class 'Set Type'. |
|
|
createSignalMessageType(C signal)
Creates the type for the messages representing invocation of the specified signal. |
|
|
createStateExp()
Returns a new object of class 'State Exp'. |
|
|
createStringLiteralExp()
Returns a new object of class 'String Literal Exp'. |
|
|
createTupleLiteralExp()
Returns a new object of class 'Tuple Literal Exp'. |
|
|
createTupleLiteralPart()
Returns a new object of class 'Tuple Literal Part'. |
|
|
createTupleType(java.util.List<? extends TypedElement<C>> parts)
Creates a tuple type based on tthe specified part descriptions. |
|
|
createTypeExp()
Returns a new object of class 'Type Exp'. |
|
|
createTypeType(C type)
Returns a new object of class 'Type Type'. |
|
|
createUnlimitedNaturalLiteralExp()
Returns a new object of class 'Unlimited Natural Literal Exp'. |
|
|
createUnspecifiedValueExp()
Returns a new object of class 'Unspecified Value Exp'. |
|
|
createVariable()
Returns a new object of class 'Variable'. |
|
|
createVariableExp()
Returns a new object of class 'Variable Exp'. |
|
protected
|
record(T object)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final OCLFactory delegate
| Constructor Detail |
|---|
public OCLFactoryWithHistory(OCLFactory delegate)
| Method Detail |
|---|
public void clear()
protected <T> T record(T object)
public <C,P> AssociationClassCallExp<C,P> createAssociationClassCallExp()
OCLFactory
createAssociationClassCallExp in interface OCLFactorypublic <C,O> BagType<C,O> createBagType(C elementType)
OCLFactory
createBagType in interface OCLFactorypublic <C> BooleanLiteralExp<C> createBooleanLiteralExp()
OCLFactory
createBooleanLiteralExp in interface OCLFactorypublic <C> CollectionItem<C> createCollectionItem()
OCLFactory
createCollectionItem in interface OCLFactorypublic <C> CollectionLiteralExp<C> createCollectionLiteralExp()
OCLFactory
createCollectionLiteralExp in interface OCLFactorypublic <C> CollectionRange<C> createCollectionRange()
OCLFactory
createCollectionRange in interface OCLFactorypublic <C,O> CollectionType<C,O> createCollectionType(C elementType)
OCLFactory
createCollectionType in interface OCLFactory
public <C,O> CollectionType<C,O> createCollectionType(CollectionKind kind,
C elementType)
OCLFactory
createCollectionType in interface OCLFactorypublic <C,EL> EnumLiteralExp<C,EL> createEnumLiteralExp()
OCLFactory
createEnumLiteralExp in interface OCLFactorypublic <C> IfExp<C> createIfExp()
OCLFactory
createIfExp in interface OCLFactorypublic <C> IntegerLiteralExp<C> createIntegerLiteralExp()
OCLFactory
createIntegerLiteralExp in interface OCLFactorypublic <C> InvalidLiteralExp<C> createInvalidLiteralExp()
OCLFactory
createInvalidLiteralExp in interface OCLFactorypublic <C,PM> IterateExp<C,PM> createIterateExp()
OCLFactory
createIterateExp in interface OCLFactorypublic <C,PM> IteratorExp<C,PM> createIteratorExp()
OCLFactory
createIteratorExp in interface OCLFactorypublic <C,PM> LetExp<C,PM> createLetExp()
OCLFactory
createLetExp in interface OCLFactorypublic <C,COA,SSA> MessageExp<C,COA,SSA> createMessageExp()
OCLFactory
createMessageExp in interface OCLFactorypublic <C> NullLiteralExp<C> createNullLiteralExp()
OCLFactory
createNullLiteralExp in interface OCLFactorypublic <C,O> OperationCallExp<C,O> createOperationCallExp()
OCLFactory
createOperationCallExp in interface OCLFactorypublic <C,O,P> MessageType<C,O,P> createOperationMessageType(O operation)
OCLFactory
createOperationMessageType in interface OCLFactoryoperation - a called operation
public <C,O> OrderedSetType<C,O> createOrderedSetType(C elementType)
OCLFactory
createOrderedSetType in interface OCLFactorypublic <C,P> PropertyCallExp<C,P> createPropertyCallExp()
OCLFactory
createPropertyCallExp in interface OCLFactorypublic <C> RealLiteralExp<C> createRealLiteralExp()
OCLFactory
createRealLiteralExp in interface OCLFactorypublic <C,O> SequenceType<C,O> createSequenceType(C elementType)
OCLFactory
createSequenceType in interface OCLFactorypublic <C,O> SetType<C,O> createSetType(C elementType)
OCLFactory
createSetType in interface OCLFactorypublic <C,O,P> MessageType<C,O,P> createSignalMessageType(C signal)
OCLFactory
createSignalMessageType in interface OCLFactorysignal - either a sent signal
public <C,S> StateExp<C,S> createStateExp()
OCLFactory
createStateExp in interface OCLFactorypublic <C> StringLiteralExp<C> createStringLiteralExp()
OCLFactory
createStringLiteralExp in interface OCLFactorypublic <C,P> TupleLiteralExp<C,P> createTupleLiteralExp()
OCLFactory
createTupleLiteralExp in interface OCLFactorypublic <C,P> TupleLiteralPart<C,P> createTupleLiteralPart()
OCLFactory
createTupleLiteralPart in interface OCLFactorypublic <C,O,P> TupleType<O,P> createTupleType(java.util.List<? extends TypedElement<C>> parts)
OCLFactory
createTupleType in interface OCLFactoryparts - a list of TypedElements describing the tuple parts
public <C> TypeExp<C> createTypeExp()
OCLFactory
createTypeExp in interface OCLFactorypublic <C,O> TypeType<C,O> createTypeType(C type)
OCLFactory
createTypeType in interface OCLFactorypublic <C> UnlimitedNaturalLiteralExp<C> createUnlimitedNaturalLiteralExp()
OCLFactory
createUnlimitedNaturalLiteralExp in interface OCLFactorypublic <C> UnspecifiedValueExp<C> createUnspecifiedValueExp()
OCLFactory
createUnspecifiedValueExp in interface OCLFactorypublic <C,PM> Variable<C,PM> createVariable()
OCLFactory
createVariable in interface OCLFactorypublic <C,PM> VariableExp<C,PM> createVariableExp()
OCLFactory
createVariableExp in interface OCLFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||