public abstract class AbstractMetaclassId extends AbstractElementId implements MetaclassId
AbstractElementId.OperationIdsMap, AbstractElementId.PropertyIdsMap| Modifier and Type | Field and Description |
|---|---|
protected int |
hashCode |
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_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_NAMENULL_TEMPLATEABLE_ID_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMetaclassId(int hashCode) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(IdVisitor<R> visitor) |
MetaclassId |
getGeneralizedId() |
java.lang.String |
getMetaTypeName() |
java.lang.String |
getName() |
OperationId |
getOperationId(int templateParameters,
java.lang.String name,
ParametersId parametersId)
Return the OperationId for an Operation of this typeId.
|
PropertyId |
getPropertyId(java.lang.String name)
Return the PropertyId for a Property of this typeId.
|
TemplateableId |
getSpecializedId(BindingsId bindings)
Return the typeId for this typeId specialized by typeParameters.
|
TemplateParameterId |
getTemplateParameterId(int index)
Return the typeId for the named type parameter of this typeId.
|
int |
getTemplateParameters() |
int |
hashCode() |
TypeId |
specialize(BindingsId templateBindings) |
equals, getLiteralName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetElementId, getSpecializedIdgetLiteralNamegetLiteralNamegetDisplayName@Nullable
public <R> R accept(@NonNull
IdVisitor<R> visitor)
@NonNull public MetaclassId getGeneralizedId()
getGeneralizedId in interface TemplateableId@NonNull public java.lang.String getMetaTypeName()
getMetaTypeName in interface MetaclassIdgetMetaTypeName in interface TemplateableIdgetMetaTypeName in interface TypeId@NonNull public java.lang.String getName()
getName in interface MetaclassIdgetName in interface TemplateableId@NonNull public OperationId getOperationId(int templateParameters, @NonNull java.lang.String name, @NonNull ParametersId parametersId)
TypeIdThrows UnsupportedException for typeIds such as Primitive Types that may not have operations.
getOperationId in interface TypeId@NonNull public PropertyId getPropertyId(@NonNull java.lang.String name)
TypeIdThrows UnsupportedException for typeIds such as Primitive Types that may not have properties.
getPropertyId in interface TypeId@NonNull public TemplateableId getSpecializedId(@NonNull BindingsId bindings)
TemplateableIdThrows UnsupportedException for typeIds such as Primitive Types that may not be specialized.
getSpecializedId in interface TemplateableId@NonNull public TemplateParameterId getTemplateParameterId(int index)
TypeIdThrows UnsupportedException for typeIds such as Primitive Types that may not have type parameters.
getTemplateParameterId in interface TypeIdpublic int getTemplateParameters()
getTemplateParameters in interface TemplateableIdgetTemplateParameters in interface TypeIdpublic final int hashCode()
hashCode in class AbstractElementId@NonNull public TypeId specialize(@NonNull BindingsId templateBindings)
specialize in interface TypeId