Class SyntheticDaoMethodType

java.lang.Object
org.jooq.meta.jaxb.SyntheticDaoMethodType
All Implemented Interfaces:
Serializable, XMLAppendable

public class SyntheticDaoMethodType extends Object implements Serializable, XMLAppendable

Java class for SyntheticDaoMethodType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SyntheticDaoMethodType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="returnType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="sql" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • name

      protected String name
    • comment

      protected String comment
    • returnType

      protected String returnType
    • sql

      protected String sql
  • Constructor Details

    • SyntheticDaoMethodType

      public SyntheticDaoMethodType()
  • Method Details

    • getName

      public String getName()
      The defining name of the DAO method.
    • setName

      public void setName(String value)
      The defining name of the DAO method.
    • getComment

      public String getComment()
      The defining comment on the DAO method.
    • setComment

      public void setComment(String value)
      The defining comment on the DAO method.
    • getReturnType

      public String getReturnType()
      The return type of the DAO method, defaulting to void.
    • setReturnType

      public void setReturnType(String value)
      The return type of the DAO method, defaulting to void.
    • getSql

      public String getSql()
      The defining SQL query.
    • setSql

      public void setSql(String value)
      The defining SQL query.
    • withName

      public SyntheticDaoMethodType withName(String value)
      The defining name of the DAO method.
    • withComment

      public SyntheticDaoMethodType withComment(String value)
      The defining comment on the DAO method.
    • withReturnType

      public SyntheticDaoMethodType withReturnType(String value)
      The return type of the DAO method, defaulting to void.
    • withSql

      public SyntheticDaoMethodType withSql(String value)
      The defining SQL query.
    • appendTo

      public final void appendTo(XMLBuilder builder)
      Specified by:
      appendTo in interface XMLAppendable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object