Class JaxbMultiTenancyImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbMultiTenancyImpl
- All Implemented Interfaces:
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Boolean
protected JaxbColumnImpl
protected String
protected Boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the column property.Gets the value of the formula property.boolean
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
(JaxbColumnImpl value) Sets the value of the column property.void
setFormula
(String value) Sets the value of the formula property.void
Sets the value of the shared property.
-
Field Details
-
column
-
formula
-
bindAsParam
-
-
Constructor Details
-
JaxbMultiTenancyImpl
public JaxbMultiTenancyImpl()
-
-
Method Details
-
getColumn
Gets the value of the column property.- Returns:
- possible object is
JaxbColumnImpl
-
setColumn
Sets the value of the column property.- Parameters:
value
- allowed object isJaxbColumnImpl
-
getFormula
Gets the value of the formula property.- Returns:
- possible object is
String
-
setFormula
Sets the value of the formula property.- Parameters:
value
- allowed object isString
-
isBindAsParam
public boolean isBindAsParam()Gets the value of the bindAsParam property.- Returns:
- possible object is
Boolean
-
setBindAsParam
Sets the value of the bindAsParam property.- Parameters:
value
- allowed object isBoolean
-