Class AspectModelUrn

    • Method Detail

      • getUrn

        public URI getUrn()
        Returns the full URN of the model element
        Returns:
        the model URN
      • getName

        public String getName()
        Returns the local name of the model element, e.g. MyAspect
        Returns:
        the local name of the model element
      • getVersion

        public String getVersion()
        Returns the version of the model element, e.g. 1.2.3
        Returns:
        the version of the model element
      • getNamespace

        public String getNamespace()
        Returns the namespace part of the URN, e.g. com.example.foo
        Returns:
        the namespace part of the URN
      • getUrnPrefix

        public String getUrnPrefix()
        Returns prefix part of the URN, i.e. the part up to and including the # but not including the local name, e.g. urn:bamm:com.foo.example:1.0.0#
        Returns:
        the prefix part of the URN
      • isBammUrn

        public boolean isBammUrn()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object