com.jurismarches.vradi.services.dto
Class VradiQueryBean

java.lang.Object
  extended by com.jurismarches.vradi.services.dto.VradiQueryBean
All Implemented Interfaces:
Serializable

public final class VradiQueryBean
extends Object
implements Serializable

VradiQueryBean.

Since:
16 mars 2010 14:25:12
Version:
$Revision: 684 $ $Date: 2010-04-07 22:59:41 +0200 (mer., 07 avril 2010) $
Author:
schorlet
See Also:
Serialized Form

Constructor Summary
VradiQueryBean()
           
VradiQueryBean(String queryLine)
          Decode the specified queryLine.
VradiQueryBean(String queryLine, String id)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 String getId()
          Additionnal attribute.
 String getName()
           
 String getQuery()
           
 int hashCode()
           
 VradiQueryBean setDescription(String value)
           
 VradiQueryBean setName(String value)
           
 VradiQueryBean setQuery(String value)
           
 String[] toArray()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VradiQueryBean

public VradiQueryBean()

VradiQueryBean

public VradiQueryBean(String queryLine)
               throws IOException
Decode the specified queryLine. The queryLine must be CSV formatted.

Parameters:
queryLine - the formatted query.
Throws:
IOException - if queryLine is badly formatted.

VradiQueryBean

public VradiQueryBean(String queryLine,
                      String id)
               throws IOException
Throws:
IOException
Method Detail

getQuery

public String getQuery()

getName

public String getName()

getDescription

public String getDescription()

toString

public String toString()
Overrides:
toString in class Object

toArray

public String[] toArray()

setQuery

public VradiQueryBean setQuery(String value)

setName

public VradiQueryBean setName(String value)

setDescription

public VradiQueryBean setDescription(String value)

getId

public String getId()
Additionnal attribute. It does not belongs to the query definition.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2010 JurisMarches. All Rights Reserved.