com.konakart.json.app
Class J_ZoneSearch

java.lang.Object
  extended by com.konakart.json.app.J_ZoneSearch
All Implemented Interfaces:
java.io.Serializable

public class J_ZoneSearch
extends java.lang.Object
implements java.io.Serializable

Contains information required to search for a zone. Whenever an attribute is set, it is used as a constraint. When using the java API, a com.konakart.app.ZoneSearch object is normally instantiated. Note that when this object initializes it sets the following attributes:

When using the SOAP interface directly (not through the KonaKart SOAP engine), this initialisation will not be done (because you will most probably be initializing an object created by a tool such as Apache Axis by reading the WSDL), so you will have to do it manually.

See Also:
Serialized Form

Constructor Summary
J_ZoneSearch()
           
 
Method Summary
 java.lang.String getCode()
          The code of the zone
 int getCodeRule()
          The rule for the search.
 int getCountryId()
          The numeric id of the country
 java.lang.String getCustom1()
          Custom1 field
 int getCustom1Rule()
          The rule for the search.
 java.lang.String getCustom2()
          Custom2 field
 int getCustom2Rule()
          The rule for the search.
 java.lang.String getCustom3()
          Custom3 field
 int getCustom3Rule()
          The rule for the search.
 int getId()
          The numeric id of the zone
 java.lang.Boolean getInvisible()
          Used as a constraint if not null.
 java.lang.String getName()
          The name of the zone
 int getNameRule()
          The rule for the search.
 java.lang.String getSearchString()
          Used to add a constraint to the zoneSearch attribute of the zone.
 int getSearchStringRule()
          The rule for the search.
 void setCode(java.lang.String _code)
          The code of the zone
 void setCodeRule(int _codeRule)
          The rule for the search.
 void setCountryId(int _countryId)
          The numeric id of the country
 void setCustom1(java.lang.String _custom1)
          Custom1 field
 void setCustom1Rule(int _custom1Rule)
          The rule for the search.
 void setCustom2(java.lang.String _custom2)
          Custom2 field
 void setCustom2Rule(int _custom2Rule)
          The rule for the search.
 void setCustom3(java.lang.String _custom3)
          Custom3 field
 void setCustom3Rule(int _custom3Rule)
          The rule for the search.
 void setId(int _id)
          The numeric id of the zone
 void setInvisible(java.lang.Boolean _invisible)
          Used as a constraint if not null.
 void setName(java.lang.String _name)
          The name of the zone
 void setNameRule(int _nameRule)
          The rule for the search.
 void setSearchString(java.lang.String _searchString)
          Used to add a constraint to the zoneSearch attribute of the zone.
 void setSearchStringRule(int _searchStringRule)
          The rule for the search.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_ZoneSearch

public J_ZoneSearch()
Method Detail

getSearchString

public java.lang.String getSearchString()
Used to add a constraint to the zoneSearch attribute of the zone. When inserting the zone, this attribute can be given any value. For example, if a way of identifying a zone is through a combination of zip code and country name, then this attribute may contain the zip code concatenated with the county name so that it can be easily searched for using data contained within the customer's address.

Returns:
the searchString

setSearchString

public void setSearchString(java.lang.String _searchString)
Used to add a constraint to the zoneSearch attribute of the zone. When inserting the zone, this attribute can be given any value. For example, if a way of identifying a zone is through a combination of zip code and country name, then this attribute may contain the zip code concatenated with the county name so that it can be easily searched for using data contained within the customer's address.

Parameters:
_searchString - the searchString to set

getSearchStringRule

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

Returns:
the searchStringRule

setSearchStringRule

public void setSearchStringRule(int _searchStringRule)
The rule for the search. Valid values are:

Parameters:
_searchStringRule - the searchStringRule to set

getId

public int getId()
The numeric id of the zone

Returns:
the id

setId

public void setId(int _id)
The numeric id of the zone

Parameters:
_id - the id to set

getCountryId

public int getCountryId()
The numeric id of the country

Returns:
the countryId

setCountryId

public void setCountryId(int _countryId)
The numeric id of the country

Parameters:
_countryId - the countryId to set

getCode

public java.lang.String getCode()
The code of the zone

Returns:
the code

setCode

public void setCode(java.lang.String _code)
The code of the zone

Parameters:
_code - the code 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

getName

public java.lang.String getName()
The name of the zone

Returns:
the name

setName

public void setName(java.lang.String _name)
The name of the zone

Parameters:
_name - the name 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

getInvisible

public java.lang.Boolean getInvisible()
Used as a constraint if not null.

Returns:
the invisible

setInvisible

public void setInvisible(java.lang.Boolean _invisible)
Used as a constraint if not null.

Parameters:
_invisible - the invisible to set

getCustom1

public java.lang.String getCustom1()
Custom1 field

Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String _custom1)
Custom1 field

Parameters:
_custom1 - the custom1 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

getCustom2

public java.lang.String getCustom2()
Custom2 field

Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String _custom2)
Custom2 field

Parameters:
_custom2 - the custom2 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

getCustom3

public java.lang.String getCustom3()
Custom3 field

Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String _custom3)
Custom3 field

Parameters:
_custom3 - the custom3 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.