org.eclipse.ocl.examples.domain.types
Interface IdResolver

All Superinterfaces:
IdVisitor<DomainElement>
All Known Implementing Classes:
AbstractIdResolver, EcoreIdResolver, PivotIdResolver

public interface IdResolver
extends IdVisitor<DomainElement>

IdResolver supports discovery/creation of rich Pivot-based objects from limited descriptors such as ElementIds, or from Ecore objects or from Java objects.


Method Summary
 java.lang.Object boxedValueOf(java.lang.Object unboxedValue)
           
 java.lang.Object boxedValueOf(java.lang.Object unboxedValue, org.eclipse.emf.ecore.EClassifier eClassifier)
           
 java.lang.Object boxedValueOf(java.lang.Object unboxedValue, org.eclipse.emf.ecore.ETypedElement eFeature, TypeId typeId)
           
 BagValue createBagOfAll(CollectionTypeId typeId, java.lang.Iterable<? extends java.lang.Object> unboxedValues)
           
 BagValue createBagOfEach(CollectionTypeId typeId, java.lang.Object... unboxedValues)
           
 CollectionValue createCollectionOfAll(boolean isOrdered, boolean isUnique, TypeId elementTypeId, java.lang.Iterable<? extends java.lang.Object> unboxedValues)
           
 CollectionValue createCollectionOfAll(CollectionTypeId collectedId, java.lang.Iterable<?> unboxedValues)
           
 java.lang.Object createInstance(TypeId typeId, java.lang.String stringValue)
           
 OrderedSetValue createOrderedSetOfAll(CollectionTypeId typeId, java.lang.Iterable<? extends java.lang.Object> unboxedValues)
           
 OrderedSetValue createOrderedSetOfEach(CollectionTypeId typeId, java.lang.Object... unboxedValues)
           
 SequenceValue createSequenceOfAll(CollectionTypeId typeId, java.lang.Iterable<? extends java.lang.Object> unboxedValues)
           
 SequenceValue createSequenceOfEach(CollectionTypeId typeId, java.lang.Object... unboxedValues)
           
 SetValue createSetOfAll(CollectionTypeId typeId, java.lang.Iterable<? extends java.lang.Object> unboxedValues)
           
 SetValue createSetOfEach(CollectionTypeId typeId, java.lang.Object... unboxedValues)
           
 void dispose()
           
 DomainType getCollectionType(CollectionTypeId typeId)
           
 DomainType getDynamicTypeOf(java.lang.Iterable<?> values)
           
 DomainType getDynamicTypeOf(java.lang.Object... values)
           
 DomainType getDynamicTypeOf(java.lang.Object value)
           
 DomainType getJavaType(java.lang.Class<?> javaClass)
           
 DomainType getMetaclass(MetaclassId metaclassId)
           
 DomainOperation getOperation(OperationId operationId)
           
 DomainProperty getProperty(PropertyId propertyId)
           
 DomainStandardLibrary getStandardLibrary()
           
 DomainType getStaticTypeOf(java.lang.Object value)
           
 DomainType getStaticTypeOf(java.lang.Object value, java.lang.Iterable<?> values)
           
 DomainType getStaticTypeOf(java.lang.Object value, java.lang.Object... values)
           
 DomainTypedElement getTuplePart(java.lang.String name, TypeId typeId)
           
 DomainTupleType getTupleType(TupleTypeId typeId)
           
 DomainType getType(org.eclipse.emf.ecore.EClassifier eClassifier)
           
 DomainType getType(TypeId typeId, java.lang.Object context)
           
 boolean oclEquals(java.lang.Object thisValue, java.lang.Object thatValue)
           
 org.eclipse.emf.common.util.Enumerator unboxedValueOf(EnumerationLiteralId enumerationLiteralId)
           
 java.lang.Object unboxedValueOf(java.lang.Object boxedValue)
           
 org.eclipse.emf.common.util.EList<java.lang.Object> unboxedValuesOfAll(java.util.Collection<? extends java.lang.Object> boxedValues)
           
 org.eclipse.emf.common.util.EList<java.lang.Object> unboxedValuesOfEach(java.lang.Object... boxedValues)
           
 
Methods inherited from interface org.eclipse.ocl.examples.domain.ids.IdVisitor
visitClassId, visitCollectionTypeId, visitDataTypeId, visitEnumerationId, visitEnumerationLiteralId, visitInvalidId, visitLambdaTypeId, visitMetaclassId, visitNestedPackageId, visitNsURIPackageId, visitNullId, visitOperationId, visitPrimitiveTypeId, visitPropertyId, visitRootPackageId, visitTemplateableTypeId, visitTemplateBinding, visitTemplateParameterId, visitTuplePartId, visitTupleTypeId, visitUnspecifiedId
 

Method Detail

boxedValueOf

@Nullable
java.lang.Object boxedValueOf(@Nullable
                                       java.lang.Object unboxedValue)

boxedValueOf

@Nullable
java.lang.Object boxedValueOf(@NonNull
                                       java.lang.Object unboxedValue,
                                       @Nullable
                                       org.eclipse.emf.ecore.EClassifier eClassifier)

boxedValueOf

@Nullable
java.lang.Object boxedValueOf(@NonNull
                                       java.lang.Object unboxedValue,
                                       @NonNull
                                       org.eclipse.emf.ecore.ETypedElement eFeature,
                                       @Nullable
                                       TypeId typeId)

