org.apache.beehive.controls.system.jdbc.parser
Class ReflectionFragment

Object
  extended by SqlFragment
      extended by ReflectionFragment

public final class ReflectionFragment
extends SqlFragment

Represents a method parameter substitution into the SQL annotation's statement member. Delimited by '{' and '}'. Method parameter names must exactly match the name used in the SQL statement in order for the substitution to occur.

 SQL(statement="SELECT * FROM {tableName}")
 public void getAll(String tableName) throws SQLException;
 


Method Summary
 String toString()
          For JUnit testing.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
For JUnit testing.

Overrides:
toString in class SqlFragment
Returns:
The String value of this fragment.