com.ail.insurance.policy
Class Coverage
java.lang.Object
com.ail.core.Type
com.ail.insurance.policy.Coverage
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Coverage
- extends Type
Coverages define or constrain the types of cover offered by a Section. Typically, a section will contain a collection
of coverages. Coverages may exist within a section but not be in effect ('enabled' indicator). They may also be
optional - selected at the policy holders descretion ('optional' flag).
- Version:
- $Revision: 1.2 $
- See Also:
- Serialized Form
| Methods inherited from class com.ail.core.Type |
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Coverage
public Coverage()
Coverage
public Coverage(java.lang.String id,
CurrencyAmount limit,
CurrencyAmount deductible)
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getDeductible
public CurrencyAmount getDeductible()
setDeductible
public void setDeductible(CurrencyAmount deductible)
getLimit
public CurrencyAmount getLimit()
setLimit
public void setLimit(CurrencyAmount limit)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
isOptional
public boolean isOptional()
setOptional
public void setOptional(boolean optional)