Class IncomeLevel
- java.lang.Object
 - 
- com.hack23.cia.model.external.worldbank.countries.impl.IncomeLevel
 
 
- 
- All Implemented Interfaces:
 com.hack23.cia.model.common.api.ModelObject,java.io.Serializable
@Embeddable public class IncomeLevel extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObjectThe Class IncomeLevel.- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringidThe id.protected IncomeLevelCategoryvalueThe value. 
- 
Constructor Summary
Constructors Constructor Description IncomeLevel() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)java.lang.StringgetId()Gets the id.IncomeLevelCategorygetValue()Gets the value.inthashCode()voidsetId(java.lang.String value)Sets the id.voidsetValue(IncomeLevelCategory value)Sets the value.java.lang.StringtoString()IncomeLevelwithId(java.lang.String value)With id.IncomeLevelwithValue(IncomeLevelCategory value)With value. 
 - 
 
- 
- 
Field Detail
- 
value
protected IncomeLevelCategory value
The value. 
- 
id
protected java.lang.String id
The id. 
 - 
 
- 
Method Detail
- 
getValue
public IncomeLevelCategory getValue()
Gets the value.- Returns:
 - the value
 
 
- 
setValue
public void setValue(IncomeLevelCategory value)
Sets the value.- Parameters:
 value- the new value
 
- 
getId
public java.lang.String getId()
Gets the id.- Returns:
 - the id
 
 
- 
setId
public void setId(java.lang.String value)
Sets the id.- Parameters:
 value- the new id
 
- 
withValue
public IncomeLevel withValue(IncomeLevelCategory value)
With value.- Parameters:
 value- the value- Returns:
 - the income level
 
 
- 
withId
public IncomeLevel withId(java.lang.String value)
With id.- Parameters:
 value- the value- Returns:
 - the income level
 
 
- 
hashCode
public final int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
toString
public final java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object object)
- Overrides:
 equalsin classjava.lang.Object
 
 - 
 
 -