Java class for many-to-one complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="many-to-one">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<sequence>
<element name="join-column" type="{http://www.hibernate.org/xsd/orm/mapping}join-column" maxOccurs="unbounded" minOccurs="0"/>
<element name="foreign-key" type="{http://www.hibernate.org/xsd/orm/mapping}foreign-key" minOccurs="0"/>
</sequence>
<element name="join-table" type="{http://www.hibernate.org/xsd/orm/mapping}join-table" minOccurs="0"/>
</choice>
<element name="cascade" type="{http://www.hibernate.org/xsd/orm/mapping}cascade-type" minOccurs="0"/>
<element name="on-delete" type="{http://www.hibernate.org/xsd/orm/mapping}on-delete-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://www.hibernate.org/xsd/orm/mapping}fetch-type" />
<attribute name="fetch-mode" type="{http://www.hibernate.org/xsd/orm/mapping}singular-fetch-mode" />
<attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type" />
<attribute name="attribute-accessor" type="{http://www.w3.org/2001/XMLSchema}string" />
<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 String | |
| protected JaxbCascadeType | |
| protected FetchType | |
| protected JaxbSingularFetchMode | |
| protected JaxbForeignKey | |
| protected Boolean | |
| protected List | |
| protected JaxbJoinTable | |
| protected String | |
| protected String | |
| protected OnDeleteAction | |
| protected Boolean | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AccessType | Returns: possible object isStringImplements org. |
| public String | Returns: possible object isStringImplements org. |
| public JaxbCascadeType | Returns: possible object isJaxbCascadeTypeImplements org. |
| public FetchType | Returns: possible object isStringImplements org. |
| public JaxbSingularFetchMode | Returns: possible object isJaxbSingularFetchModeImplements org. |
| public JaxbForeignKey | |
| public List | Returns: The value of the joinColumn property.Gets the value of the joinColumn property. |
| public JaxbJoinTable | Returns: possible object isJaxbJoinTableImplements org. |
| public String | |
| public String | Returns: possible object isStringImplements org. |
| public OnDeleteAction | |
| public String | Returns: possible object isStringImplements org. |
| public Boolean | |
| public Boolean | |
| public void | setAccess(AccessType
allowed object is
value)StringImplements org. |
| public void | setAttributeAccessor(String
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 | setFetchMode(JaxbSingularFetchMode
allowed object is
value)JaxbSingularFetchModeImplements 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 | setName(String
allowed object is
value)StringImplements org. |
| public void | |
| public void | |
| public void | setTargetEntity(String
allowed object is
value)StringImplements org. |
| access | back to summary |
|---|---|
protected AccessType access
| |
| attributeAccessor | back to summary |
|---|---|
protected String attributeAccessor
| |
| cascade | back to summary |
|---|---|
protected JaxbCascadeType cascade
| |
| fetch | back to summary |
|---|---|
protected FetchType fetch
| |
| fetchMode | back to summary |
|---|---|
protected JaxbSingularFetchMode fetchMode
| |
| 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
| |
| mapsId | back to summary |
|---|---|
protected String mapsId
| |
| name | back to summary |
|---|---|
protected String name
| |
| onDelete | back to summary |
|---|---|
protected OnDeleteAction onDelete
| |
| optional | back to summary |
|---|---|
protected Boolean optional
| |
| targetEntity | back to summary |
|---|---|
protected String targetEntity
| |
| JaxbManyToOne | back to summary |
|---|---|
| public JaxbManyToOne() | |
| getAccess | back to summary |
|---|---|
| public AccessType getAccess() Implements org. Gets the value of the access property.
| |
| getAttributeAccessor | back to summary |
|---|---|
| public String getAttributeAccessor() Implements org. Gets the value of the attributeAccessor 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. | |
| getFetchMode | back to summary |
|---|---|
| public JaxbSingularFetchMode getFetchMode() Implements org. Gets the value of the fetchMode 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 Jakarta XML Binding 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.
| |
| 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. | |
| getOnDelete | back to summary |
|---|---|
| public OnDeleteAction getOnDelete() Gets the value of the onDelete property.
| |
| 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. | |
| setAccess | back to summary |
|---|---|
| public void setAccess(AccessType value) Implements org. Sets the value of the access property.
| |
| setAttributeAccessor | back to summary |
|---|---|
| public void setAttributeAccessor(String value) Implements org. Sets the value of the attributeAccessor 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. | |
| setFetchMode | back to summary |
|---|---|
| public void setFetchMode(JaxbSingularFetchMode value) Implements org. Sets the value of the fetchMode 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.
| |
| 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) Implements org. Sets the value of the name property. | |
| setOnDelete | back to summary |
|---|---|
| public void setOnDelete(OnDeleteAction value) Sets the value of the onDelete property.
| |
| setOptional | back to summary |
|---|---|
| public void setOptional(Boolean value) Sets the value of the optional property. | |
| setTargetEntity | back to summary |
|---|---|
| public void setTargetEntity(String value) Implements org. Sets the value of the targetEntity property. | |