Class ProfiClassAttributeTypeTranslator


public class ProfiClassAttributeTypeTranslator extends SingleValueTranslator
  • Constructor Details

    • ProfiClassAttributeTypeTranslator

      public ProfiClassAttributeTypeTranslator()
  • Method Details

    • convertToJalo

      protected Object convertToJalo(String expr, Item forItem)
      Description copied from class: SingleValueTranslator
      Converts a non-null and non-empty string into a jalo attribute value.
      Specified by:
      convertToJalo in class SingleValueTranslator
      Parameters:
      expr - string to translate
      forItem - item instance the translated value will be set to as attribute
      Returns:
      Object translated value
    • convertToString

      protected String convertToString(Object value)
      Description copied from class: SingleValueTranslator
      Converts a non-null jalo attribute value into its string representation.
      Specified by:
      convertToString in class SingleValueTranslator
      Parameters:
      value - value to translate
      Returns:
      translated value