|
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 | |
---|---|
OneToMany<T> |
access(AccessType access)
Sets the access attribute |
OneToMany<T> |
access(String access)
Sets the access attribute |
JoinColumn<OneToMany<T>> |
createJoinColumn()
Creates a new join-column element |
AttributeOverride<OneToMany<T>> |
createMapKeyAttributeOverride()
Creates a new map-key-attribute-override element |
MapKeyJoinColumn<OneToMany<T>> |
createMapKeyJoinColumn()
Creates a new map-key-join-column element |
OneToMany<T> |
fetch(FetchType fetch)
Sets the fetch attribute |
OneToMany<T> |
fetch(String fetch)
Sets the fetch attribute |
AccessType |
getAccess()
Returns the access attribute |
String |
getAccessAsString()
Returns the access attribute |
List<JoinColumn<OneToMany<T>>> |
getAllJoinColumn()
Returns all join-column elements |
List<AttributeOverride<OneToMany<T>>> |
getAllMapKeyAttributeOverride()
Returns all map-key-attribute-override elements |
List<MapKeyJoinColumn<OneToMany<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<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. |
AttributeOverride<OneToMany<T>> |
getOrCreateMapKeyAttributeOverride()
If not already created, a new map-key-attribute-override element will be created and returned. |
MapKeyClass<OneToMany<T>> |
getOrCreateMapKeyClass()
If not already created, a new map-key-class element with the given value will be created. |
MapKeyColumn<OneToMany<T>> |
getOrCreateMapKeyColumn()
If not already created, a new map-key-column element with the given value will be created. |
MapKeyJoinColumn<OneToMany<T>> |
getOrCreateMapKeyJoinColumn()
If not already created, a new map-key-join-column element will be created and returned. |
OrderColumn<OneToMany<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 |
Boolean |
isOrphanRemoval()
Returns the orphan-removal attribute |
OneToMany<T> |
mapKeyEnumerated(EnumType mapKeyEnumerated)
Sets the map-key-enumerated element |
OneToMany<T> |
mapKeyEnumerated(String mapKeyEnumerated)
Sets the map-key-enumerated element |
OneToMany<T> |
mapKeyTemporal(String mapKeyTemporal)
Sets the map-key-temporal element |
OneToMany<T> |
mapKeyTemporal(TemporalType mapKeyTemporal)
Sets the map-key-temporal element |
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> |
orphanRemoval(Boolean orphanRemoval)
Sets the orphan-removal attribute |
OneToMany<T> |
removeAccess()
Removes the access attribute |
OneToMany<T> |
removeAllJoinColumn()
Removes all join-column elements |
OneToMany<T> |
removeAllMapKeyAttributeOverride()
Removes all map-key-attribute-override elements |
OneToMany<T> |
removeAllMapKeyJoinColumn()
Removes all map-key-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> |
removeMapKeyClass()
Removes the map-key-class element |
OneToMany<T> |
removeMapKeyColumn()
Removes the map-key-column element |
OneToMany<T> |
removeMapKeyEnumerated()
Removes the map-key-enumerated attribute |
OneToMany<T> |
removeMapKeyTemporal()
Removes the map-key-temporal attribute |
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> |
removeOrderColumn()
Removes the order-column element |
OneToMany<T> |
removeOrphanRemoval()
Removes the orphan-removal attribute |
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
OrderColumn<OneToMany<T>> getOrCreateOrderColumn()
order-column
element with the given value will be created.
Otherwise, the existing order-column
element will be returned.
OrderColumn>
OneToMany<T> removeOrderColumn()
order-column
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
MapKeyClass<OneToMany<T>> getOrCreateMapKeyClass()
map-key-class
element with the given value will be created.
Otherwise, the existing map-key-class
element will be returned.
MapKeyClass>
OneToMany<T> removeMapKeyClass()
map-key-class
element
OneToMany
OneToMany<T> mapKeyTemporal(TemporalType mapKeyTemporal)
map-key-temporal
element
mapKeyTemporal
- the value for the element map-key-temporal
OneToMany
OneToMany<T> mapKeyTemporal(String mapKeyTemporal)
map-key-temporal
element
mapKeyTemporal
- the value for the element map-key-temporal
OneToMany
TemporalType getMapKeyTemporal()
map-key-temporal
element
map-key-temporal
String getMapKeyTemporalAsString()
map-key-temporal
element
map-key-temporal
OneToMany<T> removeMapKeyTemporal()
map-key-temporal
attribute
OneToMany
OneToMany<T> mapKeyEnumerated(EnumType mapKeyEnumerated)
map-key-enumerated
element
mapKeyEnumerated
- the value for the element map-key-enumerated
OneToMany
OneToMany<T> mapKeyEnumerated(String mapKeyEnumerated)
map-key-enumerated
element
mapKeyEnumerated
- the value for the element map-key-enumerated
OneToMany
EnumType getMapKeyEnumerated()
map-key-enumerated
element
map-key-enumerated
String getMapKeyEnumeratedAsString()
map-key-enumerated
element
map-key-enumerated
OneToMany<T> removeMapKeyEnumerated()
map-key-enumerated
attribute
OneToMany
AttributeOverride<OneToMany<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<OneToMany<T>> createMapKeyAttributeOverride()
map-key-attribute-override
element
AttributeOverride>
List<AttributeOverride<OneToMany<T>>> getAllMapKeyAttributeOverride()
map-key-attribute-override
elements
map-key-attribute-override
OneToMany<T> removeAllMapKeyAttributeOverride()
map-key-attribute-override
elements
AttributeOverride>
MapKeyColumn<OneToMany<T>> getOrCreateMapKeyColumn()
map-key-column
element with the given value will be created.
Otherwise, the existing map-key-column
element will be returned.
MapKeyColumn>
OneToMany<T> removeMapKeyColumn()
map-key-column
element
OneToMany
MapKeyJoinColumn<OneToMany<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<OneToMany<T>> createMapKeyJoinColumn()
map-key-join-column
element
MapKeyJoinColumn>
List<MapKeyJoinColumn<OneToMany<T>>> getAllMapKeyJoinColumn()
map-key-join-column
elements
map-key-join-column
OneToMany<T> removeAllMapKeyJoinColumn()
map-key-join-column
elements
MapKeyJoinColumn>
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> access(AccessType access)
access
attribute
access
- the value for the attribute access
OneToMany
OneToMany<T> access(String access)
access
attribute
access
- the value for the attribute access
OneToMany
AccessType getAccess()
access
attribute
access
String getAccessAsString()
access
attribute
access
OneToMany<T> removeAccess()
access
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
OneToMany<T> orphanRemoval(Boolean orphanRemoval)
orphan-removal
attribute
orphanRemoval
- the value for the attribute orphan-removal
OneToMany
Boolean isOrphanRemoval()
orphan-removal
attribute
orphan-removal
OneToMany<T> removeOrphanRemoval()
orphan-removal
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 |