Package org.hibernate.boot.jaxb.mapping
Class JaxbAssociationOverride
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbAssociationOverride
-
- All Implemented Interfaces:
Serializable
public class JaxbAssociationOverride extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
description
protected JaxbForeignKey
foreignKey
protected List<JaxbJoinColumn>
joinColumn
protected JaxbJoinTable
joinTable
protected String
name
-
Constructor Summary
Constructors Constructor Description JaxbAssociationOverride()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Gets the value of the description 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
getName()
Gets the value of the name property.void
setDescription(String value)
Sets the value of the description property.void
setForeignKey(JaxbForeignKey value)
Sets the value of the foreignKey property.void
setJoinTable(JaxbJoinTable value)
Sets the value of the joinTable property.void
setName(String value)
Sets the value of the name property.
-
-
-
Field Detail
-
description
protected String description
-
joinColumn
protected List<JaxbJoinColumn> joinColumn
-
foreignKey
protected JaxbForeignKey foreignKey
-
joinTable
protected JaxbJoinTable joinTable
-
name
protected String name
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getJoinColumn
public List<JaxbJoinColumn> getJoinColumn()
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
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
- Returns:
- The value of the joinColumn property.
-
getForeignKey
public JaxbForeignKey getForeignKey()
Gets the value of the foreignKey property.- Returns:
- possible object is
JaxbForeignKey
-
setForeignKey
public void setForeignKey(JaxbForeignKey value)
Sets the value of the foreignKey property.- Parameters:
value
- allowed object isJaxbForeignKey
-
getJoinTable
public JaxbJoinTable getJoinTable()
Gets the value of the joinTable property.- Returns:
- possible object is
JaxbJoinTable
-
setJoinTable
public void setJoinTable(JaxbJoinTable value)
Sets the value of the joinTable property.- Parameters:
value
- allowed object isJaxbJoinTable
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
-