Class JaxbCheckConstraintImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbCheckConstraintImpl
All Implemented Interfaces:
Serializable, JaxbCheckConstraint

public class JaxbCheckConstraintImpl extends Object implements 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 Details

    • name

      protected String name
    • constraint

      protected String constraint
    • options

      protected String options
  • Constructor Details

    • JaxbCheckConstraintImpl

      public JaxbCheckConstraintImpl()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Specified by:
      getName in interface JaxbCheckConstraint
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getConstraint

      public String getConstraint()
      Gets the value of the constraint property.
      Specified by:
      getConstraint in interface JaxbCheckConstraint
      Returns:
      possible object is String
    • setConstraint

      public void setConstraint(String value)
      Sets the value of the constraint property.
      Parameters:
      value - allowed object is String
    • getOptions

      public String getOptions()
      Gets the value of the options property.
      Specified by:
      getOptions in interface JaxbCheckConstraint
      Returns:
      possible object is String
    • setOptions

      public void setOptions(String value)
      Sets the value of the options property.
      Parameters:
      value - allowed object is String