Class BOCharacteristic

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.characteristics.bl.BOCharacteristic
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOCharacteristic extends DynO
Business object representing a characteristic
Since:
16.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOCharacteristic

      public BOCharacteristic()
  • Method Details

    • getId

      public Long getId()
      Returns the characteristic id.
      Returns:
      the the characteristic id
    • setId

      public void setId(Long id)
      Sets the characteristic id.
      Parameters:
      id - the characteristic id
    • getCode

      public String getCode()
      Returns the characteristic code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets the characteristic code.
      Parameters:
      code - the code
    • getDescription

      public LocalizedString getDescription()
      Returns the characteristic description.
      Returns:
      the description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the characteristic description.
      Parameters:
      description - the description
    • getDataType

      public Long getDataType()
      Returns the id of the characteristic data type.
      Returns:
      the data type id
    • setDataType

      public void setDataType(Long dataType)
      Sets the id of the characteristic data type.
      Parameters:
      dataType - the data type id
    • getFormat

      public String getFormat()
      Returns the characteristic format.
      Returns:
      the format
    • setFormat

      public void setFormat(String format)
      Sets the characteristic format.
      Parameters:
      format - the format
    • getSize

      public Long getSize()
      Returns the characteristic size.
      Returns:
      the size
    • setSize

      public void setSize(Long size)
      Sets the characteristic size.
      Parameters:
      size - the size
    • getMaxLength

      public Long getMaxLength()
      Returns the characteristic max length.
      Returns:
      the max length
    • setMaxLength

      public void setMaxLength(Long maxLength)
      Sets the characteristic max length.
      Parameters:
      maxLength - the max length
    • isNotNull

      public Boolean isNotNull()
      Checks if the characteristic must be not null.
      Returns:
      true if the characteristic is not null, false otherwise
    • setNotNull

      public void setNotNull(Boolean notNull)
      Sets the characteristic to not null.
      Parameters:
      notNull - true if the the characteristic must be not null, false otherwise
    • getMeasurementUnit

      public Long getMeasurementUnit()
      Returns the id of the characteristic measurement unit.
      Returns:
      the measurement unit
    • setMeasurementUnit

      public void setMeasurementUnit(Long measurementUnit)
      Sets the id of the characteristic measurement unit.
      Parameters:
      measurementUnit - the measurement unit id
    • isActive

      public Boolean isActive()
      Checks if the characteristic is the active.
      Returns:
      true if the characteristic is active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets the characteristic to active.
      Parameters:
      active - true if the characteristic must be active, false otherwise
    • getPrecision

      public Long getPrecision()
      Returns the characteristic precision.
      Returns:
      the precision
    • setPrecision

      public void setPrecision(Long precision)
      Sets the characteristic precision.
      Parameters:
      precision - the precision
    • getValueDomain

      public Long getValueDomain()
      Returns the id of the characteristic value domain.
      Returns:
      the value domain id
    • setValueDomain

      public void setValueDomain(Long valueDomain)
      Sets the id of the characteristic value domain.
      Parameters:
      valueDomain - the value domain id
    • getCharacteristicClass

      public Long getCharacteristicClass()
      Returns the id of the characteristic class.
      Returns:
      the characteristic class id
    • setCharacteristicClass

      public void setCharacteristicClass(Long characteristicClass)
      Sets the id of the characteristic class.
      Parameters:
      characteristicClass - the characteristic class id
    • getOrder

      public Long getOrder()
      Returns the characteristic order.
      Returns:
      the order
    • setOrder

      public void setOrder(Long order)
      Sets the characteristic order.
      Parameters:
      order - the order
    • getUsage

      public Long getUsage()
      Returns the characteristic usage id.
      Returns:
      the usage id
    • setUsage

      public void setUsage(Long usage)
      Sets the characteristic usage id.
      Parameters:
      usage - the usage id
    • isMeter

      public Boolean isMeter()
      Checks if the characteristic is meter.
      Returns:
      true if is the characteristic is meter, false otherwise
    • setMeter

      public void setMeter(Boolean meter)
      Sets the characteristic to meter.
      Parameters:
      meter - true if the characteristic must be meter, false otherwise
    • isNegativeValues

      public Boolean isNegativeValues()
      Returns the characteristic negative values.
      Returns:
      the negative values
    • setNegativeValues

      public void setNegativeValues(Boolean negativeValues)
      Sets the characteristic negative values.
      Parameters:
      negativeValues - the negative values