Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.orm20 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
Id<T> |
Id.access(AccessType access)
Sets the
access attribute |
Id<T> |
Id.access(String access)
Sets the
access attribute |
Id<Attributes<T>> |
Attributes.createId()
Creates a new
id element |
Id<Attributes<T>> |
Attributes.getOrCreateId()
If not already created, a new
id element will be created and returned. |
Id<T> |
Id.name(String name)
Sets the
name attribute |
Id<T> |
Id.removeAccess()
Removes the
access attribute |
Id<T> |
Id.removeColumn()
Removes the
column element |
Id<T> |
Id.removeGeneratedValue()
Removes the
generated-value element |
Id<T> |
Id.removeName()
Removes the
name attribute |
Id<T> |
Id.removeSequenceGenerator()
Removes the
sequence-generator element |
Id<T> |
Id.removeTableGenerator()
Removes the
table-generator element |
Id<T> |
Id.removeTemporal()
Removes the
temporal attribute |
Id<T> |
Id.temporal(String temporal)
Sets the
temporal element |
Id<T> |
Id.temporal(TemporalType temporal)
Sets the
temporal element |
Modifier and Type | Method and Description |
---|---|
List<Id<Attributes<T>>> |
Attributes.getAllId()
Returns all
id elements |
Column<Id<T>> |
Id.getOrCreateColumn()
If not already created, a new
column element with the given value will be created. |
GeneratedValue<Id<T>> |
Id.getOrCreateGeneratedValue()
If not already created, a new
generated-value element with the given value will be created. |
SequenceGenerator<Id<T>> |
Id.getOrCreateSequenceGenerator()
If not already created, a new
sequence-generator element with the given value will be created. |
TableGenerator<Id<T>> |
Id.getOrCreateTableGenerator()
If not already created, a new
table-generator element with the given value will be created. |
Copyright © 2018 JBoss by Red Hat. All rights reserved.