Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.orm21 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
ManyToOne<T> |
ManyToOne.access(AccessType access)
Sets the
access attribute |
ManyToOne<T> |
ManyToOne.access(String access)
Sets the
access attribute |
ManyToOne<EmbeddableAttributes<T>> |
EmbeddableAttributes.createManyToOne()
Creates a new
many-to-one element |
ManyToOne<Attributes<T>> |
Attributes.createManyToOne()
Creates a new
many-to-one element |
ManyToOne<T> |
ManyToOne.fetch(FetchType fetch)
Sets the
fetch attribute |
ManyToOne<T> |
ManyToOne.fetch(String fetch)
Sets the
fetch attribute |
ManyToOne<EmbeddableAttributes<T>> |
EmbeddableAttributes.getOrCreateManyToOne()
If not already created, a new
many-to-one element will be created and returned. |
ManyToOne<Attributes<T>> |
Attributes.getOrCreateManyToOne()
If not already created, a new
many-to-one element will be created and returned. |
ManyToOne<T> |
ManyToOne.id(Boolean id)
Sets the
id attribute |
ManyToOne<T> |
ManyToOne.mapsId(String mapsId)
Sets the
maps-id attribute |
ManyToOne<T> |
ManyToOne.name(String name)
Sets the
name attribute |
ManyToOne<T> |
ManyToOne.optional(Boolean optional)
Sets the
optional attribute |
ManyToOne<T> |
ManyToOne.removeAccess()
Removes the
access attribute |
ManyToOne<T> |
ManyToOne.removeAllJoinColumn()
Removes all
join-column elements |
ManyToOne<T> |
ManyToOne.removeCascade()
Removes the
cascade element |
ManyToOne<T> |
ManyToOne.removeFetch()
Removes the
fetch attribute |
ManyToOne<T> |
ManyToOne.removeForeignKey()
Removes the
foreign-key element |
ManyToOne<T> |
ManyToOne.removeId()
Removes the
id attribute |
ManyToOne<T> |
ManyToOne.removeJoinTable()
Removes the
join-table element |
ManyToOne<T> |
ManyToOne.removeMapsId()
Removes the
maps-id attribute |
ManyToOne<T> |
ManyToOne.removeName()
Removes the
name attribute |
ManyToOne<T> |
ManyToOne.removeOptional()
Removes the
optional attribute |
ManyToOne<T> |
ManyToOne.removeTargetEntity()
Removes the
target-entity attribute |
ManyToOne<T> |
ManyToOne.targetEntity(String targetEntity)
Sets the
target-entity attribute |
Modifier and Type | Method and Description |
---|---|
JoinColumn<ManyToOne<T>> |
ManyToOne.createJoinColumn()
Creates a new
join-column element |
List<JoinColumn<ManyToOne<T>>> |
ManyToOne.getAllJoinColumn()
Returns all
join-column elements |
List<ManyToOne<EmbeddableAttributes<T>>> |
EmbeddableAttributes.getAllManyToOne()
Returns all
many-to-one elements |
List<ManyToOne<Attributes<T>>> |
Attributes.getAllManyToOne()
Returns all
many-to-one elements |
CascadeType<ManyToOne<T>> |
ManyToOne.getOrCreateCascade()
If not already created, a new
cascade element with the given value will be created. |
ForeignKey<ManyToOne<T>> |
ManyToOne.getOrCreateForeignKey()
If not already created, a new
foreign-key element with the given value will be created. |
JoinColumn<ManyToOne<T>> |
ManyToOne.getOrCreateJoinColumn()
If not already created, a new
join-column element will be created and returned. |
JoinTable<ManyToOne<T>> |
ManyToOne.getOrCreateJoinTable()
If not already created, a new
join-table element with the given value will be created. |
Copyright © 2021 JBoss by Red Hat. All rights reserved.