Class TransformableCondition

java.lang.Object
com.seeq.link.sdk.services.TransformableCondition
All Implemented Interfaces:
Transformable<com.seeq.model.ConditionUpdateInputV1>

public class TransformableCondition extends Object implements Transformable<com.seeq.model.ConditionUpdateInputV1>
  • Constructor Details

    • TransformableCondition

      public TransformableCondition()
    • TransformableCondition

      public TransformableCondition(com.seeq.model.ConditionUpdateInputV1 input)
  • Method Details

    • copy

      public Transformable<com.seeq.model.ConditionUpdateInputV1> copy()
      Description copied from interface: Transformable
      Return a copy of this Transformable object.
      Specified by:
      copy in interface Transformable<com.seeq.model.ConditionUpdateInputV1>
      Returns:
      A copy of this object.
    • getInputObject

      public com.seeq.model.ConditionUpdateInputV1 getInputObject()
      Description copied from interface: Transformable
      Get the underlying API input object that backs this Transformable.
      Specified by:
      getInputObject in interface Transformable<com.seeq.model.ConditionUpdateInputV1>
      Returns:
      A Seeq API input object.
    • getProperty

      public Object getProperty(String propertyName)
      Description copied from interface: Transformable
      Returns the value for the given property.
      Specified by:
      getProperty in interface Transformable<com.seeq.model.ConditionUpdateInputV1>
      Parameters:
      propertyName - The property to get.
      Returns:
      The value, as a string, boolean, int or double.
    • setProperty

      public void setProperty(String propertyName, Object propertyValue)
      Description copied from interface: Transformable
      Sets the value for the given property.
      Specified by:
      setProperty in interface Transformable<com.seeq.model.ConditionUpdateInputV1>
      Parameters:
      propertyName - The property to set.
      propertyValue - The value to set. Many properties are restricted to certain value types (e.g. 'Name' will almost always have to be a string).
    • setProperty

      public void setProperty(String propertyName, Object propertyValue, String unitOfMeasure)
      Description copied from interface: Transformable
      Sets the value for the given property.
      Specified by:
      setProperty in interface Transformable<com.seeq.model.ConditionUpdateInputV1>
      Parameters:
      propertyName - The property to set.
      propertyValue - The value to set. Many properties are restricted to certain value types (e.g. 'Name' will almost always have to be a string).
      unitOfMeasure - The unit of measure to set on the property. Optional, and may be ignored for certain properties.
    • removeProperty

      public void removeProperty(String propertyName)
      Description copied from interface: Transformable
      Removes a property.
      Specified by:
      removeProperty in interface Transformable<com.seeq.model.ConditionUpdateInputV1>
      Parameters:
      propertyName - The property to remove.
    • toString

      public String toString()
      Overrides:
      toString in class Object