diff options
Diffstat (limited to 'hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/HbCascadeType.java')
-rwxr-xr-x | hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/HbCascadeType.java | 283 |
1 files changed, 136 insertions, 147 deletions
diff --git a/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/HbCascadeType.java b/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/HbCascadeType.java index 526b10ee9..68c6f2135 100755 --- a/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/HbCascadeType.java +++ b/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/hbannotation/HbCascadeType.java @@ -13,19 +13,18 @@ import java.util.List; import org.eclipse.emf.common.util.Enumerator; /** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Hb Cascade Type</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> + * <!-- begin-user-doc --> A representation of the literals of the enumeration ' + * <em><b>Hb Cascade Type</b></em>', and utility methods for working with them. <!-- end-user-doc + * --> + * * @see org.eclipse.emf.teneo.hibernate.hbannotation.HbannotationPackage#getHbCascadeType() * @model * @generated */ public enum HbCascadeType implements Enumerator { /** - * The '<em><b>ALL</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>ALL</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #ALL_VALUE * @generated * @ordered @@ -33,9 +32,8 @@ public enum HbCascadeType implements Enumerator { ALL(0, "ALL", "ALL"), /** - * The '<em><b>PERSIST</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>PERSIST</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #PERSIST_VALUE * @generated * @ordered @@ -43,9 +41,8 @@ public enum HbCascadeType implements Enumerator { PERSIST(1, "PERSIST", "PERSIST"), /** - * The '<em><b>MERGE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>MERGE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #MERGE_VALUE * @generated * @ordered @@ -53,9 +50,8 @@ public enum HbCascadeType implements Enumerator { MERGE(2, "MERGE", "MERGE"), /** - * The '<em><b>REMOVE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>REMOVE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #REMOVE_VALUE * @generated * @ordered @@ -63,9 +59,8 @@ public enum HbCascadeType implements Enumerator { REMOVE(3, "REMOVE", "REMOVE"), /** - * The '<em><b>REFRESH</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>REFRESH</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #REFRESH_VALUE * @generated * @ordered @@ -73,9 +68,8 @@ public enum HbCascadeType implements Enumerator { REFRESH(4, "REFRESH", "REFRESH"), /** - * The '<em><b>DELETE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>DELETE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #DELETE_VALUE * @generated * @ordered @@ -83,9 +77,8 @@ public enum HbCascadeType implements Enumerator { DELETE(5, "DELETE", "DELETE"), /** - * The '<em><b>SAVE UPDATE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>SAVE UPDATE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #SAVE_UPDATE_VALUE * @generated * @ordered @@ -93,9 +86,8 @@ public enum HbCascadeType implements Enumerator { SAVE_UPDATE(6, "SAVE_UPDATE", "SAVE_UPDATE"), /** - * The '<em><b>REPLICATE</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>REPLICATE</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #REPLICATE_VALUE * @generated * @ordered @@ -103,9 +95,9 @@ public enum HbCascadeType implements Enumerator { REPLICATE(7, "REPLICATE", "REPLICATE"), /** - * The '<em><b>DELETE ORPHAN</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>DELETE ORPHAN</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * * @see #DELETE_ORPHAN_VALUE * @generated * @ordered @@ -113,9 +105,8 @@ public enum HbCascadeType implements Enumerator { DELETE_ORPHAN(8, "DELETE_ORPHAN", "DELETE_ORPHAN"), /** - * The '<em><b>LOCK</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>LOCK</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #LOCK_VALUE * @generated * @ordered @@ -123,9 +114,8 @@ public enum HbCascadeType implements Enumerator { LOCK(9, "LOCK", "LOCK"), /** - * The '<em><b>EVICT</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The '<em><b>EVICT</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @see #EVICT_VALUE * @generated * @ordered @@ -133,13 +123,13 @@ public enum HbCascadeType implements Enumerator { EVICT(10, "EVICT", "EVICT"); /** - * The '<em><b>ALL</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>ALL</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>ALL</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>ALL</b></em>' literal object isn't clear, there really should be more + * of a description here... * </p> * <!-- end-user-doc --> + * * @see #ALL * @model * @generated @@ -148,13 +138,13 @@ public enum HbCascadeType implements Enumerator { public static final int ALL_VALUE = 0; /** - * The '<em><b>PERSIST</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>PERSIST</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>PERSIST</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>PERSIST</b></em>' literal object isn't clear, there really should be + * more of a description here... * </p> * <!-- end-user-doc --> + * * @see #PERSIST * @model * @generated @@ -163,13 +153,13 @@ public enum HbCascadeType implements Enumerator { public static final int PERSIST_VALUE = 1; /** - * The '<em><b>MERGE</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>MERGE</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>MERGE</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>MERGE</b></em>' literal object isn't clear, there really should be + * more of a description here... * </p> * <!-- end-user-doc --> + * * @see #MERGE * @model * @generated @@ -178,13 +168,13 @@ public enum HbCascadeType implements Enumerator { public static final int MERGE_VALUE = 2; /** - * The '<em><b>REMOVE</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>REMOVE</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>REMOVE</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>REMOVE</b></em>' literal object isn't clear, there really should be + * more of a description here... * </p> * <!-- end-user-doc --> + * * @see #REMOVE * @model * @generated @@ -193,13 +183,13 @@ public enum HbCascadeType implements Enumerator { public static final int REMOVE_VALUE = 3; /** - * The '<em><b>REFRESH</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>REFRESH</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>REFRESH</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>REFRESH</b></em>' literal object isn't clear, there really should be + * more of a description here... * </p> * <!-- end-user-doc --> + * * @see #REFRESH * @model * @generated @@ -208,13 +198,13 @@ public enum HbCascadeType implements Enumerator { public static final int REFRESH_VALUE = 4; /** - * The '<em><b>DELETE</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>DELETE</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>DELETE</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>DELETE</b></em>' literal object isn't clear, there really should be + * more of a description here... * </p> * <!-- end-user-doc --> + * * @see #DELETE * @model * @generated @@ -223,13 +213,13 @@ public enum HbCascadeType implements Enumerator { public static final int DELETE_VALUE = 5; /** - * The '<em><b>SAVE UPDATE</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>SAVE UPDATE</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>SAVE UPDATE</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>SAVE UPDATE</b></em>' literal object isn't clear, there really should + * be more of a description here... * </p> * <!-- end-user-doc --> + * * @see #SAVE_UPDATE * @model * @generated @@ -238,13 +228,13 @@ public enum HbCascadeType implements Enumerator { public static final int SAVE_UPDATE_VALUE = 6; /** - * The '<em><b>REPLICATE</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>REPLICATE</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>REPLICATE</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>REPLICATE</b></em>' literal object isn't clear, there really should + * be more of a description here... * </p> * <!-- end-user-doc --> + * * @see #REPLICATE * @model * @generated @@ -253,13 +243,13 @@ public enum HbCascadeType implements Enumerator { public static final int REPLICATE_VALUE = 7; /** - * The '<em><b>DELETE ORPHAN</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>DELETE ORPHAN</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>DELETE ORPHAN</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>DELETE ORPHAN</b></em>' literal object isn't clear, there really + * should be more of a description here... * </p> * <!-- end-user-doc --> + * * @see #DELETE_ORPHAN * @model * @generated @@ -268,13 +258,13 @@ public enum HbCascadeType implements Enumerator { public static final int DELETE_ORPHAN_VALUE = 8; /** - * The '<em><b>LOCK</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>LOCK</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>LOCK</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>LOCK</b></em>' literal object isn't clear, there really should be + * more of a description here... * </p> * <!-- end-user-doc --> + * * @see #LOCK * @model * @generated @@ -283,13 +273,13 @@ public enum HbCascadeType implements Enumerator { public static final int LOCK_VALUE = 9; /** - * The '<em><b>EVICT</b></em>' literal value. - * <!-- begin-user-doc --> + * The '<em><b>EVICT</b></em>' literal value. <!-- begin-user-doc --> * <p> - * If the meaning of '<em><b>EVICT</b></em>' literal object isn't clear, - * there really should be more of a description here... + * If the meaning of '<em><b>EVICT</b></em>' literal object isn't clear, there really should be + * more of a description here... * </p> * <!-- end-user-doc --> + * * @see #EVICT * @model * @generated @@ -298,38 +288,27 @@ public enum HbCascadeType implements Enumerator { public static final int EVICT_VALUE = 10; /** - * An array of all the '<em><b>Hb Cascade Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * An array of all the '<em><b>Hb Cascade Type</b></em>' enumerators. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * * @generated */ - private static final HbCascadeType[] VALUES_ARRAY = - new HbCascadeType[] { - ALL, - PERSIST, - MERGE, - REMOVE, - REFRESH, - DELETE, - SAVE_UPDATE, - REPLICATE, - DELETE_ORPHAN, - LOCK, - EVICT, - }; - - /** - * A public read-only list of all the '<em><b>Hb Cascade Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + private static final HbCascadeType[] VALUES_ARRAY = new HbCascadeType[] { ALL, PERSIST, MERGE, + REMOVE, REFRESH, DELETE, SAVE_UPDATE, REPLICATE, DELETE_ORPHAN, LOCK, EVICT, }; + + /** + * A public read-only list of all the '<em><b>Hb Cascade Type</b></em>' enumerators. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @generated */ - public static final List<HbCascadeType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + public static final List<HbCascadeType> VALUES = Collections.unmodifiableList(Arrays + .asList(VALUES_ARRAY)); /** - * Returns the '<em><b>Hb Cascade Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * Returns the '<em><b>Hb Cascade Type</b></em>' literal with the specified literal value. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public static HbCascadeType get(String literal) { @@ -343,9 +322,9 @@ public enum HbCascadeType implements Enumerator { } /** - * Returns the '<em><b>Hb Cascade Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * Returns the '<em><b>Hb Cascade Type</b></em>' literal with the specified name. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public static HbCascadeType getByName(String name) { @@ -359,53 +338,63 @@ public enum HbCascadeType implements Enumerator { } /** - * Returns the '<em><b>Hb Cascade Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * Returns the '<em><b>Hb Cascade Type</b></em>' literal with the specified integer value. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public static HbCascadeType get(int value) { switch (value) { - case ALL_VALUE: return ALL; - case PERSIST_VALUE: return PERSIST; - case MERGE_VALUE: return MERGE; - case REMOVE_VALUE: return REMOVE; - case REFRESH_VALUE: return REFRESH; - case DELETE_VALUE: return DELETE; - case SAVE_UPDATE_VALUE: return SAVE_UPDATE; - case REPLICATE_VALUE: return REPLICATE; - case DELETE_ORPHAN_VALUE: return DELETE_ORPHAN; - case LOCK_VALUE: return LOCK; - case EVICT_VALUE: return EVICT; + case ALL_VALUE: + return ALL; + case PERSIST_VALUE: + return PERSIST; + case MERGE_VALUE: + return MERGE; + case REMOVE_VALUE: + return REMOVE; + case REFRESH_VALUE: + return REFRESH; + case DELETE_VALUE: + return DELETE; + case SAVE_UPDATE_VALUE: + return SAVE_UPDATE; + case REPLICATE_VALUE: + return REPLICATE; + case DELETE_ORPHAN_VALUE: + return DELETE_ORPHAN; + case LOCK_VALUE: + return LOCK; + case EVICT_VALUE: + return EVICT; } return null; } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private final int value; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private final String name; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private final String literal; /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * Only this class can construct instances. <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ private HbCascadeType(int value, String name, String literal) { @@ -415,41 +404,41 @@ public enum HbCascadeType implements Enumerator { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public int getValue() { - return value; + return value; } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public String getName() { - return name; + return name; } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public String getLiteral() { - return literal; + return literal; } /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * Returns the literal value of the enumerator, which is its string representation. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override public String toString() { return literal; } - -} //HbCascadeType + +} // HbCascadeType |