Class JaxbHbmCompositeKeyManyToOneType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeKeyManyToOneType
- All Implemented Interfaces:
Serializable, AttributeMapping, SingularAttributeInfo, ToolingHintContainer
public class JaxbHbmCompositeKeyManyToOneType
extends JaxbHbmToolingHintContainer
implements Serializable, SingularAttributeInfo
A many-to-one association embedded in a composite identifier or map index
(always not-null, never cascade).
<p>Java class for CompositeKeyManyToOneType complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="CompositeKeyManyToOneType">
<complexContent>
<extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer">
<sequence>
<element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="class" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" />
<attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="lazy" type="{http://www.hibernate.org/xsd/orm/hbm}LazyEnum" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="on-delete" type="{http://www.hibernate.org/xsd/orm/hbm}OnDeleteEnum" default="noaction" />
</extension>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected List<JaxbHbmColumnType> protected Stringprotected Stringprotected Stringprotected JaxbHbmLazyEnumprotected Stringprotected JaxbHbmOnDeleteEnumFields inherited from class JaxbHbmToolingHintContainer
toolingHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.getClazz()Gets the value of the clazz property.Gets the value of the column property.Gets the value of the columnAttribute property.Gets the value of the entityName property.Gets the value of the foreignKey property.getLazy()Gets the value of the lazy property.getName()Gets the value of the name property.Gets the value of the onDelete property.voidSets the value of the access property.voidSets the value of the clazz property.voidsetColumnAttribute(String value) Sets the value of the columnAttribute property.voidsetEntityName(String value) Sets the value of the entityName property.voidsetForeignKey(String value) Sets the value of the foreignKey property.voidsetLazy(JaxbHbmLazyEnum value) Sets the value of the lazy property.voidSets the value of the name property.voidsetOnDelete(JaxbHbmOnDeleteEnum value) Sets the value of the onDelete property.Methods inherited from class JaxbHbmToolingHintContainer
getToolingHintsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ToolingHintContainer
getToolingHints
-
Field Details
-
column
-
access
-
clazz
-
columnAttribute
-
entityName
-
foreignKey
-
lazy
-
name
-
onDelete
-
-
Constructor Details
-
JaxbHbmCompositeKeyManyToOneType
public JaxbHbmCompositeKeyManyToOneType()
-
-
Method Details
-
getColumn
Gets the value of the column 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 column property.For example, to add a new item, do as follows:
getColumn().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType- Returns:
- The value of the column property.
-
getAccess
Gets the value of the access property.- Specified by:
getAccessin interfaceAttributeMapping- Returns:
- possible object is
String
-
setAccess
-
getClazz
-
setClazz
-
getColumnAttribute
-
setColumnAttribute
-
getEntityName
-
setEntityName
-
getForeignKey
-
setForeignKey
-
getLazy
Gets the value of the lazy property.- Returns:
- possible object is
JaxbHbmLazyEnum
-
setLazy
Sets the value of the lazy property.- Parameters:
value- allowed object isJaxbHbmLazyEnum
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceAttributeMapping- Returns:
- possible object is
String
-
setName
-
getOnDelete
Gets the value of the onDelete property.- Returns:
- possible object is
JaxbHbmOnDeleteEnum
-
setOnDelete
Sets the value of the onDelete property.- Parameters:
value- allowed object isJaxbHbmOnDeleteEnum
-