org.eclipse.ocl.examples.domain.ids.impl
Class PropertyIdImpl
java.lang.Object
org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
org.eclipse.ocl.examples.domain.ids.impl.PropertyIdImpl
- All Implemented Interfaces:
- ElementId, PropertyId
public class PropertyIdImpl
- extends AbstractElementId
- implements PropertyId
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
parentId
@NonNull
protected final TypeId parentId
name
@NonNull
protected final java.lang.String name
hashCode
@NonNull
protected final java.lang.Integer hashCode
PropertyIdImpl
public PropertyIdImpl(@NonNull
TypeId parentId,
@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
getMetaTypeName
@NonNull
public java.lang.String getMetaTypeName()
getName
@NonNull
public java.lang.String getName()
- Specified by:
getName
in interface PropertyId
getParent
@NonNull
public TypeId getParent()
- Specified by:
getParent
in interface PropertyId
hashCode
public final int hashCode()
- Specified by:
hashCode
in class AbstractElementId