
public interface ManyToOne<T> extends Child<T>, OrmManyToOneCommType<T,ManyToOne<T>,JoinColumn<ManyToOne<T>>,JoinTable<ManyToOne<T>>,CascadeType<ManyToOne<T>>>
many-to-one xsd type| Modifier and Type | Method and Description |
|---|---|
ManyToOne<T> |
access(AccessType access)
Sets the
access attribute |
ManyToOne<T> |
access(String access)
Sets the
access attribute |
JoinColumn<ManyToOne<T>> |
createJoinColumn()
Creates a new
join-column element |
ManyToOne<T> |
fetch(FetchType fetch)
Sets the
fetch attribute |
ManyToOne<T> |
fetch(String fetch)
Sets the
fetch attribute |
AccessType |
getAccess()
Returns the
access attribute |
String |
getAccessAsString()
Returns the
access attribute |
List<JoinColumn<ManyToOne<T>>> |
getAllJoinColumn()
Returns all
join-column elements |
FetchType |
getFetch()
Returns the
fetch attribute |
String |
getFetchAsString()
Returns the
fetch attribute |
String |
getMapsId()
Returns the
maps-id attribute |
String |
getName()
Returns the
name attribute |
CascadeType<ManyToOne<T>> |
getOrCreateCascade()
If not already created, a new
cascade element with the given value will be created. |
ForeignKey<ManyToOne<T>> |
getOrCreateForeignKey()
If not already created, a new
foreign-key element with the given value will be created. |
JoinColumn<ManyToOne<T>> |
getOrCreateJoinColumn()
If not already created, a new
join-column element will be created and returned. |
JoinTable<ManyToOne<T>> |
getOrCreateJoinTable()
If not already created, a new
join-table element with the given value will be created. |
String |
getTargetEntity()
Returns the
target-entity attribute |
ManyToOne<T> |
id(Boolean id)
Sets the
id attribute |
Boolean |
isId()
Returns the
id attribute |
Boolean |
isOptional()
Returns the
optional attribute |
ManyToOne<T> |
mapsId(String mapsId)
Sets the
maps-id attribute |
ManyToOne<T> |
name(String name)
Sets the
name attribute |
ManyToOne<T> |
optional(Boolean optional)
Sets the
optional attribute |
ManyToOne<T> |
removeAccess()
Removes the
access attribute |
ManyToOne<T> |
removeAllJoinColumn()
Removes all
join-column elements |
ManyToOne<T> |
removeCascade()
Removes the
cascade element |
ManyToOne<T> |
removeFetch()
Removes the
fetch attribute |
ManyToOne<T> |
removeForeignKey()
Removes the
foreign-key element |
ManyToOne<T> |
removeId()
Removes the
id attribute |
ManyToOne<T> |
removeJoinTable()
Removes the
join-table element |
ManyToOne<T> |
removeMapsId()
Removes the
maps-id attribute |
ManyToOne<T> |
removeName()
Removes the
name attribute |
ManyToOne<T> |
removeOptional()
Removes the
optional attribute |
ManyToOne<T> |
removeTargetEntity()
Removes the
target-entity attribute |
ManyToOne<T> |
targetEntity(String targetEntity)
Sets the
target-entity attribute |
JoinColumn<ManyToOne<T>> getOrCreateJoinColumn()
join-column element will be created and returned.
Otherwise, the first existing join-column element will be returned.join-columnJoinColumn<ManyToOne<T>> createJoinColumn()
join-column elementJoinColumn> List<JoinColumn<ManyToOne<T>>> getAllJoinColumn()
join-column elementsjoin-columnManyToOne<T> removeAllJoinColumn()
join-column elementsJoinColumn> ForeignKey<ManyToOne<T>> getOrCreateForeignKey()
foreign-key element with the given value will be created.
Otherwise, the existing foreign-key element will be returned.ForeignKey> ManyToOne<T> removeForeignKey()
foreign-key elementManyToOneJoinTable<ManyToOne<T>> getOrCreateJoinTable()
join-table element with the given value will be created.
Otherwise, the existing join-table element will be returned.JoinTable> ManyToOne<T> removeJoinTable()
join-table elementManyToOneCascadeType<ManyToOne<T>> getOrCreateCascade()
cascade element with the given value will be created.
Otherwise, the existing cascade element will be returned.CascadeType> ManyToOne<T> removeCascade()
cascade elementManyToOneManyToOne<T> name(String name)
name attributename - the value for the attribute nameManyToOneString getName()
name attributenameManyToOne<T> removeName()
name attributeManyToOneManyToOne<T> targetEntity(String targetEntity)
target-entity attributetargetEntity - the value for the attribute target-entityManyToOneString getTargetEntity()
target-entity attributetarget-entityManyToOne<T> removeTargetEntity()
target-entity attributeManyToOneManyToOne<T> fetch(FetchType fetch)
fetch attributefetch - the value for the attribute fetchManyToOneManyToOne<T> fetch(String fetch)
fetch attributefetch - the value for the attribute fetchManyToOneFetchType getFetch()
fetch attributefetchString getFetchAsString()
fetch attributefetchManyToOne<T> removeFetch()
fetch attributeManyToOneManyToOne<T> optional(Boolean optional)
optional attributeoptional - the value for the attribute optionalManyToOneBoolean isOptional()
optional attributeoptionalManyToOne<T> removeOptional()
optional attributeManyToOneManyToOne<T> access(AccessType access)
access attributeaccess - the value for the attribute accessManyToOneManyToOne<T> access(String access)
access attributeaccess - the value for the attribute accessManyToOneAccessType getAccess()
access attributeaccessString getAccessAsString()
access attributeaccessManyToOne<T> removeAccess()
access attributeManyToOneManyToOne<T> mapsId(String mapsId)
maps-id attributemapsId - the value for the attribute maps-idManyToOneString getMapsId()
maps-id attributemaps-idManyToOne<T> removeMapsId()
maps-id attributeManyToOneManyToOne<T> id(Boolean id)
id attributeid - the value for the attribute idManyToOneBoolean isId()
id attributeidCopyright © 2025 JBoss by Red Hat. All rights reserved.