Package org.hibernate.boot.jaxb.mapping
Class JaxbMultiTenancy
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbMultiTenancy
-
- All Implemented Interfaces:
Serializable
public class JaxbMultiTenancy extends Object implements Serializable
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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
bindAsParam
protected JaxbColumn
column
protected String
formula
protected Boolean
shared
-
Constructor Summary
Constructors Constructor Description JaxbMultiTenancy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JaxbColumn
getColumn()
Gets the value of the column property.String
getFormula()
Gets the value of the formula property.boolean
isBindAsParam()
Gets the value of the bindAsParam property.boolean
isShared()
Gets the value of the shared property.void
setBindAsParam(Boolean value)
Sets the value of the bindAsParam property.void
setColumn(JaxbColumn value)
Sets the value of the column property.void
setFormula(String value)
Sets the value of the formula property.void
setShared(Boolean value)
Sets the value of the shared property.
-
-
-
Field Detail
-
column
protected JaxbColumn column
-
formula
protected String formula
-
shared
protected Boolean shared
-
bindAsParam
protected Boolean bindAsParam
-
-
Method Detail
-
getColumn
public JaxbColumn getColumn()
Gets the value of the column property.- Returns:
- possible object is
JaxbColumn
-
setColumn
public void setColumn(JaxbColumn value)
Sets the value of the column property.- Parameters:
value
- allowed object isJaxbColumn
-
getFormula
public String getFormula()
Gets the value of the formula property.- Returns:
- possible object is
String
-
setFormula
public void setFormula(String value)
Sets the value of the formula property.- Parameters:
value
- allowed object isString
-
isShared
public boolean isShared()
Gets the value of the shared property.- Returns:
- possible object is
Boolean
-
setShared
public void setShared(Boolean value)
Sets the value of the shared property.- Parameters:
value
- allowed object isBoolean
-
isBindAsParam
public boolean isBindAsParam()
Gets the value of the bindAsParam property.- Returns:
- possible object is
Boolean
-
-