org.ow2.weblab.portlet.tool
Class AdvancedSearchFieldBean

java.lang.Object
  extended by org.ow2.weblab.portlet.tool.AdvancedSearchFieldBean
All Implemented Interfaces:
java.lang.Comparable<AdvancedSearchFieldBean>
Direct Known Subclasses:
DateFieldBean, TextFieldBean

public abstract class AdvancedSearchFieldBean
extends java.lang.Object
implements java.lang.Comparable<AdvancedSearchFieldBean>


Nested Class Summary
static class AdvancedSearchFieldBean.Types
           
 
Field Summary
protected  java.lang.String booleanCondition
           
protected  java.lang.String fieldName
           
protected  int position
           
protected  AdvancedSearchFieldBean.Types type
           
 
Constructor Summary
AdvancedSearchFieldBean()
           
AdvancedSearchFieldBean(int position, AdvancedSearchFieldBean.Types type, java.lang.String booleanCondition, java.lang.String fieldName)
           
 
Method Summary
 int compareTo(AdvancedSearchFieldBean o)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getBooleanCondition()
           
 java.lang.String getFieldName()
           
 int getPosition()
           
 AdvancedSearchFieldBean.Types getType()
           
 int hashCode()
           
 void setBooleanCondition(java.lang.String booleanCondition)
           
 void setFieldName(java.lang.String fieldName)
           
 void setPosition(int position)
           
 void setType(AdvancedSearchFieldBean.Types type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

protected int position

type

protected AdvancedSearchFieldBean.Types type

booleanCondition

protected java.lang.String booleanCondition

fieldName

protected java.lang.String fieldName
Constructor Detail

AdvancedSearchFieldBean

public AdvancedSearchFieldBean()

AdvancedSearchFieldBean

public AdvancedSearchFieldBean(int position,
                               AdvancedSearchFieldBean.Types type,
                               java.lang.String booleanCondition,
                               java.lang.String fieldName)
Method Detail

getBooleanCondition

public java.lang.String getBooleanCondition()
Returns:
the booleanCondition

setBooleanCondition

public void setBooleanCondition(java.lang.String booleanCondition)
Parameters:
booleanCondition - the booleanCondition to set

getFieldName

public java.lang.String getFieldName()
Returns:
the fieldName

setFieldName

public void setFieldName(java.lang.String fieldName)
Parameters:
fieldName - the fieldName to set

getPosition

public int getPosition()
Returns:
the position

setPosition

public void setPosition(int position)
Parameters:
position - the position to set

getType

public AdvancedSearchFieldBean.Types getType()
Returns:
the type

setType

public void setType(AdvancedSearchFieldBean.Types type)
Parameters:
type - the type to set

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(AdvancedSearchFieldBean o)
Specified by:
compareTo in interface java.lang.Comparable<AdvancedSearchFieldBean>


Copyright © 2004-2012. All Rights Reserved.