kaos.core.service.directory.persistence
Class DirectoryServiceState

java.lang.Object
  extended by kaos.policy.management.PolicyState
      extended by kaos.core.service.directory.persistence.DirectoryServiceState
All Implemented Interfaces:
java.io.Serializable, StateObject

public class DirectoryServiceState
extends PolicyState

See Also:
Serialized Form

Field Summary
 
Fields inherited from class kaos.policy.management.PolicyState
_policies
 
Constructor Summary
DirectoryServiceState()
          Creates a new instance of DirectoryServiceState
DirectoryServiceState(java.util.List policies, java.util.List agentDescriptions, java.util.List declaredInstances, java.util.List ontModels, java.util.List conditionalPolicies)
           
 
Method Summary
 void addAgentDescription(AgentDescription desc)
           
 void addDeclaredInstance(DeclaredInstance instance)
           
 void addLoadedOntology(LoadedOntology ontology)
           
 java.util.List getAgentDescriptions()
           
 java.util.List getConditionalPolicies()
           
 java.util.List getDeclaredInstances()
           
 java.util.List getLoadedOntologies()
           
 void modifyAgentDescription(AgentDescription desc)
           
 void removeAgentDescription(AgentDescription desc)
           
 void setAgentDescriptions(java.util.List agentDescs)
           
 void setConditionalPolicies(java.util.List conditionalPolicies)
           
 void setDeclaredInstances(java.util.List instances)
           
 void setLoadedOntologies(java.util.List loadedOntologies)
           
 
Methods inherited from class kaos.policy.management.PolicyState
addPolicies, changePolicies, getPolicies, removePolicies, setPolicies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryServiceState

public DirectoryServiceState()
Creates a new instance of DirectoryServiceState


DirectoryServiceState

public DirectoryServiceState(java.util.List policies,
                             java.util.List agentDescriptions,
                             java.util.List declaredInstances,
                             java.util.List ontModels,
                             java.util.List conditionalPolicies)
Method Detail

getAgentDescriptions

public java.util.List getAgentDescriptions()

setAgentDescriptions

public void setAgentDescriptions(java.util.List agentDescs)

addAgentDescription

public void addAgentDescription(AgentDescription desc)

modifyAgentDescription

public void modifyAgentDescription(AgentDescription desc)

removeAgentDescription

public void removeAgentDescription(AgentDescription desc)

getDeclaredInstances

public java.util.List getDeclaredInstances()

addDeclaredInstance

public void addDeclaredInstance(DeclaredInstance instance)

setDeclaredInstances

public void setDeclaredInstances(java.util.List instances)

addLoadedOntology

public void addLoadedOntology(LoadedOntology ontology)

getLoadedOntologies

public java.util.List getLoadedOntologies()

setLoadedOntologies

public void setLoadedOntologies(java.util.List loadedOntologies)

getConditionalPolicies

public java.util.List getConditionalPolicies()

setConditionalPolicies

public void setConditionalPolicies(java.util.List conditionalPolicies)