com.opensymphony.workflow.loader
Class PermissionDescriptor

java.lang.Object
  extended by com.opensymphony.workflow.loader.AbstractDescriptor
      extended by com.opensymphony.workflow.loader.PermissionDescriptor
All Implemented Interfaces:
XMLizable, Serializable

public class PermissionDescriptor
extends AbstractDescriptor

Author:
Pat Lightbody
See Also:
Serialized Form

Field Summary
protected  String name
           
protected  RestrictionDescriptor restriction
           
 
Fields inherited from interface com.opensymphony.workflow.util.XMLizable
INDENT
 
Method Summary
 String getName()
           
 RestrictionDescriptor getRestriction()
           
protected  void init(org.w3c.dom.Element permission)
           
 void setName(String name)
           
 void setRestriction(RestrictionDescriptor restriction)
           
 void writeXML(PrintWriter out, int indent)
           
 
Methods inherited from class com.opensymphony.workflow.loader.AbstractDescriptor
asXML, getEntityId, getId, getParent, hasId, setEntityId, setId, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

restriction

protected RestrictionDescriptor restriction

name

protected String name
Method Detail

setName

public void setName(String name)

getName

public String getName()

setRestriction

public void setRestriction(RestrictionDescriptor restriction)

getRestriction

public RestrictionDescriptor getRestriction()

writeXML

public void writeXML(PrintWriter out,
                     int indent)

init

protected void init(org.w3c.dom.Element permission)

OpenSymphony Workflow Project Page