|
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 ManyToOne<T>
This interface defines the contract for the many-to-one
xsd type
Method Summary | |
---|---|
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. |
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> |
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
JoinColumn<ManyToOne<T>> getOrCreateJoinColumn()
join-column
element will be created and returned.
Otherwise, the first existing join-column
element will be returned.
join-column
JoinColumn<ManyToOne<T>> createJoinColumn()
join-column
element
JoinColumn>
List<JoinColumn<ManyToOne<T>>> getAllJoinColumn()
join-column
elements
join-column
ManyToOne<T> removeAllJoinColumn()
join-column
elements
JoinColumn>
JoinTable<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
element
ManyToOne
CascadeType<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
element
ManyToOne
ManyToOne<T> name(String name)
name
attribute
name
- the value for the attribute name
ManyToOne
String getName()
name
attribute
name
ManyToOne<T> removeName()
name
attribute
ManyToOne
ManyToOne<T> targetEntity(String targetEntity)
target-entity
attribute
targetEntity
- the value for the attribute target-entity
ManyToOne
String getTargetEntity()
target-entity
attribute
target-entity
ManyToOne<T> removeTargetEntity()
target-entity
attribute
ManyToOne
ManyToOne<T> fetch(FetchType fetch)
fetch
attribute
fetch
- the value for the attribute fetch
ManyToOne
ManyToOne<T> fetch(String fetch)
fetch
attribute
fetch
- the value for the attribute fetch
ManyToOne
FetchType getFetch()
fetch
attribute
fetch
String getFetchAsString()
fetch
attribute
fetch
ManyToOne<T> removeFetch()
fetch
attribute
ManyToOne
ManyToOne<T> optional(Boolean optional)
optional
attribute
optional
- the value for the attribute optional
ManyToOne
Boolean isOptional()
optional
attribute
optional
ManyToOne<T> removeOptional()
optional
attribute
ManyToOne
ManyToOne<T> access(AccessType access)
access
attribute
access
- the value for the attribute access
ManyToOne
ManyToOne<T> access(String access)
access
attribute
access
- the value for the attribute access
ManyToOne
AccessType getAccess()
access
attribute
access
String getAccessAsString()
access
attribute
access
ManyToOne<T> removeAccess()
access
attribute
ManyToOne
ManyToOne<T> mapsId(String mapsId)
maps-id
attribute
mapsId
- the value for the attribute maps-id
ManyToOne
String getMapsId()
maps-id
attribute
maps-id
ManyToOne<T> removeMapsId()
maps-id
attribute
ManyToOne
ManyToOne<T> id(Boolean id)
id
attribute
id
- the value for the attribute id
ManyToOne
Boolean isId()
id
attribute
id
ManyToOne<T> removeId()
id
attribute
ManyToOne
|
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 |