org.eclipse.ocl.examples.domain.ids.impl
Class GeneralizedOperationIdImpl

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
      extended by org.eclipse.ocl.examples.domain.ids.impl.AbstractTemplateableIdImpl<T>
          extended by org.eclipse.ocl.examples.domain.ids.impl.AbstractGeneralizedIdImpl<OperationId>
              extended by 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>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
AbstractElementId.OperationIdsMap, AbstractElementId.PropertyIdsMap
 
Field Summary
protected  ParametersId parametersId
           
protected  TypeId parentId
           
 
Fields inherited from class org.eclipse.ocl.examples.domain.ids.impl.AbstractGeneralizedIdImpl
name
 
Fields inherited from class org.eclipse.ocl.examples.domain.ids.impl.AbstractTemplateableIdImpl
hashCode, templateParameters
 
Fields inherited from interface org.eclipse.ocl.examples.domain.ids.TemplateableId
NULL_TEMPLATEABLE_ID_ARRAY
 
Constructor Summary
GeneralizedOperationIdImpl(java.lang.Integer hashCode, TypeId parentId, int templateParameters, java.lang.String name, ParametersId parametersId)
           
 
Method Summary
<R> R
accept(IdVisitor<R> visitor)
           
protected  OperationId createSpecializedId(BindingsId templateBindings)
           
 java.lang.String getDisplayName()
          Return a simple name for diagnostics.
 OperationId getGeneralizedId()
           
 java.lang.String getMetaTypeName()
           
 ParametersId getParametersId()
           
 TypeId getParent()
           
 boolean matches(java.lang.Integer thoseTemplateParameters, java.lang.String thatName, ParametersId thatParametersId)
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.ids.impl.AbstractGeneralizedIdImpl
getName
 
Methods inherited from class org.eclipse.ocl.examples.domain.ids.impl.AbstractTemplateableIdImpl
getEnumerationLiteralId, getOperationId, getPropertyId, getSpecializedId, getSpecializedId, getTemplateParameterId, getTemplateParameters, hashCode
 
Methods inherited from class org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
equals, getLiteralName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.examples.domain.ids.OperationId
getName
 
Methods inherited from interface org.eclipse.ocl.examples.domain.ids.TemplateableId
getLiteralName, getSpecializedId, getTemplateParameters
 

Field Detail

parentId

@NonNull
protected final TypeId parentId

parametersId

@NonNull
protected final ParametersId parametersId
Constructor Detail

GeneralizedOperationIdImpl

public GeneralizedOperationIdImpl(@NonNull
                                  java.lang.Integer hashCode,
                                  @NonNull
                                  TypeId parentId,
                                  int templateParameters,
                                  @NonNull
                                  java.lang.String name,
                                  @NonNull
                                  ParametersId parametersId)
Method Detail

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>