Class JavaPackageModelId

  • All Implemented Interfaces:
    SModelId

    public final class JavaPackageModelId
    extends Object
    implements SModelId
    Dedicated model identity to represent package stubs.
    Since:
    3.3
    See Also:
    JavaPackageNameStub
    • Method Detail

      • isGloballyUnique

        public boolean isGloballyUnique()
        Description copied from interface: SModelId
        Globally unique model identifiers can be resolved in a context of the whole repository. For example, implementations based on UUID or URI do not need a module to be resolved.
        Specified by:
        isGloballyUnique in interface SModelId
      • getModelName

        public String getModelName()
        Description copied from interface: SModelId
        Returns model name if it is a part of the identifier, or null otherwise.
        Specified by:
        getModelName in interface SModelId
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object