Class JaxbManyToOneImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbManyToOneImpl
- All Implemented Interfaces:
Serializable
,JaxbAssociationAttribute
,JaxbCascadableAttribute
,JaxbJoinTableCapable
,JaxbLockableAttribute
,JaxbNotFoundCapable
,JaxbPersistentAttribute
,JaxbSingularAssociationAttribute
,JaxbSingularAttribute
,JaxbStandardAttribute
public class JaxbManyToOneImpl
extends Object
implements Serializable, JaxbAssociationAttribute, JaxbJoinTableCapable, JaxbLockableAttribute, JaxbNotFoundCapable, JaxbSingularAssociationAttribute, JaxbStandardAttribute
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessType
protected String
protected JaxbCascadeTypeImpl
protected FetchType
protected JaxbSingularFetchModeImpl
protected JaxbForeignKeyImpl
protected Boolean
protected List<Serializable>
protected JaxbJoinTableImpl
protected String
protected String
protected NotFoundAction
protected OnDeleteAction
protected Boolean
protected Boolean
protected JaxbPropertyRefImpl
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the attributeAccessor property.Gets the value of the cascade property.getFetch()
Gets the value of the fetch property.Gets the value of the fetchMode property.Gets the value of the foreignKey property.Gets the value of the joinColumnOrJoinFormula 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 notFound property.Gets the value of the onDelete property.Gets the value of the propertyRef property.Gets the value of the targetEntity property.isId()
Gets the value of the id property.boolean
Gets the value of the optimisticLock property.Gets the value of the optional property.void
setAccess
(AccessType value) Sets the value of the access property.void
setAttributeAccessor
(String value) Sets the value of the attributeAccessor property.void
setCascade
(JaxbCascadeTypeImpl value) Sets the value of the cascade property.void
Sets the value of the fetch property.void
Sets the value of the fetchMode property.void
setForeignKey
(JaxbForeignKeyImpl value) Sets the value of the foreignKey property.void
Sets the value of the id property.void
setJoinTable
(JaxbJoinTableImpl value) Sets the value of the joinTable property.void
Sets the value of the mapsId property.void
Sets the value of the name property.void
setNotFound
(NotFoundAction value) Sets the value of the notFound property.void
setOnDelete
(OnDeleteAction value) Sets the value of the onDelete property.void
setOptimisticLock
(Boolean value) Sets the value of the optimisticLock property.void
setOptional
(Boolean value) Sets the value of the optional property.void
Sets the value of the propertyRef property.void
setTargetEntity
(String value) Sets the value of the targetEntity property.
-
Field Details
-
joinColumnOrJoinFormula
-
foreignKey
-
propertyRef
-
joinTable
-
cascade
-
onDelete
-
name
-
targetEntity
-
fetch
-
fetchMode
-
optional
-
access
-
attributeAccessor
-
optimisticLock
-
mapsId
-
id
-
notFound
-
-
Constructor Details
-
JaxbManyToOneImpl
public JaxbManyToOneImpl()
-
-
Method Details
-
getJoinColumnOrJoinFormula
Gets the value of the joinColumnOrJoinFormula 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
set
method for the joinColumnOrJoinFormula property.For example, to add a new item, do as follows:
getJoinColumnOrJoinFormula().add(newItem);
Objects of the following type(s) are allowed in the list
String
JaxbJoinColumnImpl
- Returns:
- The value of the joinColumnOrJoinFormula property.
-
getForeignKey
Gets the value of the foreignKey property.- Returns:
- possible object is
JaxbForeignKeyImpl
-
setForeignKey
Sets the value of the foreignKey property.- Parameters:
value
- allowed object isJaxbForeignKeyImpl
-
getPropertyRef
Gets the value of the propertyRef property.- Returns:
- possible object is
JaxbPropertyRefImpl
-
setPropertyRef
Sets the value of the propertyRef property.- Parameters:
value
- allowed object isJaxbPropertyRefImpl
-
getJoinTable
Gets the value of the joinTable property.- Specified by:
getJoinTable
in interfaceJaxbJoinTableCapable
- Returns:
- possible object is
JaxbJoinTableImpl
-
setJoinTable
Sets the value of the joinTable property.- Specified by:
setJoinTable
in interfaceJaxbJoinTableCapable
- Parameters:
value
- allowed object isJaxbJoinTableImpl
-
getCascade
Gets the value of the cascade property.- Specified by:
getCascade
in interfaceJaxbCascadableAttribute
- Returns:
- possible object is
JaxbCascadeTypeImpl
-
setCascade
Sets the value of the cascade property.- Specified by:
setCascade
in interfaceJaxbCascadableAttribute
- Parameters:
value
- allowed object isJaxbCascadeTypeImpl
-
getOnDelete
Gets the value of the onDelete property.- Returns:
- possible object is
String
-
setOnDelete
Sets the value of the onDelete property.- Parameters:
value
- allowed object isString
-
getName
Gets the value of the name property.- Specified by:
getName
in interfaceJaxbPersistentAttribute
- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Specified by:
setName
in interfaceJaxbPersistentAttribute
- Parameters:
value
- allowed object isString
-
getTargetEntity
Gets the value of the targetEntity property.- Specified by:
getTargetEntity
in interfaceJaxbAssociationAttribute
- Returns:
- possible object is
String
-
setTargetEntity
Sets the value of the targetEntity property.- Specified by:
setTargetEntity
in interfaceJaxbAssociationAttribute
- Parameters:
value
- allowed object isString
-
getFetch
Gets the value of the fetch property.- Specified by:
getFetch
in interfaceJaxbStandardAttribute
- Returns:
- possible object is
String
-
setFetch
Sets the value of the fetch property.- Specified by:
setFetch
in interfaceJaxbStandardAttribute
- Parameters:
value
- allowed object isString
-
getFetchMode
Gets the value of the fetchMode property.- Specified by:
getFetchMode
in interfaceJaxbSingularAssociationAttribute
- Returns:
- possible object is
JaxbSingularFetchModeImpl
-
setFetchMode
Sets the value of the fetchMode property.- Specified by:
setFetchMode
in interfaceJaxbSingularAssociationAttribute
- Parameters:
value
- allowed object isJaxbSingularFetchModeImpl
-
isOptional
Gets the value of the optional property.- Specified by:
isOptional
in interfaceJaxbStandardAttribute
- Returns:
- possible object is
Boolean
-
setOptional
Sets the value of the optional property.- Specified by:
setOptional
in interfaceJaxbStandardAttribute
- Parameters:
value
- allowed object isBoolean
-
getAccess
Gets the value of the access property.- Specified by:
getAccess
in interfaceJaxbPersistentAttribute
- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccess
in interfaceJaxbPersistentAttribute
- Parameters:
value
- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessor
in interfaceJaxbPersistentAttribute
- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessor
in interfaceJaxbPersistentAttribute
- Parameters:
value
- allowed object isString
-
isOptimisticLock
public boolean isOptimisticLock()Gets the value of the optimisticLock property.- Specified by:
isOptimisticLock
in interfaceJaxbLockableAttribute
- Returns:
- possible object is
Boolean
-
setOptimisticLock
Sets the value of the optimisticLock property.- Specified by:
setOptimisticLock
in interfaceJaxbLockableAttribute
- Parameters:
value
- allowed object isBoolean
-
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
-
getNotFound
Gets the value of the notFound property.- Specified by:
getNotFound
in interfaceJaxbNotFoundCapable
- Returns:
- possible object is
String
-
setNotFound
Sets the value of the notFound property.- Specified by:
setNotFound
in interfaceJaxbNotFoundCapable
- Parameters:
value
- allowed object isString
-