java.lang.Object
org.opencastproject.lifecyclemanagement.impl.persistence.StatusConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<org.opencastproject.lifecyclemanagement.api.Status,String>

public class StatusConverter extends Object implements javax.persistence.AttributeConverter<org.opencastproject.lifecyclemanagement.api.Status,String>
  • Constructor Details

    • StatusConverter

      public StatusConverter()
  • Method Details

    • convertToDatabaseColumn

      public String convertToDatabaseColumn(org.opencastproject.lifecyclemanagement.api.Status type)
      Specified by:
      convertToDatabaseColumn in interface javax.persistence.AttributeConverter<org.opencastproject.lifecyclemanagement.api.Status,String>
    • convertToEntityAttribute

      public org.opencastproject.lifecyclemanagement.api.Status convertToEntityAttribute(String code)
      Specified by:
      convertToEntityAttribute in interface javax.persistence.AttributeConverter<org.opencastproject.lifecyclemanagement.api.Status,String>