Class FcUuidEntityConverter

  • All Implemented Interfaces:
    javax.faces.convert.Converter<Object>

    public class FcUuidEntityConverter
    extends org.omnifaces.converter.SelectItemsConverter
    Converter for FORMCYCLE entities that also implement IUUIDEntity. Takes the IUUIDEntity.getUUID() as the unique identifier.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • FcUuidEntityConverter

        public FcUuidEntityConverter()
    • Method Detail

      • getAsObject

        public Object getAsObject​(javax.faces.context.FacesContext context,
                                  javax.faces.component.UIComponent component,
                                  String value)
        Specified by:
        getAsObject in interface javax.faces.convert.Converter<Object>
        Overrides:
        getAsObject in class org.omnifaces.converter.SelectItemsConverter
      • getAsString

        public String getAsString​(javax.faces.context.FacesContext context,
                                  javax.faces.component.UIComponent component,
                                  Object value)
        Specified by:
        getAsString in interface javax.faces.convert.Converter<Object>
        Overrides:
        getAsString in class org.omnifaces.converter.SelectItemsConverter