com.ail.insurance.policy
Class Wording

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.insurance.policy.Wording
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Wording
extends Type

Represents an individual wording either by id or by text.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
Wording()
           
 
Method Summary
 java.lang.String getId()
          Getter returning the value of the id property.
 java.lang.String getIdCDATA()
          Getter returning the value of the id property wrapped in CDATA tags.
 java.lang.String getWordingText()
          Getter returning the value of the wordingText property.
 java.lang.String getWordingTextCDATA()
          Getter returning the value of the wordingText property wrapped in CDATA tags.
 void setId(java.lang.String id)
          Setter to update the value of the id property.
 void setWordingText(java.lang.String wordingText)
          Setter to update the value of the wordingText property.
 
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

Wording

public Wording()
Method Detail

getId

public java.lang.String getId()
Getter returning the value of the id property. The ID of the wording. This identifies the type of wording being used, and is used by other services to generate the correct text for the wording.

Returns:
Value of the id property

setId

public void setId(java.lang.String id)
Setter to update the value of the id property. The ID of the wording. This identifies the type of wording being used, and is used by other services to generate the correct text for the wording.

Parameters:
id - New value for the id property

getIdCDATA

public java.lang.String getIdCDATA()
Getter returning the value of the id property wrapped in CDATA tags. The ID of the wording. This identifies the type of wording being used, and is used by other services to generate the correct text for the wording.

Returns:
Value of the id property

getWordingText

public java.lang.String getWordingText()
Getter returning the value of the wordingText property. The text of the wording. This may be null if the wording text has not been generated.

Returns:
Value of the wordingText property

setWordingText

public void setWordingText(java.lang.String wordingText)
Setter to update the value of the wordingText property. The text of the wording. This may be null if the wording text has not been generated.

Parameters:
wordingText - New value for the wordingText property

getWordingTextCDATA

public java.lang.String getWordingTextCDATA()
Getter returning the value of the wordingText property wrapped in CDATA tags. The text of the wording. This may be null if the wording text has not been generated.

Returns:
Value of the wordingText property