createBagOfAll

@NonNull
BagValue createBagOfAll(@NonNull
                                CollectionTypeId typeId,
                                @NonNull
                                java.lang.Iterable<? extends java.lang.Object> unboxedValues)

createBagOfEach

@NonNull
BagValue createBagOfEach(@NonNull
                                 CollectionTypeId typeId,
                                 @NonNull
                                 java.lang.Object... unboxedValues)

createCollectionOfAll

@NonNull
CollectionValue createCollectionOfAll(boolean isOrdered,
                                              boolean isUnique,
                                              @NonNull
                                              TypeId elementTypeId,
                                              @NonNull
                                              java.lang.Iterable<? extends java.lang.Object> unboxedValues)

createCollectionOfAll

@NonNull
CollectionValue createCollectionOfAll(@NonNull
                                              CollectionTypeId collectedId,
                                              @NonNull
                                              java.lang.Iterable<?> unboxedValues)

createInstance

@Nullable
java.lang.Object createInstance(@NonNull
                                         TypeId typeId,
                                         @NonNull
                                         java.lang.String stringValue)

createOrderedSetOfAll

@NonNull
OrderedSetValue createOrderedSetOfAll(@NonNull
                                              CollectionTypeId typeId,
                                              @NonNull
                                              java.lang.Iterable<? extends java.lang.Object> unboxedValues)

createOrderedSetOfEach

@NonNull
OrderedSetValue createOrderedSetOfEach(@NonNull
                                               CollectionTypeId typeId,
                                               @NonNull
                                               java.lang.Object... unboxedValues)

createSequenceOfAll

@NonNull
SequenceValue createSequenceOfAll(@NonNull
                                          CollectionTypeId typeId,
                                          @NonNull
                                          java.lang.Iterable<? extends java.lang.Object> unboxedValues)

createSequenceOfEach

@NonNull
SequenceValue createSequenceOfEach(@NonNull
                                           CollectionTypeId typeId,
                                           @NonNull
                                           java.lang.Object... unboxedValues)

createSetOfAll

@NonNull
SetValue createSetOfAll(@NonNull
                                CollectionTypeId typeId,
                                @NonNull
                                java.lang.Iterable<? extends java.lang.Object> unboxedValues)

createSetOfEach

@NonNull
SetValue createSetOfEach(@NonNull
                                 CollectionTypeId typeId,
                                 @NonNull
                                 java.lang.Object... unboxedValues)

dispose

void dispose()

getCollectionType

@NonNull
DomainType getCollectionType(@NonNull
                                     CollectionTypeId typeId)

getDynamicTypeOf

@NonNull
DomainType getDynamicTypeOf(@Nullable
                                    java.lang.Object value)

getDynamicTypeOf

@Nullable
DomainType getDynamicTypeOf(@NonNull
                                     java.lang.Object... values)

getDynamicTypeOf

@Nullable
DomainType getDynamicTypeOf(@NonNull
                                     java.lang.Iterable<?> values)

getJavaType

@NonNull
DomainType getJavaType(@NonNull
                               java.lang.Class<?> javaClass)

getMetaclass

@NonNull
DomainType getMetaclass(@NonNull
                                MetaclassId metaclassId)

getOperation

@NonNull
DomainOperation getOperation(@NonNull
                                     OperationId operationId)

getProperty

@NonNull
DomainProperty getProperty(@NonNull
                                   PropertyId propertyId)

getStandardLibrary

@NonNull
DomainStandardLibrary getStandardLibrary()

getStaticTypeOf

@NonNull
DomainType getStaticTypeOf(@Nullable
                                   java.lang.Object value)

getStaticTypeOf

@NonNull
DomainType getStaticTypeOf(@Nullable
                                   java.lang.Object value,
                                   java.lang.Object... values)

getStaticTypeOf

@NonNull
DomainType getStaticTypeOf(@Nullable
                                   java.lang.Object value,
                                   @NonNull
                                   java.lang.Iterable<?> values)

getTuplePart

@NonNull
DomainTypedElement getTuplePart(@NonNull
                                        java.lang.String name,
                                        @NonNull
                                        TypeId typeId)

getTupleType

@NonNull
DomainTupleType getTupleType(@NonNull
                                     TupleTypeId typeId)

getType

@NonNull
DomainType getType(@NonNull
                           org.eclipse.emf.ecore.EClassifier eClassifier)

getType

@NonNull
DomainType getType(@NonNull
                           TypeId typeId,
                           @Nullable
                           java.lang.Object context)

oclEquals

boolean oclEquals(@Nullable
                  java.lang.Object thisValue,
                  @Nullable
                  java.lang.Object thatValue)

unboxedValueOf

@Nullable
java.lang.Object unboxedValueOf(@Nullable
                                         java.lang.Object boxedValue)

unboxedValueOf

@NonNull
org.eclipse.emf.common.util.Enumerator unboxedValueOf(@NonNull
                                                              EnumerationLiteralId enumerationLiteralId)

unboxedValuesOfAll

@NonNull
org.eclipse.emf.common.util.EList<java.lang.Object> unboxedValuesOfAll(@NonNull
                                                                               java.util.Collection<? extends java.lang.Object> boxedValues)

unboxedValuesOfEach

@NonNull
org.eclipse.emf.common.util.EList<java.lang.Object> unboxedValuesOfEach(@NonNull
                                                                                java.lang.Object... boxedValues)