public class JaxbManyToOne extends Object implements Serializable, AssociationAttribute, FetchableAttribute, PersistentAttribute
| Modifier and Type | Field and Description |
|---|---|
protected AccessType |
access |
protected JaxbCascadeType |
cascade |
protected FetchType |
fetch |
protected JaxbForeignKey |
foreignKey |
protected Boolean |
id |
protected List<JaxbJoinColumn> |
joinColumn |
protected JaxbJoinTable |
joinTable |
protected String |
mapsId |
protected String |
name |
protected Boolean |
optional |
protected String |
targetEntity |
| Constructor and Description |
|---|
JaxbManyToOne() |
| Modifier and Type | Method and Description |
|---|---|
AccessType |
getAccess()
Gets the value of the access property.
|
JaxbCascadeType |
getCascade()
Gets the value of the cascade property.
|
FetchType |
getFetch()
Gets the value of the fetch property.
|
JaxbForeignKey |
getForeignKey()
Gets the value of the foreignKey property.
|
List<JaxbJoinColumn> |
getJoinColumn()
Gets the value of the joinColumn property.
|
JaxbJoinTable |
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(JaxbCascadeType value)
Sets the value of the cascade property.
|
void |
setFetch(FetchType value)
Sets the value of the fetch property.
|
void |
setForeignKey(JaxbForeignKey value)
Sets the value of the foreignKey property.
|
void |
setId(Boolean value)
Sets the value of the id property.
|
void |
setJoinTable(JaxbJoinTable 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.
|
protected List<JaxbJoinColumn> joinColumn
protected JaxbForeignKey foreignKey
protected JaxbJoinTable joinTable
protected JaxbCascadeType cascade
protected String name
protected String targetEntity
protected FetchType fetch
protected Boolean optional
protected AccessType access
protected String mapsId
protected Boolean id
public List<JaxbJoinColumn> 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
JaxbJoinColumn
public JaxbForeignKey getForeignKey()
JaxbForeignKeypublic void setForeignKey(JaxbForeignKey value)
value - allowed object is
JaxbForeignKeypublic JaxbJoinTable getJoinTable()
getJoinTable in interface AssociationAttributeJaxbJoinTablepublic void setJoinTable(JaxbJoinTable value)
setJoinTable in interface AssociationAttributevalue - allowed object is
JaxbJoinTablepublic JaxbCascadeType getCascade()
getCascade in interface AssociationAttributeJaxbCascadeTypepublic void setCascade(JaxbCascadeType value)
setCascade in interface AssociationAttributevalue - allowed object is
JaxbCascadeTypepublic String getName()
getName in interface PersistentAttributeStringpublic void setName(String value)
value - allowed object is
Stringpublic String getTargetEntity()
getTargetEntity in interface AssociationAttributeStringpublic void setTargetEntity(String value)
setTargetEntity in interface AssociationAttributevalue - allowed object is
Stringpublic FetchType getFetch()
getFetch in interface FetchableAttributeStringpublic void setFetch(FetchType value)
setFetch in interface FetchableAttributevalue - allowed object is
Stringpublic Boolean isOptional()
Booleanpublic void setOptional(Boolean value)
value - allowed object is
Booleanpublic AccessType getAccess()
getAccess in interface PersistentAttributeStringpublic void setAccess(AccessType value)
setAccess in interface PersistentAttributevalue - allowed object is
Stringpublic String getMapsId()
Stringpublic void setMapsId(String value)
value - allowed object is
StringCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.