|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.domain.ids.IdManager
public final class IdManager
IdManager supervises the thread-safe allocation of unique hierarchical identifier to each metamodel element.
ElementId.
Field Summary | |
---|---|
static IdManager |
INSTANCE
Deprecated. |
Method Summary | |
---|---|
static BindingsId |
getBindingsId(DomainType... types)
|
static BindingsId |
getBindingsId(ElementId... elementIds)
Return the bindingsId for a given type list. |
static ClassId |
getClassId(DomainType aType)
Return the classId for aType. |
static CollectionTypeId |
getCollectionTypeId(java.lang.String collectionTypeName)
Return the named collection typeId. |
static DataTypeId |
getDataTypeId(DomainType aType)
Return the dataTypeId for aType. |
static EnumerationId |
getEnumerationId(DomainEnumeration anEnumeration)
Return the typeId for aType. |
static EnumerationId |
getEnumerationId(org.eclipse.emf.ecore.EEnum eEnum)
Return the typeId for an EEnum. |
static EnumerationLiteralId |
getEnumerationLiteralId(org.eclipse.emf.ecore.EEnumLiteral eEnumLiteral)
|
static LambdaTypeId |
getLambdaTypeId(DomainLambdaType lambdaType)
Return the typeId for aLambdaType. |
static LambdaTypeId |
getLambdaTypeId(java.lang.String name,
ParametersId parametersId)
Return the named lambda typeId with the defined type parameters. |
static LambdaTypeId |
getLambdaTypeId(java.lang.String name,
TypeId... typeIds)
Return the named lambda typeId with the defined type parameters. |
static NsURIPackageId |
getNsURIPackageId(java.lang.String nsURI,
org.eclipse.emf.ecore.EPackage ePackage)
Deprecated. |
static NsURIPackageId |
getNsURIPackageId(java.lang.String nsURI,
java.lang.String nsPrefix,
org.eclipse.emf.ecore.EPackage ePackage)
|
static OperationId |
getOperationId(DomainOperation anOperation)
Return the OperationId for anOperation. |
static TupleTypeId |
getOrderedTupleTypeId(java.lang.String name,
TuplePartId[] parts)
Return the named tuple typeId with the defined parts (which are alphabetically ordered by part name). |
static PackageId |
getPackageId(DomainPackage aPackage)
Return the typeId for aPackage. |
static PackageId |
getPackageId(org.eclipse.emf.ecore.EPackage aPackage)
Return the typeId for ePackage. |
static ParametersId |
getParametersId(DomainType[] parameterTypes)
|
static ParametersId |
getParametersId(TypeId... typeIds)
Return the parametersId for a given type list. |
static PrimitiveTypeId |
getPrimitiveTypeId(java.lang.String name)
Return the named primitive typeId. |
static PropertyId |
getPropertyId(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Return the propertyId for an EStructuralFeature. |
static RootPackageId |
getRootPackageId(java.lang.String name)
Return the URI-less unnested package typeId. |
static TemplateParameterId |
getTemplateParameterId(int index)
|
static TuplePartId |
getTuplePartId(int index,
java.lang.String name,
TypeId typeId)
Return the named tuplePartId with the defined name and type. |
static TupleTypeId |
getTupleTypeId(java.lang.String name,
java.util.Collection<? extends TuplePartId> parts)
Return the named tuple typeId with the defined parts (which need not be alphabetically ordered). |
static TupleTypeId |
getTupleTypeId(java.lang.String name,
TuplePartId... parts)
|
static TypeId |
getTypeId(org.eclipse.emf.ecore.EClassifier eClassifier)
Return the typeId for an EClassifier. |
static UnspecifiedIdImpl |
getUnspecifiedTypeId(DomainType aType)
Return the typeId for aType. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated @NonNull public static IdManager INSTANCE
Method Detail |
---|
@NonNull public static BindingsId getBindingsId(@NonNull DomainType... types)
@NonNull public static BindingsId getBindingsId(@NonNull ElementId... elementIds)
@NonNull public static ClassId getClassId(@NonNull DomainType aType)
@NonNull public static CollectionTypeId getCollectionTypeId(@NonNull java.lang.String collectionTypeName)
@NonNull public static DataTypeId getDataTypeId(@NonNull DomainType aType)
@NonNull public static EnumerationId getEnumerationId(@NonNull DomainEnumeration anEnumeration)
@NonNull public static EnumerationId getEnumerationId(@NonNull org.eclipse.emf.ecore.EEnum eEnum)
@NonNull public static EnumerationLiteralId getEnumerationLiteralId(@NonNull org.eclipse.emf.ecore.EEnumLiteral eEnumLiteral)
@NonNull public static LambdaTypeId getLambdaTypeId(@NonNull DomainLambdaType lambdaType)
@NonNull public static LambdaTypeId getLambdaTypeId(@NonNull java.lang.String name, @NonNull TypeId... typeIds)
@NonNull public static LambdaTypeId getLambdaTypeId(@NonNull java.lang.String name, @NonNull ParametersId parametersId)
@Deprecated @NonNull public static NsURIPackageId getNsURIPackageId(@NonNull java.lang.String nsURI, @Nullable org.eclipse.emf.ecore.EPackage ePackage)
@NonNull public static NsURIPackageId getNsURIPackageId(@NonNull java.lang.String nsURI, @Nullable java.lang.String nsPrefix, @Nullable org.eclipse.emf.ecore.EPackage ePackage)
@NonNull public static OperationId getOperationId(@NonNull DomainOperation anOperation)
@NonNull public static TupleTypeId getOrderedTupleTypeId(@NonNull java.lang.String name, @NonNull TuplePartId[] parts)
@NonNull public static PackageId getPackageId(@NonNull DomainPackage aPackage)
@NonNull public static PackageId getPackageId(@NonNull org.eclipse.emf.ecore.EPackage aPackage)
@NonNull public static ParametersId getParametersId(@NonNull DomainType[] parameterTypes)
@NonNull public static ParametersId getParametersId(@NonNull TypeId... typeIds)
@NonNull public static PrimitiveTypeId getPrimitiveTypeId(@NonNull java.lang.String name)
@NonNull public static PropertyId getPropertyId(@NonNull org.eclipse.emf.ecore.EStructuralFeature eFeature)
@NonNull public static RootPackageId getRootPackageId(@NonNull java.lang.String name)
@NonNull public static TemplateParameterId getTemplateParameterId(int index)
@NonNull public static TuplePartId getTuplePartId(int index, @NonNull java.lang.String name, @NonNull TypeId typeId)
@NonNull public static TupleTypeId getTupleTypeId(@NonNull java.lang.String name, @NonNull java.util.Collection<? extends TuplePartId> parts)
@NonNull public static TupleTypeId getTupleTypeId(@NonNull java.lang.String name, @NonNull TuplePartId... parts)
@NonNull public static TypeId getTypeId(@NonNull org.eclipse.emf.ecore.EClassifier eClassifier)
@NonNull public static UnspecifiedIdImpl getUnspecifiedTypeId(@NonNull DomainType aType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |