Class DataEntry

java.lang.Object
com.github.perdia.queries.data.DataEntry
Direct Known Subclasses:
DoubleDataEntry, LongDataEntry, StringDataEntry

public abstract class DataEntry extends Object
Abstract class all other DataEntry classes inherit from in a hierarchical order.
  • Constructor Details

    • DataEntry

      public DataEntry()
      Constructor which doesn't do anything other than create a new DataEntry Object.
  • Method Details

    • write

      public void write(Object value)
      Writes the given value to the DataEntry. Any already existing value is overwritten.
      Parameters:
      value - The value to be written to the DataEntry
    • read

      public Object read()
      Reads the value currently stored in the DataEntry.
      Returns:
      The value stored in the DataEntry
    • getDataType

      public DataType getDataType()
      Returns the DataType of the respective DataEntry.
      Returns:
      DataType of the DataEntry