Class: InterpreterResult

InterpreterResult

Contains the interpreted data, inclusive the input for the interpretation.

new InterpreterResult()

Constructor: Initializes the in- and outAttributes.

Requires

  • module:easejs
  • module:AttributeValueList

Members

privateinAttributesAttributeValueList

Data, which were used for the interpretation.

privateoutAttributesAttributeValueList

Interpreted data.

privatetimestampdate

Time of the interpretation.

Methods

Returns the inAttributes.
Returns the interpreted attributes.
Returns the interpretation time.

setInAttributes(_inAttributes)

Sets the inAttributes.
Name Type Description
_inAttributes AttributeValueList | Array inAttributes

setOutAttributes(_outAttributes)

Sets the interpreted values.
Name Type Description
_outAttributes AttributeValueList | Array retrieved attributes

setTimestamp(_timstamp)

Sets the interpretation time.
Name Type Description
_timstamp date interpretation time

withInAttributes(_inAttributes){InterpreterResult}

Builder for inAttributes.
Name Type Description
_inAttributes AttributeValueList | Array values

withOutAttributes(_outAttributes){InterpreterResult}

Builder for outAttributes.
Name Type Description
_outAttributes AttributeValueList | Array values
Builder for timestamp.
Name Type Description
_timestamp String timestamp