DataElements

All information is stored in the DataStore as DataElement instances. There are basically two types of DataElements; descriptor DataElements which define data types and make up the schema and informational DataElements which hold information. Each DataElement has the following String attributes:

  • name - Informational name (possibly displayable) for the DataElement. Each miner will specify what information should be stored in the name attribute.
  • type - Although the type attribute is stored as a String, it should reference the name of descriptor object in the schema. This relationship is not enforced by the DataStore, but should be followed for style and consistency.
  • source - The contents of the source attribute are determined by the miner. For example, the command miner specifies the source of a command is the target miner
  • value - Miner specific attribute.
  • id - used internally by the DataStore and should never by explicitly used

Contact Us