org.eclipse.ocl.examples.domain.ids.impl
Class PackageIdImpl
java.lang.Object
org.eclipse.ocl.examples.domain.ids.impl.AbstractElementId
org.eclipse.ocl.examples.domain.ids.impl.PackageIdImpl
- All Implemented Interfaces:
- ElementId, PackageId
- Direct Known Subclasses:
- NestedPackageIdImpl, NsURIPackageIdImpl, RootPackageIdImpl
public abstract class PackageIdImpl
- extends AbstractElementId
- implements PackageId
Field Summary |
protected java.lang.Integer |
hashCode
|
Constructor Summary |
protected |
PackageIdImpl(java.lang.Integer hashCode)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
hashCode
@NonNull
protected final java.lang.Integer hashCode
PackageIdImpl
protected PackageIdImpl(@NonNull
java.lang.Integer hashCode)
getClassId
@NonNull
public ClassId getClassId(@NonNull
java.lang.String name,
int templateParameters)
- Description copied from interface:
PackageId
- Return the classId for the named child of this packageId.
Throws UnsupportedException for typeIds such as Primitive Types that may not have nested types.
- Specified by:
getClassId
in interface PackageId
getDataTypeId
@NonNull
public DataTypeId getDataTypeId(@NonNull
java.lang.String name,
int templateParameters)
- Description copied from interface:
PackageId
- Return the dataTypeId for the named child of this packageId.
Throws UnsupportedException for typeIds such as Primitive Types that may not have nested types.
- Specified by:
getDataTypeId
in interface PackageId
getEnumerationId
@NonNull
public EnumerationId getEnumerationId(@NonNull
java.lang.String name)
- Description copied from interface:
PackageId
- Return the enumerationId for the named child of this packageId.
Throws UnsupportedException for typeIds such as Primitive Types that may not have nested types.
- Specified by:
getEnumerationId
in interface PackageId
getMetaTypeName
@NonNull
public java.lang.String getMetaTypeName()
getNestedPackageId
@NonNull
public NestedPackageId getNestedPackageId(@NonNull
java.lang.String name)
- Specified by:
getNestedPackageId
in interface PackageId
hashCode
public final int hashCode()
- Specified by:
hashCode
in class AbstractElementId