de.ispsoft.jaxme.generator.parserdata
Class JdbcAbstractParameter

java.lang.Object
  extended byde.ispsoft.jaxme.generator.parserdata.JdbcAbstractParameter
Direct Known Subclasses:
JdbcParam, JdbcPattern, JdbcPlaceHolders

public abstract class JdbcAbstractParameter
extends java.lang.Object

Base class for parameters, patterns and placeholder values.

Author:
Jochen Wiedmann

Field Summary
static int KIND_PATTERN
          A parameter kind: Pattern value; the instance class is JdbcPattern or a subclass.
static int KIND_PLACEHOLDER
          A parameter type: Placeholder value
static int KIND_PLACEHOLDERS
          A parameter kind: Array of placeholder values; the instance class is JdbcPlaceHolders or a subclass.
 
Constructor Summary
protected JdbcAbstractParameter(int pKind)
          Creates a new instance of JdbcAbstractParameter
 
Method Summary
 int getKind()
          Returns the parameters kind: KIND_PLACEHOLDER or KIND_PATTERN.
 java.lang.String getName()
          Returns the parameter name.
abstract  java.lang.String getRuntimeType()
          Returns the parameters runtime type.
 void setName(java.lang.String pName)
          Sets the parameter name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KIND_PLACEHOLDER

public static final int KIND_PLACEHOLDER

A parameter type: Placeholder value

See Also:
Constant Field Values

KIND_PATTERN

public static final int KIND_PATTERN

A parameter kind: Pattern value; the instance class is JdbcPattern or a subclass.

See Also:
Constant Field Values

KIND_PLACEHOLDERS

public static final int KIND_PLACEHOLDERS

A parameter kind: Array of placeholder values; the instance class is JdbcPlaceHolders or a subclass.

See Also:
Constant Field Values
Constructor Detail

JdbcAbstractParameter

protected JdbcAbstractParameter(int pKind)
Creates a new instance of JdbcAbstractParameter

Method Detail

getKind

public int getKind()

Returns the parameters kind: KIND_PLACEHOLDER or KIND_PATTERN.


getName

public java.lang.String getName()

Returns the parameter name.


setName

public void setName(java.lang.String pName)

Sets the parameter name.


getRuntimeType

public abstract java.lang.String getRuntimeType()

Returns the parameters runtime type.