Class ValueListValueMetadata

java.lang.Object
com.sas.lsaf.clinical.model.ValueListValueMetadata
All Implemented Interfaces:
Serializable

public class ValueListValueMetadata extends Object implements Serializable
TODO Provide javadoc for ValueListValueMetadata
Since:
2.4
See Also:
  • Constructor Details

    • ValueListValueMetadata

      public ValueListValueMetadata(String id, String value, boolean isDefault, int ordering)
      It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the value list value metadata returned by the API.
      Parameters:
      id - The id of the value list metadata from which this value is defined.
      value - The value in the value list.
      isDefault - Whether the value is the default in the value list.
      ordering - The integer value that represents the display order of the attribute value.
  • Method Details

    • getId

      public String getId()
      Gets the id of the value list metadata from which this value is defined.
      Returns:
      The id of the value list metadata from which this value is defined.
    • getValue

      public String getValue()
      Gets the value in the value list.
      Returns:
      The value in the value list.
    • getOrdering

      public int getOrdering()
      Gets the integer value that represents the display order of the attribute value.
      Returns:
      The integer value that represents the display order of the attribute value.
    • isDefault

      public boolean isDefault()
      Gets whether the value is the default in the value list.
      Returns:
      Whether the value is the default in the value list.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object