org.jaffa.components.codehelper.dto
Class CriteriaElementDto

java.lang.Object
  extended byorg.jaffa.components.codehelper.dto.CriteriaElementDto

public class CriteriaElementDto
extends Object

The input to the ICodeHelper, will consist of a List of instances of this class. The ICodeHelper will query the 'domainClassName' and use reflection to determine the fields to return. Additional criteria can be specified using instances of CriteriaElementDto.

Author:
GautamJ

Constructor Summary
CriteriaElementDto()
           
 
Method Summary
 CriteriaField getCriteria()
          Getter for property criteria.
 String getFieldName()
          Getter for property fieldName.
 void setCriteria(CriteriaField criteria)
          Setter for property criteria.
 void setFieldName(String fieldName)
          Setter for property fieldName.
 String toString()
          Returns diagnostic information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CriteriaElementDto

public CriteriaElementDto()
Method Detail

getFieldName

public String getFieldName()
Getter for property fieldName.

Returns:
Value of property fieldName.

setFieldName

public void setFieldName(String fieldName)
Setter for property fieldName.

Parameters:
fieldName - New value of property fieldName.

getCriteria

public CriteriaField getCriteria()
Getter for property criteria.

Returns:
Value of property criteria.

setCriteria

public void setCriteria(CriteriaField criteria)
Setter for property criteria.

Parameters:
criteria - New value of property criteria.

toString

public String toString()
Returns diagnostic information.

Returns:
diagnostic information.


Copyright © 2002-2004 JAFFA Project.