Class DynamicAttributesMediaUrl

    • Method Summary

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

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

      • DynamicAttributesMediaUrl

        public DynamicAttributesMediaUrl()
    • Method Detail

      • get

        public java.lang.String get​(MediaModel model)
        Description copied from interface: DynamicAttributeHandler
        Holds logic behind getter for dynamic attribute.
        Specified by:
        get in interface DynamicAttributeHandler<java.lang.String,​MediaModel>
        Parameters:
        model - model for which dynamic attribute is declared.
        Returns:
        computed value.
      • set

        public void set​(MediaModel 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,​MediaModel>
        Parameters:
        model - model for which dynamic attribute is declared.
        value - the value which will be used by setter logic.
      • setMediaService

        public void setMediaService​(MediaService mediaService)