Class CountryImpl
java.lang.Object
com.labs64.netlicensing.util.Visitable
com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
com.labs64.netlicensing.domain.entity.impl.CountryImpl
- All Implemented Interfaces:
BaseEntity
,Country
,Serializable
Default implementation of
Country
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasMap()
getCode()
boolean
getIsEu()
getName()
void
void
setIsEu
(boolean isEu) void
void
setVatPercent
(BigDecimal vatPercent) toString()
Methods inherited from class com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
addProperty, getActive, getNumber, getProperties, getReservedProps, removeProperty, setActive, setNumber, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.labs64.netlicensing.domain.entity.BaseEntity
addProperty, getActive, getNumber, getProperties, removeProperty, setActive, setNumber
-
Constructor Details
-
CountryImpl
public CountryImpl()
-
-
Method Details
-
getCode
-
setCode
-
getName
-
setName
-
setVatPercent
- Specified by:
setVatPercent
in interfaceCountry
-
getVatPercent
- Specified by:
getVatPercent
in interfaceCountry
-
setIsEu
public void setIsEu(boolean isEu) -
getIsEu
public boolean getIsEu() -
asMap
- Specified by:
asMap
in interfaceBaseEntity
- Overrides:
asMap
in classBaseEntityImpl
-
toString
- Overrides:
toString
in classBaseEntityImpl
-