org.directwebremoting.annotations
Annotation Type DataTransferObject


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface DataTransferObject

Convert a class to JavaScript and back.

Author:
Maik Schreiber , Joe Walker [joe at getahead dot ltd dot uk]

Optional Element Summary
 java.lang.Class<? extends Converter> converter
          Converter that converts instance of the class (default: bean converter).
 java.lang.String javascript
          Javascript class mapping.
 Param[] params
          Parameters for the converter.
 java.lang.String type
          Converter type TODO: Just used by Spring configurator
 

converter

public abstract java.lang.Class<? extends Converter> converter
Converter that converts instance of the class (default: bean converter).

Default:
org.directwebremoting.convert.BeanConverter.class

params

public abstract Param[] params
Parameters for the converter.

Default:
{}

type

public abstract java.lang.String type
Converter type TODO: Just used by Spring configurator

Default:
"bean"

javascript

public abstract java.lang.String javascript
Javascript class mapping. TODO: Just used by Spring configurator

Default:
""

Copyright 2008