ponderEnforcement.policyService
Class CompositePolicyInst

java.lang.Object
  |
  +--ponderEnforcement.policyService.CompositePolicyEntry
        |
        +--ponderEnforcement.policyService.CompositePolicyInst
All Implemented Interfaces:
java.io.Serializable

public class CompositePolicyInst
extends CompositePolicyEntry
implements java.io.Serializable

Function:This is class models a CompositePolicyInst. Doesn't do anything for now

See Also:
Serialized Form

Fields inherited from class ponderEnforcement.policyService.CompositePolicyEntry
name
 
Constructor Summary
CompositePolicyInst(java.lang.String newName, java.lang.String newDomain, int newType, java.lang.String newTypeName, java.lang.String newTypePath, SubjectTargetI newSubjectDomain)
          Constructor
CompositePolicyInst(java.lang.String newName, java.lang.String newDomain, int newType, SubjectTargetI newSubjectDomain)
          Constructor for an unnamed type
 
Method Summary
 boolean getIsType()
          Returns false.
 SubjectTargetI getSubjectDomain()
          return the subject domain.
 java.lang.String getTypeName()
          return the name of the type from which this policy is to be instantiated.
 java.lang.String getTypePath()
          return the domain path of the type from which this policy is to be instantiated
 
Methods inherited from class ponderEnforcement.policyService.CompositePolicyEntry
getDomain, getName, getSourceText, getType, setDomain, setSourceText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositePolicyInst

public CompositePolicyInst(java.lang.String newName,
                           java.lang.String newDomain,
                           int newType,
                           SubjectTargetI newSubjectDomain)
Constructor for an unnamed type

CompositePolicyInst

public CompositePolicyInst(java.lang.String newName,
                           java.lang.String newDomain,
                           int newType,
                           java.lang.String newTypeName,
                           java.lang.String newTypePath,
                           SubjectTargetI newSubjectDomain)
Constructor
Method Detail

getTypeName

public java.lang.String getTypeName()
return the name of the type from which this policy is to be instantiated. If this is an instance created from an unnamed type returns ""

getTypePath

public java.lang.String getTypePath()
return the domain path of the type from which this policy is to be instantiated

getIsType

public boolean getIsType()
Returns false. This is not a type
Overrides:
getIsType in class CompositePolicyEntry
Returns:
false

getSubjectDomain

public SubjectTargetI getSubjectDomain()
return the subject domain. Used only for Roles