Java class for one-to-one complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="one-to-one">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<sequence>
<element name="primary-key-join-column" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}primary-key-join-column" maxOccurs="unbounded" minOccurs="0"/>
<element name="primary-key-foreign-key" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}foreign-key" minOccurs="0"/>
</sequence>
<sequence>
<element name="join-column" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}join-column" maxOccurs="unbounded" minOccurs="0"/>
<element name="foreign-key" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}foreign-key" minOccurs="0"/>
</sequence>
<element name="join-table" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}join-table" minOccurs="0"/>
</choice>
<element name="cascade" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}cascade-type" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="target-entity" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fetch" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}fetch-type" />
<attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" />
<attribute name="mapped-by" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="orphan-removal" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="maps-id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
| protected AccessType | |
| protected JaxbCascadeType | |
| protected FetchType | |
| protected JaxbForeignKey | |
| protected Boolean | |
| protected List | |
| protected JaxbJoinTable | |
| protected String | |
| protected String | |
| protected String | |
| protected Boolean | |
| protected Boolean | |
| protected JaxbForeignKey | |
| protected List | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AccessType | Returns: possible object isStringImplements org. |
| public JaxbCascadeType | Returns: possible object isJaxbCascadeTypeImplements org. |
| public FetchType | Returns: possible object isStringImplements org. |
| public JaxbForeignKey | |
| public List | |
| public JaxbJoinTable | Returns: possible object isJaxbJoinTableImplements org. |
| public String | |
| public String | |
| public String | Returns: possible object isStringImplements org. |
| public JaxbForeignKey | Returns: possible object isJaxbForeignKeyGets the value of the primaryKeyForeignKey property. |
| public List | |
| public String | Returns: possible object isStringImplements org. |
| public Boolean | |
| public Boolean | |
| public Boolean | |
| public void | setAccess(AccessType
allowed object is
value)StringImplements org. |
| public void | setCascade(JaxbCascadeType
allowed object is
value)JaxbCascadeTypeImplements org. |
| public void | setFetch(FetchType
allowed object is
value)StringImplements org. |
| public void | setForeignKey(JaxbForeignKey
allowed object is
value)JaxbForeignKeySets the value of the foreignKey property. |
| public void | |
| public void | setJoinTable(JaxbJoinTable
allowed object is
value)JaxbJoinTableImplements org. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setOrphanRemoval(Boolean
allowed object is
value)BooleanSets the value of the orphanRemoval property. |
| public void | setPrimaryKeyForeignKey(JaxbForeignKey
allowed object is
value)JaxbForeignKeySets the value of the primaryKeyForeignKey property. |
| public void | setTargetEntity(String
allowed object is
value)StringImplements org. |
| access | back to summary |
|---|---|
protected AccessType access
| |
| cascade | back to summary |
|---|---|
protected JaxbCascadeType cascade
| |
| fetch | back to summary |
|---|---|
protected FetchType fetch
| |
| foreignKey | back to summary |
|---|---|
protected JaxbForeignKey foreignKey
| |
| id | back to summary |
|---|---|
protected Boolean id
| |
| joinColumn | back to summary |
|---|---|
protected List<JaxbJoinColumn> joinColumn
| |
| joinTable | back to summary |
|---|---|
protected JaxbJoinTable joinTable
| |
| mappedBy | back to summary |
|---|---|
protected String mappedBy
| |
| mapsId | back to summary |
|---|---|
protected String mapsId
| |
| name | back to summary |
|---|---|
protected String name
| |
| optional | back to summary |
|---|---|
protected Boolean optional
| |
| orphanRemoval | back to summary |
|---|---|
protected Boolean orphanRemoval
| |
| primaryKeyForeignKey | back to summary |
|---|---|
protected JaxbForeignKey primaryKeyForeignKey
| |
| primaryKeyJoinColumn | back to summary |
|---|---|
protected List<JaxbPrimaryKeyJoinColumn> primaryKeyJoinColumn
| |
| targetEntity | back to summary |
|---|---|
protected String targetEntity
| |
| JaxbOneToOne | back to summary |
|---|---|
| public JaxbOneToOne() | |
| getAccess | back to summary |
|---|---|
| public AccessType getAccess() Implements org. Gets the value of the access property.
| |
| getCascade | back to summary |
|---|---|
| public JaxbCascadeType getCascade() Implements org. Gets the value of the cascade property.
| |
| getFetch | back to summary |
|---|---|
| public FetchType getFetch() Implements org. Gets the value of the fetch property. | |
| getForeignKey | back to summary |
|---|---|
| public JaxbForeignKey getForeignKey() Gets the value of the foreignKey property.
| |
| getJoinColumn | back to summary |
|---|---|
| public List Gets the value of the joinColumn property.
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 For example, to add a new item, do as follows: getJoinColumn().add(newItem);
Objects of the following type(s) are allowed in the list
| |
| getJoinTable | back to summary |
|---|---|
| public JaxbJoinTable getJoinTable() Implements org. Gets the value of the joinTable property.
| |
| getMappedBy | back to summary |
|---|---|
| public String getMappedBy() Gets the value of the mappedBy property. | |
| getMapsId | back to summary |
|---|---|
| public String getMapsId() Gets the value of the mapsId property. | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Gets the value of the name property. | |
| getPrimaryKeyForeignKey | back to summary |
|---|---|
| public JaxbForeignKey getPrimaryKeyForeignKey() Gets the value of the primaryKeyForeignKey property.
| |
| getPrimaryKeyJoinColumn | back to summary |
|---|---|
| public List Gets the value of the primaryKeyJoinColumn property.
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 For example, to add a new item, do as follows: getPrimaryKeyJoinColumn().add(newItem);
Objects of the following type(s) are allowed in the list
| |
| getTargetEntity | back to summary |
|---|---|
| public String getTargetEntity() Implements org. Gets the value of the targetEntity property. | |
| isId | back to summary |
|---|---|
| public Boolean isId() Gets the value of the id property. | |
| isOptional | back to summary |
|---|---|
| public Boolean isOptional() Gets the value of the optional property. | |
| isOrphanRemoval | back to summary |
|---|---|
| public Boolean isOrphanRemoval() Gets the value of the orphanRemoval property. | |
| setAccess | back to summary |
|---|---|
| public void setAccess(AccessType value) Implements org. Sets the value of the access property.
| |
| setCascade | back to summary |
|---|---|
| public void setCascade(JaxbCascadeType value) Implements org. Sets the value of the cascade property.
| |
| setFetch | back to summary |
|---|---|
| public void setFetch(FetchType value) Implements org. Sets the value of the fetch property. | |
| setForeignKey | back to summary |
|---|---|
| public void setForeignKey(JaxbForeignKey value) Sets the value of the foreignKey property.
| |
| setId | back to summary |
|---|---|
| public void setId(Boolean value) Sets the value of the id property. | |
| setJoinTable | back to summary |
|---|---|
| public void setJoinTable(JaxbJoinTable value) Implements org. Sets the value of the joinTable property.
| |
| setMappedBy | back to summary |
|---|---|
| public void setMappedBy(String value) Sets the value of the mappedBy property. | |
| setMapsId | back to summary |
|---|---|
| public void setMapsId(String value) Sets the value of the mapsId property. | |
| setName | back to summary |
|---|---|
| public void setName(String value) Sets the value of the name property. | |
| setOptional | back to summary |
|---|---|
| public void setOptional(Boolean value) Sets the value of the optional property. | |
| setOrphanRemoval | back to summary |
|---|---|
| public void setOrphanRemoval(Boolean value) Sets the value of the orphanRemoval property. | |
| setPrimaryKeyForeignKey | back to summary |
|---|---|
| public void setPrimaryKeyForeignKey(JaxbForeignKey value) Sets the value of the primaryKeyForeignKey property.
| |
| setTargetEntity | back to summary |
|---|---|
| public void setTargetEntity(String value) Implements org. Sets the value of the targetEntity property. | |