ponderEnforcement.policyService
Class CompositePolicyEntry
java.lang.Object
|
+--ponderEnforcement.policyService.CompositePolicyEntry
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CompositePolicyInst, CompositePolicyType
- public abstract class CompositePolicyEntry
- extends java.lang.Object
- implements java.io.Serializable
Function: Models a composite policy entry object. This object holds all
of the elements required to be stored in the directory: the
source text of the policy and the XML code for the policy.
This is an abstract class.
- See Also:
- Serialized Form
|
Field Summary |
protected java.lang.String |
name
Fields |
|
Constructor Summary |
CompositePolicyEntry(java.lang.String newName,
java.lang.String newDomain,
int newType)
Constructor |
|
Method Summary |
java.lang.String |
getDomain()
Returns the policy domain path |
abstract boolean |
getIsType()
Returns true/false depending on whether this is a type or not
To be overriden |
java.lang.String |
getName()
|
java.lang.String |
getSourceText()
Returns the source text |
int |
getType()
|
void |
setDomain(java.lang.String newDomain)
Sets the domain path of the composite policy |
void |
setSourceText(java.lang.String newSourceText)
Set the Source Code of the policy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
- Fields
CompositePolicyEntry
public CompositePolicyEntry(java.lang.String newName,
java.lang.String newDomain,
int newType)
- Constructor
setSourceText
public void setSourceText(java.lang.String newSourceText)
- Set the Source Code of the policy
getName
public java.lang.String getName()
- Returns:
- the name of the composite policy
getType
public int getType()
- Returns:
- the type of the composite policy (an integer value from
CompositePolicyI
getDomain
public java.lang.String getDomain()
- Returns the policy domain path
setDomain
public void setDomain(java.lang.String newDomain)
- Sets the domain path of the composite policy
getSourceText
public java.lang.String getSourceText()
- Returns the source text
getIsType
public abstract boolean getIsType()
- Returns true/false depending on whether this is a type or not
To be overriden