Class ProductIDAttributeHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String convertID​(java.lang.String productID)  
      java.lang.String get​(ProductModel model)
      Holds logic behind getter for dynamic attribute.
      void set​(ProductModel model, java.lang.String value)
      Holds logic behind setter for dynamic attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProductIDAttributeHandler

        public ProductIDAttributeHandler()
    • Method Detail

      • convertID

        protected java.lang.String convertID​(java.lang.String productID)
      • set

        public void set​(ProductModel model,
                        java.lang.String value)
        Description copied from interface: DynamicAttributeHandler
        Holds logic behind setter for dynamic attribute.
        Specified by:
        set in interface DynamicAttributeHandler<java.lang.String,​ProductModel>
        Parameters:
        model - model for which dynamic attribute is declared.
        value - the value which will be used by setter logic.