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

public Class JaxbMultiTenancy

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:multi-tenancy
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:column, formula
Imports
java.io.Serializable, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType

See `@org.hibernate.annotations.TenantId`

Java class for multi-tenancy complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="multi-tenancy">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <choice minOccurs="0">
          <element name="column" type="{http://www.hibernate.org/xsd/orm/mapping}column"/>
          <element name="formula" type="{http://www.w3.org/2001/XMLSchema}string"/>
        </choice>
      </sequence>
      <attribute name="shared" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
      <attribute name="bind-as-param" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
    </restriction>
  </complexContent>
</complexType>

Field Summary

Modifier and TypeField and Description
protected Boolean
protected JaxbColumn
protected String
protected Boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public JaxbColumn

Returns:

possible object is JaxbColumn
getColumn
()

Gets the value of the column property.

public String

Returns:

possible object is String
getFormula
()

Gets the value of the formula property.

public boolean

Returns:

possible object is Boolean
isBindAsParam
()

Gets the value of the bindAsParam property.

public boolean

Returns:

possible object is Boolean
isShared
()

Gets the value of the shared property.

public void
setBindAsParam(Boolean
allowed object is Boolean
value
)

Sets the value of the bindAsParam property.

public void
setColumn(JaxbColumn
allowed object is JaxbColumn
value
)

Sets the value of the column property.

public void
setFormula(String
allowed object is String
value
)

Sets the value of the formula property.

public void
setShared(Boolean
allowed object is Boolean
value
)

Sets the value of the shared property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bindAsParamback to summary
protected Boolean bindAsParam
Annotations
@XmlAttribute
name:bind-as-param
columnback to summary
protected JaxbColumn column
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
formulaback to summary
protected String formula
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
sharedback to summary
protected Boolean shared
Annotations
@XmlAttribute
name:shared

Constructor Detail

JaxbMultiTenancyback to summary
public JaxbMultiTenancy()

Method Detail

getColumnback to summary
public JaxbColumn getColumn()

Gets the value of the column property.

Returns:JaxbColumn

possible object is JaxbColumn

getFormulaback to summary
public String getFormula()

Gets the value of the formula property.

Returns:String

possible object is String

isBindAsParamback to summary
public boolean isBindAsParam()

Gets the value of the bindAsParam property.

Returns:boolean

possible object is Boolean

isSharedback to summary
public boolean isShared()

Gets the value of the shared property.

Returns:boolean

possible object is Boolean

setBindAsParamback to summary
public void setBindAsParam(Boolean value)

Sets the value of the bindAsParam property.

Parameters
value:Boolean

allowed object is Boolean

setColumnback to summary
public void setColumn(JaxbColumn value)

Sets the value of the column property.

Parameters
value:JaxbColumn

allowed object is JaxbColumn

setFormulaback to summary
public void setFormula(String value)

Sets the value of the formula property.

Parameters
value:String

allowed object is String

setSharedback to summary
public void setShared(Boolean value)

Sets the value of the shared property.

Parameters
value:Boolean

allowed object is Boolean