Class Field

    • Constructor Detail

      • Field

        public Field()
    • Method Detail

      • id

        public Field id​(String id)
        Description copied from class: ExtensibleData
        Build up this object with an id.
        Overrides:
        id in class Conclusion
        Parameters:
        id - The id.
        Returns:
        this.
      • getType

        public URI getType()
        The type of the field.
        Returns:
        The type of the field.
      • setType

        public void setType​(URI type)
        The type of the field.
        Parameters:
        type - The type of the field.
      • type

        public Field type​(URI type)
        Build out this field with a type.
        Parameters:
        type - The type.
        Returns:
        this.
      • type

        public Field type​(FieldType type)
        Build out this field with a type.
        Parameters:
        type - The type.
        Returns:
        this.
      • getKnownType

        public FieldType getKnownType()
        The known type of the field.
        Returns:
        The type of the field.
      • setKnownType

        public void setKnownType​(FieldType type)
        The type of the field.
        Parameters:
        type - The type of the field.
      • values

        public Stream<FieldValue> values()
        Create a stream for the values.
        Returns:
        a stream for the values.
      • getValues

        public List<FieldValue> getValues()
        The set of values for the field.
        Returns:
        The set of values for the field.
      • setValues

        public void setValues​(List<FieldValue> values)
        The set of values for the field.
        Parameters:
        values - The set of values for the field.
      • value

        public Field value​(FieldValue value)
        Build out this field with a field value.
        Parameters:
        value - The value.
        Returns:
        this.
      • addValue

        public void addValue​(FieldValue value)
        Add a reference to the record value values being used as evidence.
        Parameters:
        value - The value to be added.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object