
public interface Id<T> extends Child<T>, OrmIdCommType<T,Id<T>,Column<Id<T>>,GeneratedValue<Id<T>>,TableGenerator<Id<T>>,SequenceGenerator<Id<T>>>
id xsd type| Modifier and Type | Method and Description |
|---|---|
Id<T> |
access(AccessType access)
Sets the
access attribute |
Id<T> |
access(String access)
Sets the
access attribute |
AccessType |
getAccess()
Returns the
access attribute |
String |
getAccessAsString()
Returns the
access attribute |
String |
getName()
Returns the
name attribute |
Column<Id<T>> |
getOrCreateColumn()
If not already created, a new
column element with the given value will be created. |
GeneratedValue<Id<T>> |
getOrCreateGeneratedValue()
If not already created, a new
generated-value element with the given value will be created. |
SequenceGenerator<Id<T>> |
getOrCreateSequenceGenerator()
If not already created, a new
sequence-generator element with the given value will be created. |
TableGenerator<Id<T>> |
getOrCreateTableGenerator()
If not already created, a new
table-generator element with the given value will be created. |
TemporalType |
getTemporal()
Returns the
temporal element |
String |
getTemporalAsString()
Returns the
temporal element |
Id<T> |
name(String name)
Sets the
name attribute |
Id<T> |
removeAccess()
Removes the
access attribute |
Id<T> |
removeColumn()
Removes the
column element |
Id<T> |
removeGeneratedValue()
Removes the
generated-value element |
Id<T> |
removeName()
Removes the
name attribute |
Id<T> |
removeSequenceGenerator()
Removes the
sequence-generator element |
Id<T> |
removeTableGenerator()
Removes the
table-generator element |
Id<T> |
removeTemporal()
Removes the
temporal attribute |
Id<T> |
temporal(String temporal)
Sets the
temporal element |
Id<T> |
temporal(TemporalType temporal)
Sets the
temporal element |
Column<Id<T>> getOrCreateColumn()
column element with the given value will be created.
Otherwise, the existing column element will be returned.Column> GeneratedValue<Id<T>> getOrCreateGeneratedValue()
generated-value element with the given value will be created.
Otherwise, the existing generated-value element will be returned.GeneratedValue> Id<T> removeGeneratedValue()
generated-value elementIdId<T> temporal(TemporalType temporal)
temporal elementtemporal - the value for the element temporalIdId<T> temporal(String temporal)
temporal elementtemporal - the value for the element temporalIdTemporalType getTemporal()
temporal elementtemporalString getTemporalAsString()
temporal elementtemporalId<T> removeTemporal()
temporal attributeIdTableGenerator<Id<T>> getOrCreateTableGenerator()
table-generator element with the given value will be created.
Otherwise, the existing table-generator element will be returned.TableGenerator> Id<T> removeTableGenerator()
table-generator elementIdSequenceGenerator<Id<T>> getOrCreateSequenceGenerator()
sequence-generator element with the given value will be created.
Otherwise, the existing sequence-generator element will be returned.SequenceGenerator> Id<T> removeSequenceGenerator()
sequence-generator elementIdId<T> name(String name)
name attributename - the value for the attribute nameIdString getName()
name attributenameId<T> access(AccessType access)
access attributeaccess - the value for the attribute accessIdId<T> access(String access)
access attributeaccess - the value for the attribute accessIdAccessType getAccess()
access attributeaccessString getAccessAsString()
access attributeaccessCopyright © 2021 JBoss by Red Hat. All rights reserved.