Class PropertyHandler

java.lang.Object
com.saperion.ngc.util.property.PropertyHandler

@Deprecated public final class PropertyHandler extends Object
Deprecated.
Deprecated due to performance issues. Use PropertyToStringConverter instead.
Class that is responsible for property type conversion and comparison.
  • Method Details

    • getInstance

      public static PropertyHandler getInstance(com.saperion.intf.SaPropertyValue prop)
      Deprecated.
      Sets the property to use.
      Parameters:
      prop - property to use
      Returns:
      PropertyConverter
    • returnStringValues

      public String[] returnStringValues() throws SystemException, AuthenticationException
      Deprecated.
      Converts the provided SaPropertyValue object values to String array. Used for UI representation.
      Returns:
      Property values as String array.
      Throws:
      AuthenticationException - authentication exception
      SystemException - system exception
    • compareTo

      public int compareTo(com.saperion.intf.SaPropertyValue other)
      Deprecated.
      Parameters:
      other - Other property
      Returns:
      -1 if first value < other property's value, 0 if first value = other property's value, 1 if first value > other property's value