Class VersionedParameter

    • Field Detail

      • name

        private String name
        The name of the parameter.
      • version

        private int version
        The version of the parameter.
    • Constructor Detail

      • VersionedParameter

        VersionedParameter()
        Used by Hibernate to create an instance.
      • VersionedParameter

        public VersionedParameter​(String name,
                                  int version)
        Create a new instance.
    • Method Detail

      • getName

        public String getName()
        Get the parameter name.
        Hibernate: property
        column="`name`" not-null="true" type="string" length="255"
      • setName

        void setName​(String name)
      • getVersion

        public int getVersion()
        Get the parameter version.
        Hibernate: property
        column="`parameter_version`" type="int" not-null="true"
      • setVersion

        void setVersion​(int version)
      • equals

        public boolean equals​(Object o)
        Check if this object is equal to another VersionedParameter object. They are considered to be the same if the have the same name and version.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Calculate the hash code for the object.
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Convert the value to a string.
        Overrides:
        toString in class Object