org.eclipse.ocl.examples.domain.ids.impl
Class NestedPackageIdImpl
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.NestedPackageIdImpl
- All Implemented Interfaces:
- ElementId, NestedPackageId, PackageId
public class NestedPackageIdImpl
- extends PackageIdImpl
- implements NestedPackageId
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
parent
@NonNull
protected final PackageId parent
name
@NonNull
protected final 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 NestedPackageId
getParent
@NonNull
public PackageId getParent()
- Specified by:
getParent
in interface NestedPackageId
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractElementId