org.eclipse.ocl.examples.domain.ids.impl
Class GeneralizedTypeIdImpl<T extends TemplateableId>
java.lang.Object
org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
org.eclipse.ocl.examples.domain.ids.impl.AbstractTemplateableIdImpl<T>
org.eclipse.ocl.examples.domain.ids.impl.AbstractGeneralizedIdImpl<T>
org.eclipse.ocl.examples.domain.ids.impl.GeneralizedTypeIdImpl<T>
- All Implemented Interfaces:
- ElementId, TemplateableId, TemplateableTypeId, TypeId
- Direct Known Subclasses:
- GeneralizedCollectionTypeIdImpl, GeneralizedNestedTypeIdImpl
public abstract class GeneralizedTypeIdImpl<T extends TemplateableId>
- extends AbstractGeneralizedIdImpl<T>
- implements TemplateableTypeId
Fields inherited from interface org.eclipse.ocl.examples.domain.ids.TypeId |
BAG, BAG_NAME, BOOLEAN, BOOLEAN_NAME, CLASS_NAME, COLLECTION, COLLECTION_NAME, COLLECTION_TYPE_NAME, DATA_TYPE_NAME, ENUMERATION_NAME, INTEGER, INTEGER_NAME, INTEGER_RANGE, INTEGER_RANGE_NAME, LAMBDA_TYPE_NAME, METACLASS, METACLASS_NAME, NULL_STRING_ARRAY, NULL_TUPLE_PART_ID_ARRAY, NULL_TYPE_ID_ARRAY, OCL_ANY, OCL_ANY_NAME, OCL_COMPARABLE, OCL_COMPARABLE_NAME, OCL_INVALID, OCL_INVALID_NAME, OCL_SELF, OCL_SELF_NAME, OCL_SUMMABLE, OCL_SUMMABLE_NAME, OCL_VOID, OCL_VOID_NAME, OPERATION_NAME, ORDERED_COLLECTION, ORDERED_COLLECTION_NAME, ORDERED_SET, ORDERED_SET_NAME, PRIMITIVE_TYPE_NAME, PROPERTY_NAME, REAL, REAL_NAME, SEQUENCE, SEQUENCE_NAME, SET, SET_NAME, STRING, STRING_NAME, T_1, T_2, T_3, TUPLE_NAME, TUPLE_TYPE_NAME, UNIQUE_COLLECTION, UNIQUE_COLLECTION_NAME, UNLIMITED_NATURAL, UNLIMITED_NATURAL_NAME |
Constructor Summary |
protected |
GeneralizedTypeIdImpl(int hashCode,
int templateParameters,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GeneralizedTypeIdImpl
protected GeneralizedTypeIdImpl(int hashCode,
int templateParameters,
@NonNull
java.lang.String name)
getOperationId
@NonNull
public OperationId getOperationId(int templateParameters,
@NonNull
java.lang.String name,
@NonNull
ParametersId parametersId)
- Description copied from interface:
TypeId
- Return the OperationId for an Operation of this typeId.
Throws UnsupportedException for typeIds such as Primitive Types that may not have operations.
- Specified by:
getOperationId
in interface TypeId
- Overrides:
getOperationId
in class AbstractTemplateableIdImpl<T extends TemplateableId>
getPropertyId
@NonNull
public PropertyId getPropertyId(@NonNull
java.lang.String name)
- Description copied from interface:
TypeId
- Return the PropertyId for a Property of this typeId.
Throws UnsupportedException for typeIds such as Primitive Types that may not have properties.
- Specified by:
getPropertyId
in interface TypeId
- Overrides:
getPropertyId
in class AbstractTemplateableIdImpl<T extends TemplateableId>