Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbDiscriminatorColumn

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:discriminator-column
namespace:http://www.hibernate.org/xsd/orm/mapping
Imports
java.io.Serializable, jakarta.persistence.DiscriminatorType, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlType, jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter

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>

Field Summary

Modifier and TypeField and Description
protected String
protected DiscriminatorType
protected Boolean
protected Integer
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getColumnDefinition
()

Gets the value of the columnDefinition property.

public DiscriminatorType

Returns:

possible object is String
getDiscriminatorType
()

Gets the value of the discriminatorType property.

public Integer

Returns:

possible object is Integer
getLength
()

Gets the value of the length property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public boolean

Returns:

possible object is Boolean
isForceSelection
()

Gets the value of the forceSelection property.

public void
setColumnDefinition(String
allowed object is String
value
)

Sets the value of the columnDefinition property.

public void
setDiscriminatorType(DiscriminatorType
allowed object is String
value
)

Sets the value of the discriminatorType property.

public void
setForceSelection(Boolean
allowed object is Boolean
value
)

Sets the value of the forceSelection property.

public void
setLength(Integer
allowed object is Integer
value
)

Sets the value of the length property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

columnDefinitionback to summary
protected String columnDefinition
Annotations
@XmlAttribute
name:column-definition
discriminatorTypeback to summary
protected DiscriminatorType discriminatorType
Annotations
@XmlAttribute
name:discriminator-type
@XmlJavaTypeAdapter:Adapter7
forceSelectionback to summary
protected Boolean forceSelection
Annotations
@XmlAttribute
name:force-selection
lengthback to summary
protected Integer length
Annotations
@XmlAttribute
name:length
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name

Constructor Detail

JaxbDiscriminatorColumnback to summary
public JaxbDiscriminatorColumn()

Method Detail

getColumnDefinitionback to summary
public String getColumnDefinition()

Gets the value of the columnDefinition property.

Returns:String

possible object is String

getDiscriminatorTypeback to summary
public DiscriminatorType getDiscriminatorType()

Gets the value of the discriminatorType property.

Returns:DiscriminatorType

possible object is String

getLengthback to summary
public Integer getLength()

Gets the value of the length property.

Returns:Integer

possible object is Integer

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

isForceSelectionback to summary
public boolean isForceSelection()

Gets the value of the forceSelection property.

Returns:boolean

possible object is Boolean

setColumnDefinitionback to summary
public void setColumnDefinition(String value)

Sets the value of the columnDefinition property.

Parameters
value:String

allowed object is String

setDiscriminatorTypeback to summary
public void setDiscriminatorType(DiscriminatorType value)

Sets the value of the discriminatorType property.

Parameters
value:DiscriminatorType

allowed object is String

setForceSelectionback to summary
public void setForceSelection(Boolean value)

Sets the value of the forceSelection property.

Parameters
value:Boolean

allowed object is Boolean

setLengthback to summary
public void setLength(Integer value)

Sets the value of the length property.

Parameters
value:Integer

allowed object is Integer

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String