Class ValueList

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Value>, Collection<Value>, List<Value>, RandomAccess

public class ValueList extends ArrayList<Value>
Value list
See Also:
  • Constructor Details

    • ValueList

      public ValueList(List<Field> fields)
  • Method Details

    • add

      public void add(Field field, Object value, Long updated, com.deiser.jira.profields.impl.value.ValueErrorEnum error)
      Add a field and a value to the list of Value entities
      Parameters:
      field - the field
      value - the value
    • addValueData

      public void addValueData(Field field, Object value)
      Add a field and a ValueData to the list of Value entities
      Parameters:
      field - the field
      value - the value: ValueData List or ValueData
    • getValue

      public Object getValue(Field field)
      Get the value for a field
      Parameters:
      field - the field
      Returns:
      the value: Object List or Object
    • getValueData

      public Object getValueData(Field field)
      Get the value for a field
      Parameters:
      field - the field
      Returns:
      the value: ValueData List or ValueData