de.ispsoft.jaxme.generator.parserdata
Class JdbcPattern

java.lang.Object
  extended byde.ispsoft.jaxme.generator.parserdata.JdbcAbstractParameter
      extended byde.ispsoft.jaxme.generator.parserdata.JdbcPattern

public class JdbcPattern
extends JdbcAbstractParameter

A pattern is a dynamic part of a list or find methods query.

Author:
Jochen Wiedmann

Field Summary
 
Fields inherited from class de.ispsoft.jaxme.generator.parserdata.JdbcAbstractParameter
KIND_PATTERN, KIND_PLACEHOLDER, KIND_PLACEHOLDERS
 
Constructor Summary
JdbcPattern()
          Creates a new instance of JdbcPattern
 
Method Summary
 java.lang.String getMatch()
          Returns the patterns match string.
 java.lang.String getRuntimeType()
          Returns the parameters runtime type.
 java.lang.String getSample()
          Returns the patterns sample.
 void setMatch(java.lang.String pMatch)
          Sets the patterns match string.
 void setSample(java.lang.String pSample)
          Sets the patterns sample.
 
Methods inherited from class de.ispsoft.jaxme.generator.parserdata.JdbcAbstractParameter
getKind, getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcPattern

public JdbcPattern()
Creates a new instance of JdbcPattern

Method Detail

getMatch

public java.lang.String getMatch()

Returns the patterns match string. This string must be present in the query and becomes replaced by the specified dynamic part.


setMatch

public void setMatch(java.lang.String pMatch)

Sets the patterns match string. This string must be present in the query and becomes replaced by the specified dynamic part.


getSample

public java.lang.String getSample()

Returns the patterns sample. This sample is used, if the user supplies a null value for the pattern.


setSample

public void setSample(java.lang.String pSample)

Sets the patterns sample. This sample is used, if the user supplies a null value for the pattern.


getRuntimeType

public java.lang.String getRuntimeType()

Returns the parameters runtime type.

Specified by:
getRuntimeType in class JdbcAbstractParameter