Package sk.iway.iwcm

Class LabelValueDetails

java.lang.Object
sk.iway.iwcm.LabelValueDetails
All Implemented Interfaces:
Serializable, Comparable<LabelValueDetails>

public class LabelValueDetails extends Object implements Comparable<LabelValueDetails>, Serializable
Label Value pre nejaky select (genericka trieda, ked treba mat objekt meno=hodnota)
See Also:
  • Constructor Details

    • LabelValueDetails

      public LabelValueDetails()
      Constructor for the LabelValueDetails object
    • LabelValueDetails

      public LabelValueDetails(String label, String value)
      Constructor for the LabelValueDetails object
      Parameters:
      label - Description of the Parameter
      value - Description of the Parameter
  • Method Details

    • compareTo

      public int compareTo(LabelValueDetails that)
      Specified by:
      compareTo in interface Comparable<LabelValueDetails>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String getLabel()
      Gets the label attribute of the LabelValueDetails object
      Returns:
      The label value
    • setLabel

      public void setLabel(String newLabel)
      Sets the label attribute of the LabelValueDetails object
      Parameters:
      newLabel - The new label value
    • setValue

      public void setValue(String newValue)
      Sets the value attribute of the LabelValueDetails object
      Parameters:
      newValue - The new value value
    • getValue

      public String getValue()
      Gets the value attribute of the LabelValueDetails object
      Returns:
      The value value
    • toString

      public String toString()
      Koli sortovaniu
      Overrides:
      toString in class Object
      Returns:
      Description of the Return Value
    • getValue2

      public String getValue2()
      Returns:
      Returns the value2.
    • setValue2

      public void setValue2(String value2)
      Parameters:
      value2 - The value2 to set.
    • getInt1

      public int getInt1()
    • setInt1

      public void setInt1(int int1)
    • getInt2

      public int getInt2()
    • setInt2

      public void setInt2(int int2)