|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ponderToolkit.compiler.codeGen.policyObjects.SubjectTarget
Function: Models a Subject/Target for a Basic policy
| Constructor Summary | |
SubjectTarget()
Constructs a new SubjectTarget. |
|
SubjectTarget(boolean newIsSubject)
Constructs a new SubjectTarget and indicates whether it is used to represent a Subject or not (i.e. |
|
SubjectTarget(DomainScopeExprI newDse,
boolean newIsSubject)
Constructs a new SubjectTarget and indicates whether it is used to represent a Subject or not (i.e. |
|
| Method Summary | |
java.lang.String |
getAnalysisCode()
return the Prolog code required by the analysis system |
DomainScopeExprI |
getDomainScopeExpression()
return the domain-scope-expression object of this subject/target |
java.lang.String |
getString()
Return a String representation of the SubjectTarget |
java.lang.String |
getType()
return the name type of the subject/target - null if it is not specified |
boolean |
isSubject()
Return True if this represents a Subject, false if it represents a Target |
void |
setDse(DomainScopeExprI newDse)
Set the DomainScopeExpression for this Subject/Target |
void |
setIsSubject(boolean newIsSubject)
Specify whether this represents a Subject or a Target. |
void |
setType(java.lang.String newType)
Set the Type of this Subject/Target |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SubjectTarget(DomainScopeExprI newDse,
boolean newIsSubject)
public SubjectTarget(boolean newIsSubject)
public SubjectTarget()
| Method Detail |
public void setDse(DomainScopeExprI newDse)
public void setType(java.lang.String newType)
public java.lang.String getType()
getType in interface SubjectTargetIpublic DomainScopeExprI getDomainScopeExpression()
getDomainScopeExpression in interface SubjectTargetIpublic boolean isSubject()
isSubject in interface SubjectTargetIpublic void setIsSubject(boolean newIsSubject)
public java.lang.String getString()
getString in interface SubjectTargetIpublic java.lang.String getAnalysisCode()
SubjectTargetIgetAnalysisCode in interface SubjectTargetI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||