|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ponderToolkit.compiler.codeGen.policyObjects.BasicPolicy
Function:Implements the BasicPolicyI interface.
| Fields inherited from interface ponderToolkit.compiler.codeGen.interfaces.BasicPolicyI |
AUTH_MINUS, AUTH_PLUS, DELEG_MINUS, DELEG_PLUS, OBLIG, REFRAIN |
| Constructor Summary | |
BasicPolicy(java.lang.String newName,
java.lang.String newDomainPath)
Constructor with only the name and domain-path of this BasicPolicy |
|
BasicPolicy(java.lang.String newName,
java.lang.String newDomainPath,
SubjectTargetI newSubject,
SubjectTargetI newTarget,
ConstraintI newConstraint)
Constructor with all the elements of this BasicPolicy |
|
| Method Summary | |
java.lang.Object |
getActualParamAt(int pos)
return the actual parameter at the given position |
ConstraintI |
getConstraint()
return the constraint of the policy |
java.lang.String |
getDomainPath()
return the domain-path of the policy |
java.lang.String |
getName()
return the name of the policy |
SubjectTargetI |
getSubject()
return the subject of the policy |
SubjectTargetI |
getTarget()
return the target of the policy |
abstract int |
getType()
return the type of the policy (an integer value) |
void |
setActualParams(java.util.LinkedList newActualParams)
set the list of actual parameters |
void |
setConstraint(Constraint newConstraint)
Set the Constraint of the policy |
void |
setSubject(SubjectTargetI newSubject)
Set the Subject of the policy |
void |
setTarget(SubjectTargetI newTarget)
Set the Target of the policy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicPolicy(java.lang.String newName,
java.lang.String newDomainPath,
SubjectTargetI newSubject,
SubjectTargetI newTarget,
ConstraintI newConstraint)
public BasicPolicy(java.lang.String newName,
java.lang.String newDomainPath)
| Method Detail |
public void setSubject(SubjectTargetI newSubject)
setSubject in interface BasicPolicyIpublic void setTarget(SubjectTargetI newTarget)
setTarget in interface BasicPolicyIpublic void setConstraint(Constraint newConstraint)
public java.lang.String getName()
getName in interface BasicPolicyIpublic java.lang.String getDomainPath()
getDomainPath in interface BasicPolicyIpublic SubjectTargetI getSubject()
getSubject in interface BasicPolicyIpublic SubjectTargetI getTarget()
getTarget in interface BasicPolicyIpublic ConstraintI getConstraint()
getConstraint in interface BasicPolicyIpublic abstract int getType()
getType in interface BasicPolicyIpublic void setActualParams(java.util.LinkedList newActualParams)
setActualParams in interface BasicPolicyInewActualParams - The new list of actual parameterspublic java.lang.Object getActualParamAt(int pos)
getActualParamAt in interface BasicPolicyIpos - The position within the list of actual parameters
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||