|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.jpamodelgen.xml.jaxb.ManyToOne
public class ManyToOne
Field Summary | |
---|---|
protected AccessType |
access
|
protected CascadeType |
cascade
|
protected FetchType |
fetch
|
protected Boolean |
id
|
protected List<JoinColumn> |
joinColumn
|
protected JoinTable |
joinTable
|
protected String |
mapsId
|
protected String |
name
|
protected Boolean |
optional
|
protected String |
targetEntity
|
Constructor Summary | |
---|---|
ManyToOne()
|
Method Summary | |
---|---|
AccessType |
getAccess()
Gets the value of the access property. |
CascadeType |
getCascade()
Gets the value of the cascade property. |
FetchType |
getFetch()
Gets the value of the fetch property. |
List<JoinColumn> |
getJoinColumn()
Gets the value of the joinColumn property. |
JoinTable |
getJoinTable()
Gets the value of the joinTable property. |
String |
getMapsId()
Gets the value of the mapsId property. |
String |
getName()
Gets the value of the name property. |
String |
getTargetEntity()
Gets the value of the targetEntity property. |
Boolean |
isId()
Gets the value of the id property. |
Boolean |
isOptional()
Gets the value of the optional property. |
void |
setAccess(AccessType value)
Sets the value of the access property. |
void |
setCascade(CascadeType value)
Sets the value of the cascade property. |
void |
setFetch(FetchType value)
Sets the value of the fetch property. |
void |
setId(Boolean value)
Sets the value of the id property. |
void |
setJoinTable(JoinTable value)
Sets the value of the joinTable property. |
void |
setMapsId(String value)
Sets the value of the mapsId property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setOptional(Boolean value)
Sets the value of the optional property. |
void |
setTargetEntity(String value)
Sets the value of the targetEntity property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<JoinColumn> joinColumn
protected JoinTable joinTable
protected CascadeType cascade
protected AccessType access
protected FetchType fetch
protected Boolean id
protected String mapsId
protected String name
protected Boolean optional
protected String targetEntity
Constructor Detail |
---|
public ManyToOne()
Method Detail |
---|
public List<JoinColumn> getJoinColumn()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the joinColumn property.
For example, to add a new item, do as follows:
getJoinColumn().add(newItem);
Objects of the following type(s) are allowed in the list
JoinColumn
public JoinTable getJoinTable()
JoinTable
public void setJoinTable(JoinTable value)
value
- allowed object is
JoinTable
public CascadeType getCascade()
CascadeType
public void setCascade(CascadeType value)
value
- allowed object is
CascadeType
public AccessType getAccess()
AccessType
public void setAccess(AccessType value)
value
- allowed object is
AccessType
public FetchType getFetch()
FetchType
public void setFetch(FetchType value)
value
- allowed object is
FetchType
public Boolean isId()
Boolean
public void setId(Boolean value)
value
- allowed object is
Boolean
public String getMapsId()
String
public void setMapsId(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public Boolean isOptional()
Boolean
public void setOptional(Boolean value)
value
- allowed object is
Boolean
public String getTargetEntity()
String
public void setTargetEntity(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |