public class JaxbOneToOne 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 |
mappedBy |
protected String |
mapsId |
protected String |
name |
protected Boolean |
optional |
protected Boolean |
orphanRemoval |
protected JaxbForeignKey |
primaryKeyForeignKey |
protected List<JaxbPrimaryKeyJoinColumn> |
primaryKeyJoinColumn |
protected String |
targetEntity |
Constructor and Description |
---|
JaxbOneToOne() |
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 |
getMappedBy()
Gets the value of the mappedBy property.
|
String |
getMapsId()
Gets the value of the mapsId property.
|
String |
getName()
Gets the value of the name property.
|
JaxbForeignKey |
getPrimaryKeyForeignKey()
Gets the value of the primaryKeyForeignKey property.
|
List<JaxbPrimaryKeyJoinColumn> |
getPrimaryKeyJoinColumn()
Gets the value of the primaryKeyJoinColumn 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.
|
Boolean |
isOrphanRemoval()
Gets the value of the orphanRemoval 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 |
setMappedBy(String value)
Sets the value of the mappedBy 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 |
setOrphanRemoval(Boolean value)
Sets the value of the orphanRemoval property.
|
void |
setPrimaryKeyForeignKey(JaxbForeignKey value)
Sets the value of the primaryKeyForeignKey property.
|
void |
setTargetEntity(String value)
Sets the value of the targetEntity property.
|
protected List<JaxbPrimaryKeyJoinColumn> primaryKeyJoinColumn
protected JaxbForeignKey primaryKeyForeignKey
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 mappedBy
protected Boolean orphanRemoval
protected String mapsId
protected Boolean id
public List<JaxbPrimaryKeyJoinColumn> getPrimaryKeyJoinColumn()
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 primaryKeyJoinColumn property.
For example, to add a new item, do as follows:
getPrimaryKeyJoinColumn().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbPrimaryKeyJoinColumn
public JaxbForeignKey getPrimaryKeyForeignKey()
JaxbForeignKey
public void setPrimaryKeyForeignKey(JaxbForeignKey value)
value
- allowed object is
JaxbForeignKey
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()
JaxbForeignKey
public void setForeignKey(JaxbForeignKey value)
value
- allowed object is
JaxbForeignKey
public JaxbJoinTable getJoinTable()
getJoinTable
in interface AssociationAttribute
JaxbJoinTable
public void setJoinTable(JaxbJoinTable value)
setJoinTable
in interface AssociationAttribute
value
- allowed object is
JaxbJoinTable
public JaxbCascadeType getCascade()
getCascade
in interface AssociationAttribute
JaxbCascadeType
public void setCascade(JaxbCascadeType value)
setCascade
in interface AssociationAttribute
value
- allowed object is
JaxbCascadeType
public String getName()
getName
in interface PersistentAttribute
String
public void setName(String value)
value
- allowed object is
String
public String getTargetEntity()
getTargetEntity
in interface AssociationAttribute
String
public void setTargetEntity(String value)
setTargetEntity
in interface AssociationAttribute
value
- allowed object is
String
public FetchType getFetch()
getFetch
in interface FetchableAttribute
String
public void setFetch(FetchType value)
setFetch
in interface FetchableAttribute
value
- allowed object is
String
public Boolean isOptional()
Boolean
public void setOptional(Boolean value)
value
- allowed object is
Boolean
public AccessType getAccess()
getAccess
in interface PersistentAttribute
String
public void setAccess(AccessType value)
setAccess
in interface PersistentAttribute
value
- allowed object is
String
public String getMappedBy()
String
public void setMappedBy(String value)
value
- allowed object is
String
public Boolean isOrphanRemoval()
Boolean
public void setOrphanRemoval(Boolean value)
value
- allowed object is
Boolean
public String getMapsId()
String
public void setMapsId(String value)
value
- allowed object is
String
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.