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 typeModifier and Type | Method and Description |
---|---|
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> |
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
elementId
Id<T> temporal(TemporalType temporal)
temporal
elementtemporal
- the value for the element temporal
Id
Id<T> temporal(String temporal)
temporal
elementtemporal
- the value for the element temporal
Id
TemporalType getTemporal()
temporal
elementtemporal
String getTemporalAsString()
temporal
elementtemporal
Id<T> removeTemporal()
temporal
attributeId
TableGenerator<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
elementId
SequenceGenerator<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
elementId
Id<T> name(String name)
name
attributename
- the value for the attribute name
Id
String getName()
name
attributename
Copyright © 2021 JBoss by Red Hat. All rights reserved.