Package org.hibernate.boot.jaxb.mapping
Class JaxbDiscriminatorColumn
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbDiscriminatorColumn
-
- All Implemented Interfaces:
Serializable
public class JaxbDiscriminatorColumn extends Object implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
columnDefinition
protected DiscriminatorType
discriminatorType
protected Boolean
forceSelection
protected Integer
length
protected String
name
-
Constructor Summary
Constructors Constructor Description JaxbDiscriminatorColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColumnDefinition()
Gets the value of the columnDefinition property.DiscriminatorType
getDiscriminatorType()
Gets the value of the discriminatorType property.Integer
getLength()
Gets the value of the length property.String
getName()
Gets the value of the name property.boolean
isForceSelection()
Gets the value of the forceSelection property.void
setColumnDefinition(String value)
Sets the value of the columnDefinition property.void
setDiscriminatorType(DiscriminatorType value)
Sets the value of the discriminatorType property.void
setForceSelection(Boolean value)
Sets the value of the forceSelection property.void
setLength(Integer value)
Sets the value of the length property.void
setName(String value)
Sets the value of the name property.
-
-
-
Field Detail
-
name
protected String name
-
discriminatorType
protected DiscriminatorType discriminatorType
-
columnDefinition
protected String columnDefinition
-
length
protected Integer length
-
forceSelection
protected Boolean forceSelection
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getDiscriminatorType
public DiscriminatorType getDiscriminatorType()
Gets the value of the discriminatorType property.- Returns:
- possible object is
String
-
setDiscriminatorType
public void setDiscriminatorType(DiscriminatorType value)
Sets the value of the discriminatorType property.- Parameters:
value
- allowed object isString
-
getColumnDefinition
public String getColumnDefinition()
Gets the value of the columnDefinition property.- Returns:
- possible object is
String
-
setColumnDefinition
public void setColumnDefinition(String value)
Sets the value of the columnDefinition property.- Parameters:
value
- allowed object isString
-
getLength
public Integer getLength()
Gets the value of the length property.- Returns:
- possible object is
Integer
-
setLength
public void setLength(Integer value)
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
-
-