org.riotfamily.components.model.wrapper
Class RiotFileWrapper

java.lang.Object
  extended by org.riotfamily.components.model.wrapper.ValueWrapper<org.riotfamily.media.model.RiotFile>
      extended by org.riotfamily.components.model.wrapper.RiotFileWrapper

public class RiotFileWrapper
extends ValueWrapper<org.riotfamily.media.model.RiotFile>

Since:
7.0
Author:
Felix Gnass [fgnass at neteye dot de]

Constructor Summary
RiotFileWrapper()
           
 
Method Summary
 RiotFileWrapper deepCopy()
          Creates a deep copy.
 org.riotfamily.media.model.RiotFile getValue()
          Returns the value that is passed to the form element when the value is edited.
 void setValue(org.riotfamily.media.model.RiotFile value)
           
 
Methods inherited from class org.riotfamily.components.model.wrapper.ValueWrapper
each, equals, getId, hashCode, setId, toString, unwrap, wrap
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RiotFileWrapper

public RiotFileWrapper()
Method Detail

getValue

public org.riotfamily.media.model.RiotFile getValue()
Description copied from class: ValueWrapper
Returns the value that is passed to the form element when the value is edited. Subclasses will usually return the wrapped value, except for complex wrappers (like ListWrapper and MapWrapper) which return a self-reference.

Specified by:
getValue in class ValueWrapper<org.riotfamily.media.model.RiotFile>

setValue

public void setValue(org.riotfamily.media.model.RiotFile value)
Specified by:
setValue in class ValueWrapper<org.riotfamily.media.model.RiotFile>

deepCopy

public RiotFileWrapper deepCopy()
Description copied from class: ValueWrapper
Creates a deep copy. Subclasses will usually just create a new wrapper instance and and invoke ValueWrapper.setValue(Object) with the value returned by ValueWrapper.getValue(). Complex wrappers have to make sure that the deepCopy method is invoked for all nested values too.

Specified by:
deepCopy in class ValueWrapper<org.riotfamily.media.model.RiotFile>