Package org.hibernate.processor.xml.jaxb
Class ManyToOne
java.lang.Object
org.hibernate.processor.xml.jaxb.ManyToOne
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected CascadeTypeprotected FetchTypeprotected ForeignKeyprotected Booleanprotected List<JoinColumn>protected JoinTableprotected Stringprotected Stringprotected Booleanprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the cascade property.getFetch()Gets the value of the fetch property.Gets the value of the foreignKey property.Gets the value of the joinColumn property.Gets the value of the joinTable property.Gets the value of the mapsId property.getName()Gets the value of the name property.Gets the value of the targetEntity property.isId()Gets the value of the id property.Gets the value of the optional property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetCascade(CascadeType value) Sets the value of the cascade property.voidSets the value of the fetch property.voidsetForeignKey(ForeignKey value) Sets the value of the foreignKey property.voidSets the value of the id property.voidsetJoinTable(JoinTable value) Sets the value of the joinTable property.voidSets the value of the mapsId property.voidSets the value of the name property.voidsetOptional(Boolean value) Sets the value of the optional property.voidsetTargetEntity(String value) Sets the value of the targetEntity property.
-
Field Details
-
joinColumn
-
foreignKey
-
joinTable
-
cascade
-
name
-
targetEntity
-
fetch
-
optional
-
access
-
mapsId
-
id
-
-
Constructor Details
-
ManyToOne
public ManyToOne()
-
-
Method Details
-
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- Returns:
- The value of the joinColumn property.
-
getForeignKey
Gets the value of the foreignKey property.- Returns:
- possible object is
ForeignKey
-
setForeignKey
Sets the value of the foreignKey property.- Parameters:
value- allowed object isForeignKey
-
getJoinTable
Gets the value of the joinTable property.- Returns:
- possible object is
JoinTable
-
setJoinTable
Sets the value of the joinTable property.- Parameters:
value- allowed object isJoinTable
-
getCascade
Gets the value of the cascade property.- Returns:
- possible object is
CascadeType
-
setCascade
Sets the value of the cascade property.- Parameters:
value- allowed object isCascadeType
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTargetEntity
Gets the value of the targetEntity property.- Returns:
- possible object is
String
-
setTargetEntity
Sets the value of the targetEntity property.- Parameters:
value- allowed object isString
-
getFetch
Gets the value of the fetch property.- Returns:
- possible object is
FetchType
-
setFetch
Sets the value of the fetch property.- Parameters:
value- allowed object isFetchType
-
isOptional
Gets the value of the optional property.- Returns:
- possible object is
Boolean
-
setOptional
Sets the value of the optional property.- Parameters:
value- allowed object isBoolean
-
getAccess
Gets the value of the access property.- Returns:
- possible object is
AccessType
-
setAccess
Sets the value of the access property.- Parameters:
value- allowed object isAccessType
-
getMapsId
Gets the value of the mapsId property.- Returns:
- possible object is
String
-
setMapsId
Sets the value of the mapsId property.- Parameters:
value- allowed object isString
-
isId
Gets the value of the id property.- Returns:
- possible object is
Boolean
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isBoolean
-