Class Identification

    • Constructor Detail

      • Identification

        public Identification​(String name,
                              String remarks,
                              String alias,
                              String identifier)
        Creates an identification from the specified object name.
      • Identification

        public Identification​(String name)
        Creates an identification from the specified object name.
    • Method Detail

      • length

        public int length()
        Returns the name length.
        Specified by:
        length in interface CharSequence
      • charAt

        public char charAt​(int index)
        Returns the name character at the specified index.
        Specified by:
        charAt in interface CharSequence
      • subSequence

        public CharSequence subSequence​(int start,
                                        int end)
        Returns a subsequence of this identification. The new identification will contains a substring of the name, but the #type will be unchanged.
        Specified by:
        subSequence in interface CharSequence
      • hashCode

        public int hashCode()
        Returns a hash value for this identification.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object object)
        Compares the specified object with this identification for equality.
        Overrides:
        equals in class Object
      • getName

        public String getName()
      • getRemarks

        public String getRemarks()
      • getAlias

        public String getAlias()
      • getIdentifier

        public String getIdentifier()