kaos.policy.information
Class PolicyInformationManager

java.lang.Object
  extended by kaos.policy.information.PolicyInformationManager

public class PolicyInformationManager
extends java.lang.Object


Constructor Summary
PolicyInformationManager()
           
 
Method Summary
static java.util.Set getInstancesOf(java.lang.String className)
           
static java.util.Vector getSchema(java.lang.String className)
           
static java.util.Set getSubClassesOf(java.lang.String className)
           
static java.util.Set getSubPropertiesOf(java.lang.String propName)
           
static java.util.Set getSuperPropertiesOf(java.lang.String propName)
           
static BasicActionDescription readFromClassModel(KAoSClassBuilderImpl model)
           
static void readFromClassModel(KAoSClassBuilderImpl model, BasicActionDescription bad)
           
static PolicyInformation readPolicyFromBuilder(KAoSPolicyBuilderImpl dpb)
           
static void refreshAllEntities(BasicActionDescription pi)
          This function refreshes all the properties of the given PolicyInformation object.
static void refreshEntity(java.lang.String name, BasicActionDescription pi)
          This function contacts the directory service and asks it for the instances of the given property.
static void setDirectorRef(KAoSDirectoryService ds)
           
static void setDirProxy(KAoSAgentDirectoryServiceProxy dcomm)
           
static void setOntologyConnection(OntologyInterfaces ont)
           
static void setTunnelClient(TunnelClient tc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyInformationManager

public PolicyInformationManager()
Method Detail

setDirectorRef

public static void setDirectorRef(KAoSDirectoryService ds)

setDirProxy

public static void setDirProxy(KAoSAgentDirectoryServiceProxy dcomm)

setTunnelClient

public static void setTunnelClient(TunnelClient tc)

setOntologyConnection

public static void setOntologyConnection(OntologyInterfaces ont)

getInstancesOf

public static java.util.Set getInstancesOf(java.lang.String className)

getSubPropertiesOf

public static java.util.Set getSubPropertiesOf(java.lang.String propName)

getSuperPropertiesOf

public static java.util.Set getSuperPropertiesOf(java.lang.String propName)

getSubClassesOf

public static java.util.Set getSubClassesOf(java.lang.String className)

getSchema

public static java.util.Vector getSchema(java.lang.String className)

readFromClassModel

public static BasicActionDescription readFromClassModel(KAoSClassBuilderImpl model)

readFromClassModel

public static void readFromClassModel(KAoSClassBuilderImpl model,
                                      BasicActionDescription bad)

readPolicyFromBuilder

public static PolicyInformation readPolicyFromBuilder(KAoSPolicyBuilderImpl dpb)

refreshEntity

public static void refreshEntity(java.lang.String name,
                                 BasicActionDescription pi)
This function contacts the directory service and asks it for the instances of the given property. It then adds those instance into the given PolicyInformation object.


refreshAllEntities

public static void refreshAllEntities(BasicActionDescription pi)
This function refreshes all the properties of the given PolicyInformation object.