public interface PackageId extends ElementId
Logically merged packages may have different NsURIs but the same PackageId.
NestedPackageId
,
NsURIPackageId
,
RootPackageId
ElementId.ElementIdComparator
Modifier and Type | Method and Description |
---|---|
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) |
accept, getDisplayName
@NonNull ClassId getClassId(@NonNull java.lang.String name, int templateParameters)
Throws UnsupportedException for typeIds such as Primitive Types that may not have nested types.
@NonNull DataTypeId getDataTypeId(@NonNull java.lang.String name, int templateParameters)
Throws UnsupportedException for typeIds such as Primitive Types that may not have nested types.
@NonNull EnumerationId getEnumerationId(@NonNull java.lang.String name)
Throws UnsupportedException for typeIds such as Primitive Types that may not have nested types.
@NonNull NestedPackageId getNestedPackageId(@NonNull java.lang.String name)