|
||||||||||
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> |
access(AccessType access)
Sets the access attribute |
ManyToMany<T> |
access(String access)
Sets the access attribute |
AttributeOverride<ManyToMany<T>> |
createMapKeyAttributeOverride()
Creates a new map-key-attribute-override element |
MapKeyJoinColumn<ManyToMany<T>> |
createMapKeyJoinColumn()
Creates a new map-key-join-column element |
ManyToMany<T> |
fetch(FetchType fetch)
Sets the fetch attribute |
ManyToMany<T> |
fetch(String fetch)
Sets the fetch attribute |
AccessType |
getAccess()
Returns the access attribute |
String |
getAccessAsString()
Returns the access attribute |
List<AttributeOverride<ManyToMany<T>>> |
getAllMapKeyAttributeOverride()
Returns all map-key-attribute-override elements |
List<MapKeyJoinColumn<ManyToMany<T>>> |
getAllMapKeyJoinColumn()
Returns all map-key-join-column elements |
FetchType |
getFetch()
Returns the fetch attribute |
String |
getFetchAsString()
Returns the fetch attribute |
EnumType |
getMapKeyEnumerated()
Returns the map-key-enumerated element |
String |
getMapKeyEnumeratedAsString()
Returns the map-key-enumerated element |
TemporalType |
getMapKeyTemporal()
Returns the map-key-temporal element |
String |
getMapKeyTemporalAsString()
Returns the map-key-temporal element |
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. |
AttributeOverride<ManyToMany<T>> |
getOrCreateMapKeyAttributeOverride()
If not already created, a new map-key-attribute-override element will be created and returned. |
MapKeyClass<ManyToMany<T>> |
getOrCreateMapKeyClass()
If not already created, a new map-key-class element with the given value will be created. |
MapKeyColumn<ManyToMany<T>> |
getOrCreateMapKeyColumn()
If not already created, a new map-key-column element with the given value will be created. |
MapKeyJoinColumn<ManyToMany<T>> |
getOrCreateMapKeyJoinColumn()
If not already created, a new map-key-join-column element will be created and returned. |
OrderColumn<ManyToMany<T>> |
getOrCreateOrderColumn()
If not already created, a new order-column element with the given value will be created. |
String |
getOrderBy()
Returns the order-by element |
String |
getTargetEntity()
Returns the target-entity attribute |
ManyToMany<T> |
mapKeyEnumerated(EnumType mapKeyEnumerated)
Sets the map-key-enumerated element |
ManyToMany<T> |
mapKeyEnumerated(String mapKeyEnumerated)
Sets the map-key-enumerated element |
ManyToMany<T> |
mapKeyTemporal(String mapKeyTemporal)
Sets the map-key-temporal element |
ManyToMany<T> |
mapKeyTemporal(TemporalType mapKeyTemporal)
Sets the map-key-temporal element |
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> |
removeAccess()
Removes the access attribute |
ManyToMany<T> |
removeAllMapKeyAttributeOverride()
Removes all map-key-attribute-override elements |
ManyToMany<T> |
removeAllMapKeyJoinColumn()
Removes all map-key-join-column elements |
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> |
removeMapKeyClass()
Removes the map-key-class element |
ManyToMany<T> |
removeMapKeyColumn()
Removes the map-key-column element |
ManyToMany<T> |
removeMapKeyEnumerated()
Removes the map-key-enumerated attribute |
ManyToMany<T> |
removeMapKeyTemporal()
Removes the map-key-temporal attribute |
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> |
removeOrderColumn()
Removes the order-column 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
OrderColumn<ManyToMany<T>> getOrCreateOrderColumn()
order-column
element with the given value will be created.
Otherwise, the existing order-column
element will be returned.
OrderColumn>
ManyToMany<T> removeOrderColumn()
order-column
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
MapKeyClass<ManyToMany<T>> getOrCreateMapKeyClass()
map-key-class
element with the given value will be created.
Otherwise, the existing map-key-class
element will be returned.
MapKeyClass>
ManyToMany<T> removeMapKeyClass()
map-key-class
element
ManyToMany
ManyToMany<T> mapKeyTemporal(TemporalType mapKeyTemporal)
map-key-temporal
element
mapKeyTemporal
- the value for the element map-key-temporal
ManyToMany
ManyToMany<T> mapKeyTemporal(String mapKeyTemporal)
map-key-temporal
element
mapKeyTemporal
- the value for the element map-key-temporal
ManyToMany
TemporalType getMapKeyTemporal()
map-key-temporal
element
map-key-temporal
String getMapKeyTemporalAsString()
map-key-temporal
element
map-key-temporal
ManyToMany<T> removeMapKeyTemporal()
map-key-temporal
attribute
ManyToMany
ManyToMany<T> mapKeyEnumerated(EnumType mapKeyEnumerated)
map-key-enumerated
element
mapKeyEnumerated
- the value for the element map-key-enumerated
ManyToMany
ManyToMany<T> mapKeyEnumerated(String mapKeyEnumerated)
map-key-enumerated
element
mapKeyEnumerated
- the value for the element map-key-enumerated
ManyToMany
EnumType getMapKeyEnumerated()
map-key-enumerated
element
map-key-enumerated
String getMapKeyEnumeratedAsString()
map-key-enumerated
element
map-key-enumerated
ManyToMany<T> removeMapKeyEnumerated()
map-key-enumerated
attribute
ManyToMany
AttributeOverride<ManyToMany<T>> getOrCreateMapKeyAttributeOverride()
map-key-attribute-override
element will be created and returned.
Otherwise, the first existing map-key-attribute-override
element will be returned.
map-key-attribute-override
AttributeOverride<ManyToMany<T>> createMapKeyAttributeOverride()
map-key-attribute-override
element
AttributeOverride>
List<AttributeOverride<ManyToMany<T>>> getAllMapKeyAttributeOverride()
map-key-attribute-override
elements
map-key-attribute-override
ManyToMany<T> removeAllMapKeyAttributeOverride()
map-key-attribute-override
elements
AttributeOverride>
MapKeyColumn<ManyToMany<T>> getOrCreateMapKeyColumn()
map-key-column
element with the given value will be created.
Otherwise, the existing map-key-column
element will be returned.
MapKeyColumn>
ManyToMany<T> removeMapKeyColumn()
map-key-column
element
ManyToMany
MapKeyJoinColumn<ManyToMany<T>> getOrCreateMapKeyJoinColumn()
map-key-join-column
element will be created and returned.
Otherwise, the first existing map-key-join-column
element will be returned.
map-key-join-column
MapKeyJoinColumn<ManyToMany<T>> createMapKeyJoinColumn()
map-key-join-column
element
MapKeyJoinColumn>
List<MapKeyJoinColumn<ManyToMany<T>>> getAllMapKeyJoinColumn()
map-key-join-column
elements
map-key-join-column
ManyToMany<T> removeAllMapKeyJoinColumn()
map-key-join-column
elements
MapKeyJoinColumn>
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> access(AccessType access)
access
attribute
access
- the value for the attribute access
ManyToMany
ManyToMany<T> access(String access)
access
attribute
access
- the value for the attribute access
ManyToMany
AccessType getAccess()
access
attribute
access
String getAccessAsString()
access
attribute
access
ManyToMany<T> removeAccess()
access
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |