pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.accesscontrol.attributes.types
Class Selection

java.lang.Object
  extended by org.torweg.pulse.util.entity.AbstractBasicEntity
      extended by org.torweg.pulse.accesscontrol.attributes.types.Selection
All Implemented Interfaces:
java.io.Serializable, JDOMable

@Entity
public class Selection
extends AbstractBasicEntity
implements JDOMable

Version:
$Revision: 1483 $
Author:
Thomas Weber, Daniel Dietz
See Also:
Serialized Form

Constructor Summary
Selection()
           
 
Method Summary
 org.jdom.Element deserializeToJDOM()
          returns a JDOM representation of the selection.
 java.util.Set<Option> getOptions()
          returns the selected options.
 void setOptions(java.util.Set<Option> o)
          sets the selected options.
 
Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Selection

public Selection()
Method Detail

getOptions

public final java.util.Set<Option> getOptions()
returns the selected options.

Returns:
the selected options

setOptions

public final void setOptions(java.util.Set<Option> o)
sets the selected options.

Parameters:
o - the selected options to set

deserializeToJDOM

public org.jdom.Element deserializeToJDOM()
returns a JDOM representation of the selection.

Specified by:
deserializeToJDOM in interface JDOMable
Returns:
a JDOM representation of the selection