|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OneToMany<T>
This interface defines the contract for the one-to-many
xsd type
Method Summary | |
---|---|
JoinColumn<OneToMany<T>> |
createJoinColumn()
Creates a new join-column element |
OneToMany<T> |
fetch(FetchType fetch)
Sets the fetch attribute |
OneToMany<T> |
fetch(String fetch)
Sets the fetch attribute |
List<JoinColumn<OneToMany<T>>> |
getAllJoinColumn()
Returns all join-column elements |
FetchType |
getFetch()
Returns the fetch attribute |
String |
getFetchAsString()
Returns the fetch attribute |
String |
getMappedBy()
Returns the mapped-by attribute |
String |
getName()
Returns the name attribute |
CascadeType<OneToMany<T>> |
getOrCreateCascade()
If not already created, a new cascade element with the given value will be created. |
JoinColumn<OneToMany<T>> |
getOrCreateJoinColumn()
If not already created, a new join-column element will be created and returned. |
JoinTable<OneToMany<T>> |
getOrCreateJoinTable()
If not already created, a new join-table element with the given value will be created. |
MapKey<OneToMany<T>> |
getOrCreateMapKey()
If not already created, a new map-key element with the given value will be created. |
String |
getOrderBy()
Returns the order-by element |
String |
getTargetEntity()
Returns the target-entity attribute |
OneToMany<T> |
mappedBy(String mappedBy)
Sets the mapped-by attribute |
OneToMany<T> |
name(String name)
Sets the name attribute |
OneToMany<T> |
orderBy(String orderBy)
Sets the order-by element |
OneToMany<T> |
removeAllJoinColumn()
Removes all join-column elements |
OneToMany<T> |
removeCascade()
Removes the cascade element |
OneToMany<T> |
removeFetch()
Removes the fetch attribute |
OneToMany<T> |
removeJoinTable()
Removes the join-table element |
OneToMany<T> |
removeMapKey()
Removes the map-key element |
OneToMany<T> |
removeMappedBy()
Removes the mapped-by attribute |
OneToMany<T> |
removeName()
Removes the name attribute |
OneToMany<T> |
removeOrderBy()
Removes the order-by element |
OneToMany<T> |
removeTargetEntity()
Removes the target-entity attribute |
OneToMany<T> |
targetEntity(String targetEntity)
Sets the target-entity attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
OneToMany<T> orderBy(String orderBy)
order-by
element
orderBy
- the value for the element order-by
OneToMany
String getOrderBy()
order-by
element
order-by
OneToMany<T> removeOrderBy()
order-by
element
OneToMany
MapKey<OneToMany<T>> getOrCreateMapKey()
map-key
element with the given value will be created.
Otherwise, the existing map-key
element will be returned.
MapKey>
OneToMany<T> removeMapKey()
map-key
element
OneToMany
JoinTable<OneToMany<T>> getOrCreateJoinTable()
join-table
element with the given value will be created.
Otherwise, the existing join-table
element will be returned.
JoinTable>
OneToMany<T> removeJoinTable()
join-table
element
OneToMany
JoinColumn<OneToMany<T>> getOrCreateJoinColumn()
join-column
element will be created and returned.
Otherwise, the first existing join-column
element will be returned.
join-column
JoinColumn<OneToMany<T>> createJoinColumn()
join-column
element
JoinColumn>
List<JoinColumn<OneToMany<T>>> getAllJoinColumn()
join-column
elements
join-column
OneToMany<T> removeAllJoinColumn()
join-column
elements
JoinColumn>
CascadeType<OneToMany<T>> getOrCreateCascade()
cascade
element with the given value will be created.
Otherwise, the existing cascade
element will be returned.
CascadeType>
OneToMany<T> removeCascade()
cascade
element
OneToMany
OneToMany<T> name(String name)
name
attribute
name
- the value for the attribute name
OneToMany
String getName()
name
attribute
name
OneToMany<T> removeName()
name
attribute
OneToMany
OneToMany<T> targetEntity(String targetEntity)
target-entity
attribute
targetEntity
- the value for the attribute target-entity
OneToMany
String getTargetEntity()
target-entity
attribute
target-entity
OneToMany<T> removeTargetEntity()
target-entity
attribute
OneToMany
OneToMany<T> fetch(FetchType fetch)
fetch
attribute
fetch
- the value for the attribute fetch
OneToMany
OneToMany<T> fetch(String fetch)
fetch
attribute
fetch
- the value for the attribute fetch
OneToMany
FetchType getFetch()
fetch
attribute
fetch
String getFetchAsString()
fetch
attribute
fetch
OneToMany<T> removeFetch()
fetch
attribute
OneToMany
OneToMany<T> mappedBy(String mappedBy)
mapped-by
attribute
mappedBy
- the value for the attribute mapped-by
OneToMany
String getMappedBy()
mapped-by
attribute
mapped-by
OneToMany<T> removeMappedBy()
mapped-by
attribute
OneToMany
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |