public class IdDiscriptor extends Object
| Modifier and Type | Field and Description |
|---|---|
private SequenceGeneratorDiscriptor |
sequenceDiscriptor |
private javax.persistence.GenerationType |
strategy |
private TableGeneratorDiscriptor |
tableDiscriptor |
| Constructor and Description |
|---|
IdDiscriptor() |
| Modifier and Type | Method and Description |
|---|---|
SequenceGeneratorDiscriptor |
getSequenceDiscriptor() |
javax.persistence.GenerationType |
getStrategy() |
TableGeneratorDiscriptor |
getTableDiscriptor() |
void |
setSequenceDiscriptor(SequenceGeneratorDiscriptor sequenceDiscriptor) |
void |
setStrategy(javax.persistence.GenerationType strategy) |
void |
setTableDiscriptor(TableGeneratorDiscriptor tableDiscriptor) |
private javax.persistence.GenerationType strategy
private TableGeneratorDiscriptor tableDiscriptor
private SequenceGeneratorDiscriptor sequenceDiscriptor
public javax.persistence.GenerationType getStrategy()
public void setStrategy(javax.persistence.GenerationType strategy)
strategy - the strategy to setpublic TableGeneratorDiscriptor getTableDiscriptor()
public void setTableDiscriptor(TableGeneratorDiscriptor tableDiscriptor)
tableDiscriptor - the tableDiscriptor to setpublic SequenceGeneratorDiscriptor getSequenceDiscriptor()
public void setSequenceDiscriptor(SequenceGeneratorDiscriptor sequenceDiscriptor)
sequenceDiscriptor - the sequenceDiscriptor to setCopyright © 2015. All Rights Reserved.