Class FieldDescriptor

    • Constructor Detail

      • FieldDescriptor

        public FieldDescriptor()
    • Method Detail

      • getOriginalLabel

        public String getOriginalLabel()
        The original label for the field, as stated on the original record.
        Returns:
        The original label for the field, as stated on the original record.
      • setOriginalLabel

        public void setOriginalLabel​(String originalLabel)
        The original label for the field, as stated on the original record.
        Parameters:
        originalLabel - The original label for the field, as stated on the original record.
      • originalLabel

        public FieldDescriptor originalLabel​(String originalLabel)
        Build out this field descriptor with an original label.
        Parameters:
        originalLabel - The original label.
        Returns:
        this.
      • descriptions

        public Stream<TextValue> descriptions()
        Create a stream for the descriptions.
        Returns:
        a stream for the descriptions.
      • getDescriptions

        public List<TextValue> getDescriptions()
        The description of the field.
        Returns:
        The description of the field.
      • setDescriptions

        public void setDescriptions​(List<TextValue> descriptions)
        The description of the field.
        Parameters:
        descriptions - The description of the field.
      • description

        public FieldDescriptor description​(TextValue description)
        Build out this descriptor with a description.
        Parameters:
        description - The description.
        Returns:
        this.
      • description

        public FieldDescriptor description​(String description)
        Build out this descriptor with a description.
        Parameters:
        description - The description.
        Returns:
        this.
      • addDescription

        public void addDescription​(TextValue description)
        Add a description.
        Parameters:
        description - The description to be added.
      • getValues

        public List<FieldValueDescriptor> getValues()
        Descriptors of the values that are applicable to the field.
        Returns:
        Descriptors of the values that are applicable to the field.
      • setValues

        public void setValues​(List<FieldValueDescriptor> values)
        Descriptors of the values that are applicable to the field.
        Parameters:
        values - Descriptors of the values that are applicable to the field.