Class BasicObjectDatumStreamMetadata

java.lang.Object
net.solarnetwork.domain.datum.BasicDatumStreamMetadata
net.solarnetwork.domain.datum.BasicObjectDatumStreamMetadata
All Implemented Interfaces:
Serializable, DatumStreamMetadata, ObjectDatumStreamMetadata

public class BasicObjectDatumStreamMetadata extends BasicDatumStreamMetadata implements ObjectDatumStreamMetadata
Basic implementation of ObjectDatumStreamMetadata.
Since:
1.72
Version:
1.0
Author:
matt
See Also:
  • Constructor Details

    • BasicObjectDatumStreamMetadata

      public BasicObjectDatumStreamMetadata(UUID streamId, String timeZoneId, ObjectDatumKind kind, Long objectId, String sourceId, String[] instantaneousProperties, String[] accumulatingProperties, String[] statusProperties)
      Constructor.

      All arguments except streamId, objectId, and sourceId are allowed to be null. If any array is empty, it will be treated as if it were null.

      Parameters:
      streamId - the stream ID
      timeZoneId - the time zone ID
      kind - the object kind
      objectId - the object ID
      sourceId - the source ID
      instantaneousProperties - the instantaneous property names
      accumulatingProperties - the accumulating property names
      statusProperties - the status property names
      Throws:
      IllegalArgumentException - if streamId or objectId or sourceId is null
    • BasicObjectDatumStreamMetadata

      public BasicObjectDatumStreamMetadata(UUID streamId, String timeZoneId, ObjectDatumKind kind, Long objectId, String sourceId, String[] instantaneousProperties, String[] accumulatingProperties, String[] statusProperties, String metaJson)
      Constructor.

      All arguments except streamId, objectId, and sourceId are allowed to be null. If any array is empty, it will be treated as if it were null.

      Parameters:
      streamId - the stream ID
      timeZoneId - the time zone ID
      kind - the object kind
      objectId - the object ID
      sourceId - the source ID
      instantaneousProperties - the instantaneous property names
      accumulatingProperties - the accumulating property names
      statusProperties - the status property names
      metaJson - the JSON metadata
      Throws:
      IllegalArgumentException - if streamId or objectId or sourceId is null
    • BasicObjectDatumStreamMetadata

      public BasicObjectDatumStreamMetadata(UUID streamId, String timeZoneId, ObjectDatumKind kind, Long objectId, String sourceId, Location location, String[] instantaneousProperties, String[] accumulatingProperties, String[] statusProperties, String metaJson)
      Constructor.

      All arguments except streamId, objectId, and sourceId are allowed to be null. If any array is empty, it will be treated as if it were null.

      Parameters:
      streamId - the stream ID
      timeZoneId - the time zone ID
      kind - the object kind
      objectId - the object ID
      sourceId - the source ID
      location - the location
      instantaneousProperties - the instantaneous property names
      accumulatingProperties - the accumulating property names
      statusProperties - the status property names
      metaJson - the JSON metadata
      Throws:
      IllegalArgumentException - if streamId or objectId or sourceId is null
  • Method Details