Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.orm10 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
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<Attributes<T>> |
Attributes.getOrCreateManyToOne()
If not already created, a new
many-to-one element will be created and returned. |
ManyToOne<T> |
ManyToOne.name(String name)
Sets the
name attribute |
ManyToOne<T> |
ManyToOne.optional(Boolean optional)
Sets the
optional 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.removeJoinTable()
Removes the
join-table element |
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<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. |
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 © 2019 JBoss by Red Hat. All rights reserved.