com.konakartadmin.app
Class AdminZoneSearch

java.lang.Object
  extended by com.konakartadmin.app.AdminZoneSearch

public class AdminZoneSearch
extends java.lang.Object

AdminZoneSearch object for the Admin App


Field Summary
private  java.lang.String code
          code
private  int codeRule
          code Rule
private  int countryId
          country Id
private  java.lang.String custom1
          custom1
private  int custom1Rule
          custom1 Rule
private  java.lang.String custom2
          custom2
private  int custom2Rule
          custom2 Rule
private  java.lang.String custom3
          custom3
private  int custom3Rule
          custom3 Rule
private  int id
          id
private  java.lang.String name
          name
private  int nameRule
          name Rule
private  java.lang.String orderBy
          order By
private  boolean useDefaultWildCardsWithName
          Use default settings for wildcard searching when searching using the name.
 
Constructor Summary
AdminZoneSearch()
          Instantiates an AdminZoneSearch object - a requirement for a bean class
AdminZoneSearch(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the AdminZoneSearch object from a Record object
 
Method Summary
 java.lang.String getCode()
           
 int getCodeRule()
          The rule for the search.
 int getCountryId()
           
 java.lang.String getCustom1()
           
 int getCustom1Rule()
          The rule for the search.
 java.lang.String getCustom2()
           
 int getCustom2Rule()
          The rule for the search.
 java.lang.String getCustom3()
           
 int getCustom3Rule()
          The rule for the search.
 int getId()
           
 java.lang.String getName()
           
 int getNameRule()
          The rule for the search.
 java.lang.String getOrderBy()
           
 boolean isUseDefaultWildCardsWithName()
          Deprecated. Use attribute rules instead
 void setCode(java.lang.String code)
           
 void setCodeRule(int codeRule)
          The rule for the search.
 void setCountryId(int countryId)
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom1Rule(int custom1Rule)
          The rule for the search.
 void setCustom2(java.lang.String custom2)
           
 void setCustom2Rule(int custom2Rule)
          The rule for the search.
 void setCustom3(java.lang.String custom3)
           
 void setCustom3Rule(int custom3Rule)
          The rule for the search.
 void setId(int id)
           
 void setName(java.lang.String name)
           
 void setNameRule(int nameRule)
          The rule for the search.
 void setOrderBy(java.lang.String orderBy)
           
 void setUseDefaultWildCardsWithName(boolean useDefaultWildCardsWithName)
          Deprecated. Use attribute rules instead
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
id


name

private java.lang.String name
name


nameRule

private int nameRule
name Rule


code

private java.lang.String code
code


codeRule

private int codeRule
code Rule


countryId

private int countryId
country Id


custom1

private java.lang.String custom1
custom1


custom1Rule

private int custom1Rule
custom1 Rule


custom2

private java.lang.String custom2
custom2


custom2Rule

private int custom2Rule
custom2 Rule


custom3

private java.lang.String custom3
custom3


custom3Rule

private int custom3Rule
custom3 Rule


useDefaultWildCardsWithName

private boolean useDefaultWildCardsWithName
Use default settings for wildcard searching when searching using the name. If false no wildcards ("%") are added for the search and an exact match on name is required


orderBy

private java.lang.String orderBy
order By

Constructor Detail

AdminZoneSearch

public AdminZoneSearch()
Instantiates an AdminZoneSearch object - a requirement for a bean class


AdminZoneSearch

public AdminZoneSearch(com.workingdogs.village.Record r,
                       org.apache.torque.util.Criteria c)
                throws com.workingdogs.village.DataSetException
Instantiates the attributes of the AdminZoneSearch object from a Record object

Parameters:
r - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the ZoneSearch object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing the attributes of the Zone object.

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int id)
Parameters:
id - The id to set.

getOrderBy

public java.lang.String getOrderBy()
Returns:
Returns the orderBy.

setOrderBy

public void setOrderBy(java.lang.String orderBy)
Parameters:
orderBy - The orderBy to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getCode

public java.lang.String getCode()
Returns:
Returns the code.

setCode

public void setCode(java.lang.String code)
Parameters:
code - The code to set.

setCountryId

public void setCountryId(int countryId)
Parameters:
countryId - The countryId to set.

getCountryId

public int getCountryId()
Returns:
Returns the countryId.

getCustom1

public java.lang.String getCustom1()
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Parameters:
custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String custom2)
Parameters:
custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String custom3)
Parameters:
custom3 - the custom3 to set

isUseDefaultWildCardsWithName

@Deprecated
public boolean isUseDefaultWildCardsWithName()
Deprecated. Use attribute rules instead

Returns:
the useDefaultWildCardsWithName

setUseDefaultWildCardsWithName

@Deprecated
public void setUseDefaultWildCardsWithName(boolean useDefaultWildCardsWithName)
Deprecated. Use attribute rules instead

Parameters:
useDefaultWildCardsWithName - the useDefaultWildCardsWithName to set

getNameRule

public int getNameRule()
The rule for the search. Valid values are:

Returns:
the nameRule

setNameRule

public void setNameRule(int nameRule)
The rule for the search. Valid values are:

Parameters:
nameRule - the nameRule to set

getCodeRule

public int getCodeRule()
The rule for the search. Valid values are:

Returns:
the codeRule

setCodeRule

public void setCodeRule(int codeRule)
The rule for the search. Valid values are:

Parameters:
codeRule - the codeRule to set

getCustom1Rule

public int getCustom1Rule()
The rule for the search. Valid values are:

Returns:
the custom1Rule

setCustom1Rule

public void setCustom1Rule(int custom1Rule)
The rule for the search. Valid values are:

Parameters:
custom1Rule - the custom1Rule to set

getCustom2Rule

public int getCustom2Rule()
The rule for the search. Valid values are:

Returns:
the custom2Rule

setCustom2Rule

public void setCustom2Rule(int custom2Rule)
The rule for the search. Valid values are:

Parameters:
custom2Rule - the custom2Rule to set

getCustom3Rule

public int getCustom3Rule()
The rule for the search. Valid values are:

Returns:
the custom3Rule

setCustom3Rule

public void setCustom3Rule(int custom3Rule)
The rule for the search. Valid values are:

Parameters:
custom3Rule - the custom3Rule to set


Copyright © 2011 DS Data Systems UK Ltd.