kaos.core.util
Class SubjectMsg

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

public class SubjectMsg
extends Msg
implements java.lang.Cloneable

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

See Also:
Serialized Form

Field Summary
static java.lang.String COMPLEMENT
           
static java.lang.String ID
           
static java.lang.String NAME
           
static java.lang.String SCOPE
           
static java.lang.String SUBJECT_MSG_TYPE
           
 
Constructor Summary
SubjectMsg(java.lang.String id, java.lang.String name, java.lang.String scope)
          Constructor
 
Method Summary
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.String getScope()
           
 boolean isComplement()
           
 void setComplement(boolean complement)
           
 
Methods inherited from class kaos.core.util.Msg
addSubMsg, addSubMsg, addSymbol, addSymbol, addSymbol, addSymbol, addSymbol, addSymbol, clone, 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

SUBJECT_MSG_TYPE

public static final java.lang.String SUBJECT_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

SCOPE

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

COMPLEMENT

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

SubjectMsg

public SubjectMsg(java.lang.String id,
                  java.lang.String name,
                  java.lang.String scope)
Constructor

Parameters:
id - id of the subject
name - name of the subject
scope - scope of the subject (domain, host, agent, etc.)
Method Detail

getId

public java.lang.String getId()

getName

public java.lang.String getName()

getScope

public java.lang.String getScope()

setComplement

public void setComplement(boolean complement)

isComplement

public boolean isComplement()