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 Summary
ConstructorsConstructorDescriptionConstructor for the LabelValueDetails objectLabelValueDetails
(String label, String value) Constructor for the LabelValueDetails object -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(LabelValueDetails that) boolean
int
getInt1()
int
getInt2()
getLabel()
Gets the label attribute of the LabelValueDetails objectgetValue()
Gets the value attribute of the LabelValueDetails objectint
hashCode()
void
setInt1
(int int1) void
setInt2
(int int2) void
Sets the label attribute of the LabelValueDetails objectvoid
Sets the value attribute of the LabelValueDetails objectvoid
toString()
Koli sortovaniu
-
Constructor Details
-
LabelValueDetails
public LabelValueDetails()Constructor for the LabelValueDetails object -
LabelValueDetails
Constructor for the LabelValueDetails object- Parameters:
label
- Description of the Parametervalue
- Description of the Parameter
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<LabelValueDetails>
-
equals
-
hashCode
public int hashCode() -
getLabel
Gets the label attribute of the LabelValueDetails object- Returns:
- The label value
-
setLabel
Sets the label attribute of the LabelValueDetails object- Parameters:
newLabel
- The new label value
-
setValue
Sets the value attribute of the LabelValueDetails object- Parameters:
newValue
- The new value value
-
getValue
Gets the value attribute of the LabelValueDetails object- Returns:
- The value value
-
toString
Koli sortovaniu -
getValue2
- Returns:
- Returns the value2.
-
setValue2
- 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)
-