Class AssociationOverride
- java.lang.Object
-
- org.hibernate.jpamodelgen.xml.jaxb.AssociationOverride
-
public class AssociationOverride extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected ForeignKeyforeignKeyprotected List<JoinColumn>joinColumnprotected JoinTablejoinTableprotected Stringname
-
Constructor Summary
Constructors Constructor Description AssociationOverride()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the value of the description property.ForeignKeygetForeignKey()Gets the value of the foreignKey property.List<JoinColumn>getJoinColumn()Gets the value of the joinColumn property.JoinTablegetJoinTable()Gets the value of the joinTable property.StringgetName()Gets the value of the name property.voidsetDescription(String value)Sets the value of the description property.voidsetForeignKey(ForeignKey value)Sets the value of the foreignKey property.voidsetJoinTable(JoinTable value)Sets the value of the joinTable property.voidsetName(String value)Sets the value of the name property.
-
-
-
Field Detail
-
description
protected String description
-
joinColumn
protected List<JoinColumn> joinColumn
-
foreignKey
protected ForeignKey foreignKey
-
joinTable
protected JoinTable 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<JoinColumn> 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
setmethod 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
JoinColumn
-
getForeignKey
public ForeignKey getForeignKey()
Gets the value of the foreignKey property.- Returns:
- possible object is
ForeignKey
-
setForeignKey
public void setForeignKey(ForeignKey value)
Sets the value of the foreignKey property.- Parameters:
value- allowed object isForeignKey
-
getJoinTable
public JoinTable getJoinTable()
Gets the value of the joinTable property.- Returns:
- possible object is
JoinTable
-
setJoinTable
public void setJoinTable(JoinTable value)
Sets the value of the joinTable property.- Parameters:
value- allowed object isJoinTable
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
-