Class JaxbCheckConstraintImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbCheckConstraintImpl
- All Implemented Interfaces:
Serializable, JaxbCheckConstraint
@Target({}) @Retention(RUNTIME)
public @interface CheckConstraint {
String name() default "";
String constraint();
String options() default "";
}
<p>Java class for check-constraint complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="check-constraint">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="constraint" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="options" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the constraint property.getName()Gets the value of the name property.Gets the value of the options property.voidsetConstraint(String value) Sets the value of the constraint property.voidSets the value of the name property.voidsetOptions(String value) Sets the value of the options property.
-
Field Details
-
name
-
constraint
-
options
-
-
Constructor Details
-
JaxbCheckConstraintImpl
public JaxbCheckConstraintImpl()
-
-
Method Details
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceJaxbCheckConstraint- Returns:
- possible object is
String
-
setName
-
getConstraint
Gets the value of the constraint property.- Specified by:
getConstraintin interfaceJaxbCheckConstraint- Returns:
- possible object is
String
-
setConstraint
-
getOptions
Gets the value of the options property.- Specified by:
getOptionsin interfaceJaxbCheckConstraint- Returns:
- possible object is
String
-
setOptions
-