|
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 ManyToMany<T>
This interface defines the contract for the many-to-many
xsd type
Method Summary | |
---|---|
ManyToMany<T> |
fetch(FetchType fetch)
Sets the fetch attribute |
ManyToMany<T> |
fetch(String fetch)
Sets the fetch attribute |
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<ManyToMany<T>> |
getOrCreateCascade()
If not already created, a new cascade element with the given value will be created. |
JoinTable<ManyToMany<T>> |
getOrCreateJoinTable()
If not already created, a new join-table element with the given value will be created. |
MapKey<ManyToMany<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 |
ManyToMany<T> |
mappedBy(String mappedBy)
Sets the mapped-by attribute |
ManyToMany<T> |
name(String name)
Sets the name attribute |
ManyToMany<T> |
orderBy(String orderBy)
Sets the order-by element |
ManyToMany<T> |
removeCascade()
Removes the cascade element |
ManyToMany<T> |
removeFetch()
Removes the fetch attribute |
ManyToMany<T> |
removeJoinTable()
Removes the join-table element |
ManyToMany<T> |
removeMapKey()
Removes the map-key element |
ManyToMany<T> |
removeMappedBy()
Removes the mapped-by attribute |
ManyToMany<T> |
removeName()
Removes the name attribute |
ManyToMany<T> |
removeOrderBy()
Removes the order-by element |
ManyToMany<T> |
removeTargetEntity()
Removes the target-entity attribute |
ManyToMany<T> |
targetEntity(String targetEntity)
Sets the target-entity attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ManyToMany<T> orderBy(String orderBy)
order-by
element
orderBy
- the value for the element order-by
ManyToMany
String getOrderBy()
order-by
element
order-by
ManyToMany<T> removeOrderBy()
order-by
element
ManyToMany
MapKey<ManyToMany<T>> getOrCreateMapKey()
map-key
element with the given value will be created.
Otherwise, the existing map-key
element will be returned.
MapKey>
ManyToMany<T> removeMapKey()
map-key
element
ManyToMany
JoinTable<ManyToMany<T>> getOrCreateJoinTable()
join-table
element with the given value will be created.
Otherwise, the existing join-table
element will be returned.
JoinTable>
ManyToMany<T> removeJoinTable()
join-table
element
ManyToMany
CascadeType<ManyToMany<T>> getOrCreateCascade()
cascade
element with the given value will be created.
Otherwise, the existing cascade
element will be returned.
CascadeType>
ManyToMany<T> removeCascade()
cascade
element
ManyToMany
ManyToMany<T> name(String name)
name
attribute
name
- the value for the attribute name
ManyToMany
String getName()
name
attribute
name
ManyToMany<T> removeName()
name
attribute
ManyToMany
ManyToMany<T> targetEntity(String targetEntity)
target-entity
attribute
targetEntity
- the value for the attribute target-entity
ManyToMany
String getTargetEntity()
target-entity
attribute
target-entity
ManyToMany<T> removeTargetEntity()
target-entity
attribute
ManyToMany
ManyToMany<T> fetch(FetchType fetch)
fetch
attribute
fetch
- the value for the attribute fetch
ManyToMany
ManyToMany<T> fetch(String fetch)
fetch
attribute
fetch
- the value for the attribute fetch
ManyToMany
FetchType getFetch()
fetch
attribute
fetch
String getFetchAsString()
fetch
attribute
fetch
ManyToMany<T> removeFetch()
fetch
attribute
ManyToMany
ManyToMany<T> mappedBy(String mappedBy)
mapped-by
attribute
mappedBy
- the value for the attribute mapped-by
ManyToMany
String getMappedBy()
mapped-by
attribute
mapped-by
ManyToMany<T> removeMappedBy()
mapped-by
attribute
ManyToMany
|
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 |