Class ContentFieldDecimal

All Implemented Interfaces:
Serializable

public class ContentFieldDecimal extends ContentField<Double>
Represent a decimal value as a Double.
See Also:
  • Constructor Details

    • ContentFieldDecimal

      public ContentFieldDecimal(Double value)
  • Method Details

    • getValueAsString

      public String getValueAsString()
      Description copied from class: ContentField
      Return a single string representation of the field value, regardless of the type. This works to get a string representation of primitive types like integer, decimal, text as a string but will only return the name of more complex types like references.
      Overrides:
      getValueAsString in class ContentField<Double>
      Returns:
      String representation of value for field