org.eclipse.ocl.examples.domain.ids.impl
Class GeneralizedOperationIdImpl
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<OperationId>
org.eclipse.ocl.examples.domain.ids.impl.GeneralizedOperationIdImpl
- All Implemented Interfaces:
- ElementId, WeakHashMapOfListOfWeakReference4.MatchableId<java.lang.Integer,java.lang.String,ParametersId>, OperationId, TemplateableId
public class GeneralizedOperationIdImpl
- extends AbstractGeneralizedIdImpl<OperationId>
- implements OperationId, WeakHashMapOfListOfWeakReference4.MatchableId<java.lang.Integer,java.lang.String,ParametersId>
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
parentId
@NonNull
protected final TypeId parentId
parametersId
@NonNull
protected final ParametersId parametersId
GeneralizedOperationIdImpl
public GeneralizedOperationIdImpl(@NonNull
java.lang.Integer hashCode,
@NonNull
TypeId parentId,
int templateParameters,
@NonNull
java.lang.String name,
@NonNull
ParametersId parametersId)
accept
@Nullable
public <R> R accept(@NonNull
IdVisitor<R> visitor)
- Specified by:
accept
in interface ElementId
createSpecializedId
@NonNull
protected OperationId createSpecializedId(@NonNull
BindingsId templateBindings)
- Specified by:
createSpecializedId
in class AbstractTemplateableIdImpl<OperationId>
getDisplayName
@NonNull
public java.lang.String getDisplayName()
- Description copied from interface:
ElementId
- Return a simple name for diagnostics.
- Specified by:
getDisplayName
in interface ElementId
getGeneralizedId
@NonNull
public OperationId getGeneralizedId()
- Specified by:
getGeneralizedId
in interface OperationId
- Specified by:
getGeneralizedId
in interface TemplateableId
getMetaTypeName
@NonNull
public java.lang.String getMetaTypeName()
- Specified by:
getMetaTypeName
in interface TemplateableId
getParametersId
@NonNull
public ParametersId getParametersId()
- Specified by:
getParametersId
in interface OperationId
getParent
@NonNull
public TypeId getParent()
- Specified by:
getParent
in interface OperationId
matches
public boolean matches(@NonNull
java.lang.Integer thoseTemplateParameters,
@NonNull
java.lang.String thatName,
@NonNull
ParametersId thatParametersId)
- Specified by:
matches
in interface WeakHashMapOfListOfWeakReference4.MatchableId<java.lang.Integer,java.lang.String,ParametersId>