|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ponderToolkit.compiler.codeGen.intermediateCode.BasicPolicyICode
Function:This class models a wrapper around a basic policy object generated by the semantic analyser. It provides an interface to get the fields of that policy object. This class thus acts as the interface between the semantic analyser and the code generator.
| Fields inherited from interface ponderToolkit.compiler.codeGen.interfaces.BasicPolicyI |
AUTH_MINUS, AUTH_PLUS, DELEG_MINUS, DELEG_PLUS, OBLIG, REFRAIN |
| Constructor Summary | |
BasicPolicyICode(BasicPolicy newPolicy)
Constructor |
|
| Method Summary | |
ConstraintI |
getConstraint()
getConstraint |
java.lang.String |
getDomainPath()
get the Domain Path |
java.util.LinkedList |
getFormalParams()
Set formal parameter list for this basic policy - if its a type |
boolean |
getIsType()
getIsType - Is this a type? |
java.lang.String |
getName()
getName |
java.lang.String |
getSourceText()
get the source text of this policy |
SubjectTargetI |
getSubject()
getSubject |
SubjectTargetI |
getTarget()
getTarget |
abstract int |
getType()
getType |
void |
setFormalParams(java.util.LinkedList newFormalParams)
Set formal parameter list for this basic policy - if its a type |
void |
setSubject(SubjectTargetI newSubject)
Does not do anything - just implementation of the interface |
void |
setTarget(SubjectTargetI newTarget)
Does not do anything - just implementation of the interface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ponderToolkit.compiler.codeGen.interfaces.BasicPolicyI |
getActualParamAt, setActualParams |
| Constructor Detail |
public BasicPolicyICode(BasicPolicy newPolicy)
| Method Detail |
public void setFormalParams(java.util.LinkedList newFormalParams)
public java.util.LinkedList getFormalParams()
public java.lang.String getName()
getName in interface BasicPolicyIpublic java.lang.String getDomainPath()
getDomainPath in interface BasicPolicyIpublic boolean getIsType()
public SubjectTargetI getSubject()
getSubject in interface BasicPolicyIpublic SubjectTargetI getTarget()
getTarget in interface BasicPolicyIpublic ConstraintI getConstraint()
getConstraint in interface BasicPolicyIpublic java.lang.String getSourceText()
public abstract int getType()
getType in interface BasicPolicyIpublic void setSubject(SubjectTargetI newSubject)
setSubject in interface BasicPolicyIpublic void setTarget(SubjectTargetI newTarget)
setTarget in interface BasicPolicyI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||