org.eclipse.ocl.examples.domain.ids.impl
Class RootPackageIdImpl
java.lang.Object
org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
org.eclipse.ocl.examples.domain.ids.impl.PackageIdImpl
org.eclipse.ocl.examples.domain.ids.impl.RootPackageIdImpl
- All Implemented Interfaces:
- ElementId, PackageId, RootPackageId
public class RootPackageIdImpl
- extends PackageIdImpl
- implements RootPackageId
Field Summary |
protected java.lang.String |
name
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
name
@NonNull
protected final java.lang.String name
RootPackageIdImpl
public RootPackageIdImpl(@NonNull
IdManager idManager,
@NonNull
java.lang.String name)
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