Class JaxbDiscriminatorFormulaImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbDiscriminatorFormulaImpl
- All Implemented Interfaces:
Serializable
@interface DiscriminatorFormula {
/** The fragment */
String value();
DiscriminatorType discriminatorType() default STRING;
}
@interface DiscriminatorOptions {
boolean force() default false;
...
}
<p>Java class for discriminator-formula complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="discriminator-formula">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="fragment" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
<attribute name="discriminator-type" type="{http://www.hibernate.org/xsd/orm/mapping}discriminator-type" />
<attribute name="force-selection" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the discriminatorType property.Gets the value of the fragment property.booleanGets the value of the forceSelection property.voidSets the value of the discriminatorType property.voidsetForceSelection(Boolean value) Sets the value of the forceSelection property.voidsetFragment(String value) Sets the value of the fragment property.
-
Field Details
-
fragment
-
discriminatorType
-
forceSelection
-
-
Constructor Details
-
JaxbDiscriminatorFormulaImpl
public JaxbDiscriminatorFormulaImpl()
-
-
Method Details
-
getFragment
-
setFragment
-
getDiscriminatorType
Gets the value of the discriminatorType property.- Returns:
- possible object is
String
-
setDiscriminatorType
Sets the value of the discriminatorType property.- Parameters:
value- allowed object isString
-
isForceSelection
public boolean isForceSelection()Gets the value of the forceSelection property.- Returns:
- possible object is
Boolean
-
setForceSelection
-