com.ail.insurance.policy
Class Coverage

java.lang.Object
  extended by com.ail.core.Type
      extended by 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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
Coverage()
           
Coverage(java.lang.String id, CurrencyAmount limit, CurrencyAmount deductible)
           
 
Method Summary
 CurrencyAmount getDeductible()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 CurrencyAmount getLimit()
           
 boolean isEnabled()
           
 boolean isOptional()
           
 void setDeductible(CurrencyAmount deductible)
           
 void setDescription(java.lang.String description)
           
 void setEnabled(boolean enabled)
           
 void setId(java.lang.String id)
           
 void setLimit(CurrencyAmount limit)
           
 void setOptional(boolean optional)
           
 
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
 

Constructor Detail

Coverage

public Coverage()

Coverage

public Coverage(java.lang.String id,
                CurrencyAmount limit,
                CurrencyAmount deductible)
Method Detail

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)