Package org.hibernate.boot.jaxb.mapping
Class JaxbDiscriminatorColumn
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbDiscriminatorColumn
- All Implemented Interfaces:
Serializable
See `@jakarta.persistence.DiscriminatorColumn`
See `@org.hibernate.annotations.DiscriminatorOptions`
Java class for discriminator-column complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="discriminator-column">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="discriminator-type" type="{http://www.hibernate.org/xsd/orm/mapping}discriminator-type" />
<attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="force-selection" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected DiscriminatorTypeprotected Booleanprotected Integerprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the columnDefinition property.Gets the value of the discriminatorType property.Gets the value of the length property.getName()Gets the value of the name property.booleanGets the value of the forceSelection property.voidsetColumnDefinition(String value) Sets the value of the columnDefinition property.voidSets the value of the discriminatorType property.voidsetForceSelection(Boolean value) Sets the value of the forceSelection property.voidSets the value of the length property.voidSets the value of the name property.
-
Field Details
-
name
-
discriminatorType
-
columnDefinition
-
length
-
forceSelection
-
-
Constructor Details
-
JaxbDiscriminatorColumn
public JaxbDiscriminatorColumn()
-
-
Method Details
-
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
-
getDiscriminatorType
Gets the value of the discriminatorType property.- Returns:
- possible object is
String
-
setDiscriminatorType
Sets the value of the discriminatorType property.- Parameters:
value- allowed object isString
-
getColumnDefinition
Gets the value of the columnDefinition property.- Returns:
- possible object is
String
-
setColumnDefinition
Sets the value of the columnDefinition property.- Parameters:
value- allowed object isString
-
getLength
Gets the value of the length property.- Returns:
- possible object is
Integer
-
setLength
Sets the value of the length property.- Parameters:
value- allowed object isInteger
-
isForceSelection
public boolean isForceSelection()Gets the value of the forceSelection property.- Returns:
- possible object is
Boolean
-
setForceSelection
Sets the value of the forceSelection property.- Parameters:
value- allowed object isBoolean
-