|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Type
com.ail.insurance.policy.Reference
public class Reference
Points to another part/element of a policy.
| Field Summary |
|---|
| Fields inherited from class com.ail.core.Type |
|---|
jXPathContext, NOT_PERSISTED |
| Constructor Summary | |
|---|---|
Reference()
Default constructor |
|
Reference(ReferenceType type,
java.lang.String id)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
|
ReferenceType |
getType()
Get the value of the type property. |
java.lang.String |
getTypeAsString()
Get the current value of the type property as a String. |
void |
setId(java.lang.String id)
|
void |
setType(ReferenceType type)
Set the type property. |
void |
setTypeAsString(java.lang.String type)
Set the type property from a String. |
| 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 |
|---|
public Reference()
public Reference(ReferenceType type,
java.lang.String id)
type - The type of the object being referencedid - The Id of the object being referenced| Method Detail |
|---|
public void setType(ReferenceType type)
type - New value for type property.public void setTypeAsString(java.lang.String type)
type - New value for type property.
java.lang.IndexOutOfBoundsException - If type is not a valid string representation of ReferenceType.ReferenceType.forName(java.lang.String),
setType(com.ail.insurance.policy.ReferenceType)public ReferenceType getType()
public java.lang.String getTypeAsString()
getType()public java.lang.String getId()
public void setId(java.lang.String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||