Class JaxbOneToOne
- All Implemented Interfaces:
Serializable,AssociationAttribute,FetchableAttribute,PersistentAttribute,ToOneAttribute
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected Stringprotected JaxbCascadeTypeprotected FetchTypeprotected JaxbSingularFetchModeprotected JaxbForeignKeyprotected Booleanprotected List<JaxbJoinColumn>protected JaxbJoinTableprotected Stringprotected Stringprotected Stringprotected Booleanprotected Booleanprotected JaxbForeignKeyprotected List<JaxbPrimaryKeyJoinColumn>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 joinColumn property.Gets the value of the joinTable property.Gets the value of the mappedBy property.Gets the value of the mapsId property.getName()Gets the value of the name property.Gets the value of the primaryKeyForeignKey property.Gets the value of the primaryKeyJoinColumn property.Gets the value of the targetEntity property.isId()Gets the value of the id property.Gets the value of the optional property.Gets the value of the orphanRemoval property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetAttributeAccessor(String value) Sets the value of the attributeAccessor property.voidsetCascade(JaxbCascadeType value) Sets the value of the cascade property.voidSets the value of the fetch property.voidSets the value of the fetchMode property.voidsetForeignKey(JaxbForeignKey value) Sets the value of the foreignKey property.voidSets the value of the id property.voidsetJoinTable(JaxbJoinTable value) Sets the value of the joinTable property.voidsetMappedBy(String value) Sets the value of the mappedBy 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.voidsetOrphanRemoval(Boolean value) Sets the value of the orphanRemoval property.voidSets the value of the primaryKeyForeignKey property.voidsetTargetEntity(String value) Sets the value of the targetEntity property.
-
Field Details
-
-
primaryKeyForeignKey
-
joinColumn
-
foreignKey
-
joinTable
-
cascade
-
name
-
targetEntity
-
fetch
-
fetchMode
-
optional
-
access
-
attributeAccessor
-
mappedBy
-
orphanRemoval
-
mapsId
-
id
-
-
Constructor Details
-
JaxbOneToOne
public JaxbOneToOne()
-
-
Method Details
-
getPrimaryKeyJoinColumn
Gets the value of the primaryKeyJoinColumn 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 primaryKeyJoinColumn property.For example, to add a new item, do as follows:
getPrimaryKeyJoinColumn().add(newItem);Objects of the following type(s) are allowed in the list
JaxbPrimaryKeyJoinColumn- Returns:
- The value of the primaryKeyJoinColumn property.
-
getPrimaryKeyForeignKey
Gets the value of the primaryKeyForeignKey property.- Returns:
- possible object is
JaxbForeignKey
-
setPrimaryKeyForeignKey
Sets the value of the primaryKeyForeignKey property.- Parameters:
value- allowed object isJaxbForeignKey
-
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
JaxbJoinColumn- Returns:
- The value of the joinColumn property.
-
getForeignKey
Gets the value of the foreignKey property.- Returns:
- possible object is
JaxbForeignKey
-
setForeignKey
Sets the value of the foreignKey property.- Parameters:
value- allowed object isJaxbForeignKey
-
getJoinTable
Gets the value of the joinTable property.- Specified by:
getJoinTablein interfaceAssociationAttribute- Returns:
- possible object is
JaxbJoinTable
-
setJoinTable
Sets the value of the joinTable property.- Specified by:
setJoinTablein interfaceAssociationAttribute- Parameters:
value- allowed object isJaxbJoinTable
-
getCascade
Gets the value of the cascade property.- Specified by:
getCascadein interfaceAssociationAttribute- Returns:
- possible object is
JaxbCascadeType
-
setCascade
Sets the value of the cascade property.- Specified by:
setCascadein interfaceAssociationAttribute- Parameters:
value- allowed object isJaxbCascadeType
-
getName
Gets the value of the name property.- Specified by:
getNamein interfacePersistentAttribute- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Specified by:
setNamein interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getTargetEntity
Gets the value of the targetEntity property.- Specified by:
getTargetEntityin interfaceAssociationAttribute- Returns:
- possible object is
String
-
setTargetEntity
Sets the value of the targetEntity property.- Specified by:
setTargetEntityin interfaceAssociationAttribute- Parameters:
value- allowed object isString
-
getFetch
Gets the value of the fetch property.- Specified by:
getFetchin interfaceFetchableAttribute- Returns:
- possible object is
String
-
setFetch
Sets the value of the fetch property.- Specified by:
setFetchin interfaceFetchableAttribute- Parameters:
value- allowed object isString
-
getFetchMode
Gets the value of the fetchMode property.- Specified by:
getFetchModein interfaceToOneAttribute- Returns:
- possible object is
JaxbSingularFetchMode
-
setFetchMode
Sets the value of the fetchMode property.- Specified by:
setFetchModein interfaceToOneAttribute- Parameters:
value- allowed object isJaxbSingularFetchMode
-
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.- Specified by:
getAccessin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccessin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessorin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessorin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getMappedBy
Gets the value of the mappedBy property.- Returns:
- possible object is
String
-
setMappedBy
Sets the value of the mappedBy property.- Parameters:
value- allowed object isString
-
isOrphanRemoval
Gets the value of the orphanRemoval property.- Returns:
- possible object is
Boolean
-
setOrphanRemoval
Sets the value of the orphanRemoval property.- 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
-