Class ValueWithPosAndCountry<E>
- java.lang.Object
-
- de.knightsoftnet.validators.shared.data.ValueWithPos<E>
-
- de.knightsoftnet.validators.shared.data.ValueWithPosAndCountry<E>
-
- Type Parameters:
E- Type of value
public class ValueWithPosAndCountry<E> extends de.knightsoftnet.validators.shared.data.ValueWithPos<E>bean with value, cursor position and default country.- Author:
- Manfred Tremmel
-
-
Constructor Summary
Constructors Constructor Description ValueWithPosAndCountry()default constructor.ValueWithPosAndCountry(E pvalue, int ppos)constructor initializing fields.ValueWithPosAndCountry(E pvalue, int ppos, String pcountry, String planguage)constructor initializing fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCountry()StringgetLanguage()inthashCode()voidsetCountry(String pcountry)voidsetLanguage(String planguage)
-
-
-
Constructor Detail
-
ValueWithPosAndCountry
public ValueWithPosAndCountry()
default constructor.
-
ValueWithPosAndCountry
public ValueWithPosAndCountry(E pvalue, int ppos)
constructor initializing fields.- Parameters:
pvalue- value entryppos- cursor position
-
-
Method Detail
-
getCountry
public final String getCountry()
-
setCountry
public final void setCountry(String pcountry)
-
getLanguage
public final String getLanguage()
-
setLanguage
public final void setLanguage(String planguage)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classde.knightsoftnet.validators.shared.data.ValueWithPos<E>
-
-