| |
|
| java.lang.Object org.jpox.metadata.InheritanceStrategy
InheritanceStrategy | public class InheritanceStrategy implements Serializable(Code) | | Representation of the values for inheritance "strategy".
A brief description of the strategies
- subclass-table - the fields of this class are persisted into the table(s) of subclasses.
- new-table - the fields of this class are persisted into its own table.
- superclass-table - the fields of this class are persisted into the table of its superclass
- complete-table - the fields of this class and all fields of superclasses are persisted into its own table.
since: 1.1 version: $Revision: 1.7 $ |
COMPLETE_TABLE | final public static InheritanceStrategy COMPLETE_TABLE(Code) | | strategy="complete-table" (from JPA "TABLE_PER_CLASS")
|
equals | public boolean equals(Object o)(Code) | | Indicates whether some other object is "equal to" this one.
Parameters: o - the reference object with which to compare. true if this object is the same as the obj argument; false otherwise. |
getInheritanceStrategy | public static InheritanceStrategy getInheritanceStrategy(String value)(Code) | | Obtain a InheritanceStrategy for the given name by value
Parameters: value - the name the InheritanceStrategy found or InheritanceStrategy.NEW_TABLE if not found.Nothing specified returns null |
getType | public int getType()(Code) | | Accessor for the type.
Type |
toString | public String toString()(Code) | | Returns a string representation of the object.
a string representation of the object. |
|
|
|