com.konakartadmin.app
Class AdminCountrySearch

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

public class AdminCountrySearch
extends java.lang.Object

CountrySearch object for the Admin App


Field Summary
private  int id
          id
private  java.lang.String name
          Country Name
private  int nameRule
          Country Name Rule
private  boolean onlyActiveCountries
          Select Only Active Countries - default is to select All countries
private  java.lang.String orderBy
          order by
private  java.lang.String threeLetterCode
          Three letter country code
private  int threeLetterCodeRule
          Three letter country code Rule
private  java.lang.String twoLetterCode
          Two letter country code
private  int twoLetterCodeRule
          Two letter country code Rule
 
Constructor Summary
AdminCountrySearch()
          Instantiates an AdminCountrySearch object - a requirement for a bean class
AdminCountrySearch(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the AdminCountrySearch object from a Record object
 
Method Summary
 int getId()
           
 java.lang.String getName()
           
 int getNameRule()
          The rule for the search.
 java.lang.String getOrderBy()
           
 java.lang.String getThreeLetterCode()
           
 int getThreeLetterCodeRule()
          The rule for the search.
 java.lang.String getTwoLetterCode()
           
 int getTwoLetterCodeRule()
          The rule for the search.
 boolean isOnlyActiveCountries()
           
 void setId(int id)
           
 void setName(java.lang.String name)
           
 void setNameRule(int nameRule)
          The rule for the search.
 void setOnlyActiveCountries(boolean onlyActiveCountries)
           
 void setOrderBy(java.lang.String orderBy)
           
 void setThreeLetterCode(java.lang.String threeLetterCode)
           
 void setThreeLetterCodeRule(int threeLetterCodeRule)
          The rule for the search.
 void setTwoLetterCode(java.lang.String twoLetterCode)
           
 void setTwoLetterCodeRule(int twoLetterCodeRule)
          The rule for the search.
 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
Country Name


nameRule

private int nameRule
Country Name Rule


twoLetterCode

private java.lang.String twoLetterCode
Two letter country code


twoLetterCodeRule

private int twoLetterCodeRule
Two letter country code Rule


threeLetterCode

private java.lang.String threeLetterCode
Three letter country code


threeLetterCodeRule

private int threeLetterCodeRule
Three letter country code Rule


onlyActiveCountries

private boolean onlyActiveCountries
Select Only Active Countries - default is to select All countries


orderBy

private java.lang.String orderBy
order by

Constructor Detail

AdminCountrySearch

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


AdminCountrySearch

public AdminCountrySearch(com.workingdogs.village.Record r,
                          org.apache.torque.util.Criteria c)
                   throws com.workingdogs.village.DataSetException
Instantiates the attributes of the AdminCountrySearch 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 CountrySearch object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing the attributes of the Country 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.

getThreeLetterCode

public java.lang.String getThreeLetterCode()
Returns:
Returns the threeLetterCode.

setThreeLetterCode

public void setThreeLetterCode(java.lang.String threeLetterCode)
Parameters:
threeLetterCode - The threeLetterCode to set.

getTwoLetterCode

public java.lang.String getTwoLetterCode()
Returns:
Returns the twoLetterCode.

setTwoLetterCode

public void setTwoLetterCode(java.lang.String twoLetterCode)
Parameters:
twoLetterCode - The twoLetterCode 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

getTwoLetterCodeRule

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

Returns:
the twoLetterCodeRule

setTwoLetterCodeRule

public void setTwoLetterCodeRule(int twoLetterCodeRule)
The rule for the search. Valid values are:

Parameters:
twoLetterCodeRule - the twoLetterCodeRule to set

getThreeLetterCodeRule

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

Returns:
the threeLetterCodeRule

setThreeLetterCodeRule

public void setThreeLetterCodeRule(int threeLetterCodeRule)
The rule for the search. Valid values are:

Parameters:
threeLetterCodeRule - the threeLetterCodeRule to set

isOnlyActiveCountries

public boolean isOnlyActiveCountries()
Returns:
the onlyActiveCountries

setOnlyActiveCountries

public void setOnlyActiveCountries(boolean onlyActiveCountries)
Parameters:
onlyActiveCountries - the onlyActiveCountries to set


Copyright © 2011 DS Data Systems UK Ltd.