org.eclipse.ocl.examples.domain.ids
Interface TemplateableId
- All Superinterfaces:
- ElementId
- All Known Subinterfaces:
- CollectionTypeId, LambdaTypeId, MetaclassId, OclInvalidTypeId, OclVoidTypeId, OperationId, TemplateableTypeId
- All Known Implementing Classes:
- AbstractGeneralizedIdImpl, AbstractMetaclassId, AbstractSpecializedIdImpl, AbstractTemplateableIdImpl, GeneralizedClassIdImpl, GeneralizedCollectionTypeIdImpl, GeneralizedDataTypeIdImpl, GeneralizedLambdaTypeIdImpl, GeneralizedMetaclassIdImpl, GeneralizedNestedTypeIdImpl, GeneralizedOperationIdImpl, GeneralizedTypeIdImpl, OclInvalidTypeIdImpl, OclVoidTypeIdImpl, SpecializedCollectionTypeIdImpl, SpecializedLambdaTypeIdImpl, SpecializedMetaclassIdImpl, SpecializedOperationIdImpl, SpecializedTypeIdImpl
public interface TemplateableId
- extends ElementId
A TypeId provides a unique hierarchical for type which may have many 'actual' type variants.
For instance 'Boolean' is a well-understood conceptual, but it may have many 'actual' as a result of Complete OCL
definitions merging additional features in to the 'actual' type.
NULL_TEMPLATEABLE_ID_ARRAY
@NonNull
static final TemplateableId[] NULL_TEMPLATEABLE_ID_ARRAY
getGeneralizedId
@NonNull
TemplateableId getGeneralizedId()
getLiteralName
@Nullable
java.lang.String getLiteralName()
getMetaTypeName
@NonNull
java.lang.String getMetaTypeName()
getName
@NonNull
java.lang.String getName()
getSpecializedId
@NonNull
TemplateableId getSpecializedId(@NonNull
BindingsId bindings)
- Return the typeId for this typeId specialized by typeParameters.
Throws UnsupportedException for typeIds such as Primitive Types that may not be specialized.
getTemplateParameters
int getTemplateParameters()