| Type | Name and description |
|---|---|
javax.persistence.FetchType |
getFetchStrategy() |
java.lang.String |
getGenerator()Get the id generator. |
java.lang.String |
getName() |
java.lang.String |
getTargetName()The target to map to, could be a database column, document attribute, or hash key |
boolean |
isIndex()@return Whether this property is index |
boolean |
isNullable() |
void |
setFetchStrategy(javax.persistence.FetchType fetchStrategy) |
void |
setGenerator(java.lang.String generator)Set the id generator name or class. |
void |
setIndex(boolean index)Whether this property is index |
void |
setName(java.lang.String propertyName) |
void |
setNullable(boolean nullable) |
void |
setTargetName(java.lang.String targetName) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Get the id generator.
The target to map to, could be a database column, document attribute, or hash key
Set the id generator name or class.
generator - name or classWhether this property is index
index - Sets whether to index the property or not