|
JADE Java Persistence API 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ReferenceUpdateMode>
com.jadeworld.jade.persistence.ReferenceUpdateMode
public enum ReferenceUpdateMode
Holds the values of the @OneToOne, @OneToMany, @ManyToMany, and @ManyToOne updateMode attributes. This attribute determines what is automatically done by JADE and what by user logic, with references and their inverses.
| Enum Constant Summary | |
|---|---|
AUTOMATIC
The AUTOMATIC option means the property is maintained by JADE whenever the property at the other end of the relationship (the inverse) is updated. |
|
DEFAULT
The DEFAULT option specifies that the actual relationship type is based on the relationshipType of the relationship, with values as in the ReferenceRelationshipType class. |
|
MAN_AUTO
The MAN_AUTO option specifies that either end of the relationship can be updated in user logic. |
|
MANUAL
The MANUAL option specifies that the property is maintained by your Java logic. |
|
| Method Summary | |
|---|---|
static ReferenceUpdateMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReferenceUpdateMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ReferenceUpdateMode DEFAULT
public static final ReferenceUpdateMode MANUAL
public static final ReferenceUpdateMode AUTOMATIC
public static final ReferenceUpdateMode MAN_AUTO
| Method Detail |
|---|
public static final ReferenceUpdateMode[] values()
for(ReferenceUpdateMode c : ReferenceUpdateMode.values())
System.out.println(c);
public static ReferenceUpdateMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
JADE Java Persistence API 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||