org.eclipse.ocl.examples.domain.ids.impl
Class AbstractSpecializedIdImpl<T extends TemplateableId>

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.AbstractSpecializedIdImpl<T>
All Implemented Interfaces:
ElementId, SpecializedId, TemplateableId
Direct Known Subclasses:
SpecializedCollectionTypeIdImpl, SpecializedLambdaTypeIdImpl, SpecializedOperationIdImpl, SpecializedTypeIdImpl

public abstract class AbstractSpecializedIdImpl<T extends TemplateableId>
extends AbstractTemplateableIdImpl<T>
implements SpecializedId


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
AbstractElementId.OperationIdsMap, AbstractElementId.PropertyIdsMap
 
Field Summary
protected  T generalizedId
           
protected  BindingsId templateBindings
           
 
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
AbstractSpecializedIdImpl(T generalizedId, BindingsId templateBindings)
           
 
Method Summary
 java.lang.String getDisplayName()
          Return a simple name for diagnostics.
 T getGeneralizedId()
           
 java.lang.String getMetaTypeName()
           
 java.lang.String getName()
           
 BindingsId getTemplateBindings()
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.ids.impl.AbstractTemplateableIdImpl
createSpecializedId, 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.ElementId
accept
 
Methods inherited from interface org.eclipse.ocl.examples.domain.ids.TemplateableId
getLiteralName
 

Field Detail

generalizedId

@NonNull
protected final T extends TemplateableId generalizedId

templateBindings

@NonNull
protected final BindingsId templateBindings
Constructor Detail

AbstractSpecializedIdImpl

public AbstractSpecializedIdImpl(@NonNull
                                 T generalizedId,
                                 @NonNull
                                 BindingsId templateBindings)
Method Detail

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 T getGeneralizedId()
Specified by:
getGeneralizedId in interface TemplateableId

getMetaTypeName

@NonNull
public java.lang.String getMetaTypeName()
Specified by:
getMetaTypeName in interface TemplateableId

getName

@NonNull
public java.lang.String getName()
Specified by:
getName in interface TemplateableId

getTemplateBindings

@NonNull
public BindingsId getTemplateBindings()
Specified by:
getTemplateBindings in interface SpecializedId