|
jTransfo, 0.14 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Target(value=FIELD) @Documented public @interface MapOnly
Annotation which allows security filtering on jTransfo field behaviour. If a field has a MapOnly of MapOnlies annotation then the field will only be copied when one of the tags in the MapOnly or MapOnlies annotation is present.
By default fields are mapped in both directions between fields of the same name.
| Required Element Summary | |
|---|---|
String[] |
value
Tags for which this annotation applies. |
| Optional Element Summary | |
|---|---|
boolean |
readOnly
When set, the field will not be written in the domain class when the tag is present. |
String |
typeConverter
Fully qualified class name for the type converter. |
Class |
typeConverterClass
Class to use for type conversion. |
| Element Detail |
|---|
public abstract String[] value
public abstract boolean readOnly
public abstract String typeConverter
MappedBy annotation.
public abstract Class typeConverterClass
MappedBy annotation.
This requires a compile dependency on the domain class. The value has precedence over typeConverter().
|
jTransfo, 0.14 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||