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 booleanequals(Object obj)StringgetCode()Getter for code.StringgetText()Getter for text.VgetValue()Getter for value.inthashCode()voidsetCode(String code)Setter for code.voidsetText(String text)Setter for text.voidsetValue(V value)Setter for value.StringtoString()
-
-
-
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
-
-