Class ScalarPropertyV1

java.lang.Object
com.seeq.model.ScalarPropertyV1

public class ScalarPropertyV1 extends Object
A list of the capsule's properties
  • Constructor Details

    • ScalarPropertyV1

      public ScalarPropertyV1()
  • Method Details

    • name

      public ScalarPropertyV1 name(String name)
    • getName

      public String getName()
      Human readable name of the property. Null or whitespace names are not permitted
      Returns:
      name
    • setName

      public void setName(String name)
    • unitOfMeasure

      public ScalarPropertyV1 unitOfMeasure(String unitOfMeasure)
    • getUnitOfMeasure

      public String getUnitOfMeasure()
      The unit of measure to apply to this property's value. If no unit of measure is set and the value is numeric, it is assumed to be unitless
      Returns:
      unitOfMeasure
    • setUnitOfMeasure

      public void setUnitOfMeasure(String unitOfMeasure)
    • value

      public ScalarPropertyV1 value(Object value)
    • getValue

      public Object getValue()
      The value to assign to this property. If the value is surrounded by quotes, it is interpreted as a string and no units are set
      Returns:
      value
    • setValue

      public void setValue(Object value)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object