|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface MappedColumn
The concept of a MappedColumn is very similar to that of a
javax.persistence.Column, but since applications in the need of this concept
may not want to compile with J2EE, this Annotation is used instead for MappedEntry instances.
MappedEntry,
MappedEntryMapper| Optional Element Summary | |
|---|---|
boolean |
readOnly
(optional) if true, this element is only mapped from the database to the java instance, not back. |
String |
stubStringColumn
(optional) specifies the name of the column that holds the reference string if the annotated type is a Stub. |
String |
value
(optional) specifies the name of the column. |
public abstract String value
public abstract boolean readOnly
public abstract String stubStringColumn
Stub.
The specified column is implicitly read-only.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||