org.eclipse.ocl.examples.domain.ids
Interface PackageId

All Superinterfaces:
ElementId
All Known Subinterfaces:
NestedPackageId, NsURIPackageId, RootPackageId
All Known Implementing Classes:
NestedPackageIdImpl, NsURIPackageIdImpl, PackageIdImpl, RootPackageIdImpl

public interface PackageId
extends ElementId

A PackageId provides a unique hierarchical identifier for a package.

See Also:
NestedPackageId, NsURIPackageId, RootPackageId

Method Summary
 ClassId getClassId(java.lang.String name, int templateParameters)
          Return the classId for the named child of this packageId.
 DataTypeId getDataTypeId(java.lang.String name, int templateParameters)
          Return the dataTypeId for the named child of this packageId.
 EnumerationId getEnumerationId(java.lang.String name)
          Return the enumerationId for the named child of this packageId.
 NestedPackageId getNestedPackageId(java.lang.String name)
           
 
Methods inherited from interface org.eclipse.ocl.examples.domain.ids.ElementId
accept, getDisplayName
 

Method Detail

getClassId

@NonNull
ClassId getClassId(@NonNull
                           java.lang.String name,
                           int templateParameters)
Return the classId for the named child of this packageId.

Throws UnsupportedException for typeIds such as Primitive Types that may not have nested types.


getDataTypeId

@NonNull
DataTypeId getDataTypeId(@NonNull
                                 java.lang.String name,
                                 int templateParameters)
Return the dataTypeId for the named child of this packageId.

Throws UnsupportedException for typeIds such as Primitive Types that may not have nested types.


getEnumerationId

@NonNull
EnumerationId getEnumerationId(@NonNull
                                       java.lang.String name)
Return the enumerationId for the named child of this packageId.

Throws UnsupportedException for typeIds such as Primitive Types that may not have nested types.


getNestedPackageId

@NonNull
NestedPackageId getNestedPackageId(@NonNull
                                           java.lang.String name)