kaos.core.util
Class PolicySetMsg
java.lang.Object
kaos.core.util.Msg
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
Constructor Summary |
PolicySetMsg()
Constructor |
PolicySetMsg(java.lang.String id,
java.lang.String name,
java.lang.String description)
Constructor |
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 |
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
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 setname
- name of the policy setdescription
- description of the policy set
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