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

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
      extended by org.eclipse.ocl.examples.domain.ids.impl.PackageIdImpl
          extended by org.eclipse.ocl.examples.domain.ids.impl.RootPackageIdImpl
All Implemented Interfaces:
ElementId, PackageId, RootPackageId

public class RootPackageIdImpl
extends PackageIdImpl
implements RootPackageId


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
AbstractElementId.OperationIdsMap, AbstractElementId.PropertyIdsMap
 
Field Summary
protected  java.lang.String name
           
 
Fields inherited from class org.eclipse.ocl.examples.domain.ids.impl.PackageIdImpl
hashCode
 
Constructor Summary
RootPackageIdImpl(IdManager idManager, java.lang.String name)
           
 
Method Summary
<R> R
accept(IdVisitor<R> visitor)
           
 java.lang.String getDisplayName()
          Return a simple name for diagnostics.
 java.lang.String getName()
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.ids.impl.PackageIdImpl
getClassId, getDataTypeId, getEnumerationId, getMetaTypeName, getNestedPackageId, 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.PackageId
getClassId, getDataTypeId, getEnumerationId, getNestedPackageId
 

Field Detail

name

@NonNull
protected final java.lang.String name
Constructor Detail

RootPackageIdImpl

public RootPackageIdImpl(@NonNull
                         IdManager idManager,
                         @NonNull
                         java.lang.String name)
Method Detail

accept

@Nullable
public <R> R accept(@NonNull
                             IdVisitor<R> visitor)
Specified by:
accept in interface ElementId

getDisplayName

@NonNull
public java.lang.String getDisplayName()
Description copied from interface: ElementId
Return a simple name for diagnostics.

Specified by:
getDisplayName in interface ElementId

getName

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