Class ConfigModelId

    • Method Detail

      • fromNameAndVersion

        public static ConfigModelId fromNameAndVersion​(String tagName,
                                                       String tagVersion)
        Create id with a name and version
        Parameters:
        tagName - Name of the id
        tagVersion - Version of the id
        Returns:
        A ConfigModelId instance
      • fromName

        public static ConfigModelId fromName​(String tagName)
        Create id with given name, using default version 1.
        Parameters:
        tagName - Name of the id
        Returns:
        A ConfigModelId instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getName

        public String getName()
        Return the XML element name.
        Returns:
        the name of the config model