Package com.github.perdia.queries.data
Class DataEntry
java.lang.Object
com.github.perdia.queries.data.DataEntry
- Direct Known Subclasses:
DoubleDataEntry
,LongDataEntry
,StringDataEntry
Abstract class all other DataEntry classes inherit from in a hierarchical order.
-
Constructor Summary
ConstructorDescriptionConstructor which doesn't do anything other than create a new DataEntry Object. -
Method Summary
-
Constructor Details
-
DataEntry
public DataEntry()Constructor which doesn't do anything other than create a new DataEntry Object.
-
-
Method Details
-
write
Writes the given value to the DataEntry. Any already existing value is overwritten.- Parameters:
value
- The value to be written to the DataEntry
-
read
Reads the value currently stored in the DataEntry.- Returns:
- The value stored in the DataEntry
-
getDataType
Returns the DataType of the respective DataEntry.- Returns:
- DataType of the DataEntry
-