|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectissrg.pba.SimpleObligation
public class SimpleObligation
This class implements the Obligation Interface, and provides a way to construct Obligation Object based on a PolicyXMLNode. For details of the PolicyXMLNode, please refer to the PolicyXMLNode.java and its documents.
| Field Summary |
|---|
| Fields inherited from interface issrg.pba.Obligation |
|---|
AFTER, BEFORE |
| Constructor Summary | |
|---|---|
SimpleObligation()
Create a new instance of SimpleObligation that contains no obligations. |
|
SimpleObligation(PolicyXMLNode ObligationNode)
Construct a SimpleObligation object based on XMLPolicyNode (the ObligationNode parameter). |
|
| Method Summary | |
|---|---|
java.lang.String |
getChronicle()
Retrieve the Chronicle attribute's value |
java.lang.String |
getObligationID()
getObligationID is a function inherited from the Obligation Interface. |
java.lang.String |
toString()
Convert the instance to a string representation. |
java.lang.String |
toXML()
Convert the object to XML representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleObligation()
public SimpleObligation(PolicyXMLNode ObligationNode)
ObligationNode - The XMLNode that is used to construct the SimpleObligation object.
This function only remembers the ObligationNode, and does not produce a copy of the node. Thus
all future changes to the ObligatonNode will be reflected in the corresponding SimpleObligation
instances.| Method Detail |
|---|
public java.lang.String getObligationID()
getObligationID in interface Obligationpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toXML()
toXML in interface Obligationpublic java.lang.String getChronicle()
getChronicle in interface Obligation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||