kaos.core.util
Class PolicySetMsg

java.lang.Object
  extended by kaos.core.util.Msg
      extended by kaos.core.util.PolicySetMsg
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.xml.sax.ErrorHandler

public class PolicySetMsg
extends Msg
implements java.lang.Cloneable

Convenience class for constructing and accessing fields of a Msg representation of a policy set. $Revision: 1.2 $

See Also:
Serialized Form

Field Summary
static java.lang.String DESCRIPTION
           
static java.lang.String ID
           
static java.lang.String NAME
           
static java.lang.String POLICIES_IDS
           
static java.lang.String POLICY_MSG_TYPE
           
 
Constructor Summary
PolicySetMsg()
          Constructor
PolicySetMsg(java.lang.String id, java.lang.String name, java.lang.String description)
          Constructor
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.util.Vector getPoliciesIDs()
           
 void setPoliciesIDs(java.util.Vector ids)
           
 
Methods inherited from class kaos.core.util.Msg
addSubMsg, addSubMsg, addSymbol, addSymbol, addSymbol, addSymbol, addSymbol, addSymbol, createFromFile, error, fatalError, getElementsNamed, getFirstChildSkip, getNamedString, getNamedString, getNamedVector, getNextSkip, getNodeAttributes, getParentSkip, getPreviousSkip, getRootNode, getSubMsg, getSubMsg, getSymbol, getSymbol, getVerbosity, main, removeSymbol, setLogger, setVerbosity, showMsgInfo, showMsgInfo, toString, traverseDOMBranch, traverseRoot, warning
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POLICY_MSG_TYPE

public static final java.lang.String POLICY_MSG_TYPE
See Also:
Constant Field Values

ID

public static final java.lang.String ID
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

DESCRIPTION

public static final java.lang.String DESCRIPTION
See Also:
Constant Field Values

POLICIES_IDS

public static final java.lang.String POLICIES_IDS
See Also:
Constant Field Values
Constructor Detail

PolicySetMsg

public PolicySetMsg()
Constructor


PolicySetMsg

public PolicySetMsg(java.lang.String id,
                    java.lang.String name,
                    java.lang.String description)
Constructor

Parameters:
id - unique identifier for the policy set
name - name of the policy set
description - description of the policy set
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class Msg

setPoliciesIDs

public void setPoliciesIDs(java.util.Vector ids)
Parameters:
ids - The Vector of ids of policies belonging to this set.

getId

public java.lang.String getId()

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()

getPoliciesIDs

public java.util.Vector getPoliciesIDs()
Returns:
Vector of Strings representing ids of the policies belonging to this policy set