Class ValueNode<V>
- java.lang.Object
-
- com.github.dannil.scbjavaclient.model.ValueNode<V>
-
- Type Parameters:
V
- the data type of the value
public class ValueNode<V> extends Object
Class which holds all data for a specific value.
- Since:
- 0.0.4
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCode()
Getter for code.String
getText()
Getter for text.V
getValue()
Getter for value.int
hashCode()
void
setCode(String code)
Setter for code.void
setText(String text)
Setter for text.void
setValue(V value)
Setter for value.String
toString()
-
-
-
Method Detail
-
getValue
public V getValue()
Getter for value.
- Returns:
- the value
-
setValue
public void setValue(V value)
Setter for value.
- Parameters:
value
- the value
-
getCode
public String getCode()
Getter for code.
- Returns:
- the code
-
setCode
public void setCode(String code)
Setter for code.
- Parameters:
code
- the code
-
getText
public String getText()
Getter for text.
- Returns:
- the text
-
setText
public void setText(String text)
Setter for text.
- Parameters:
text
- the text
-
-