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
Class SectionValue

java.lang.Object
  extended by org.torweg.pulse.util.entity.AbstractBasicEntity
      extended by org.torweg.pulse.accesscontrol.attributes.AbstractValue<NilType>
          extended by org.torweg.pulse.accesscontrol.attributes.SectionValue
All Implemented Interfaces:
java.io.Serializable, JDOMable

@Entity
public final class SectionValue
extends AbstractValue<NilType>

The value for the SectionAttribute.

Version:
$Revision: 1378 $
Author:
Daniel Dietz
See Also:
Serialized Form

Constructor Summary
protected SectionValue()
          Deprecated. 
  SectionValue(SectionAttribute o)
          creates a SectionValue form a given NilType.
 
Method Summary
 org.jdom.Element deserializeToJDOM()
          TODO.
 AbstractAttribute<NilType> getAttribute()
          TODO.
 NilType getValue()
          TODO.
 void setAttribute(AbstractAttribute<NilType> a)
          TODO.
 void setValue(NilType v)
          TODO.
 java.lang.String toString()
          attributes must return a suitable String representation.
 void updateFromCommand(Command c)
          TODO.
 
Methods inherited from class org.torweg.pulse.accesscontrol.attributes.AbstractValue
getUser, setUser
 
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, wait, wait, wait
 

Constructor Detail

SectionValue

@Deprecated
protected SectionValue()
Deprecated. 

used by HibernateTM.


SectionValue

public SectionValue(SectionAttribute o)
creates a SectionValue form a given NilType.

Parameters:
o - the value
Method Detail

setAttribute

public void setAttribute(AbstractAttribute<NilType> a)
TODO.

Specified by:
setAttribute in class AbstractValue<NilType>
Parameters:
a - the SectionAttribute
See Also:
AbstractValue.setAttribute(org.torweg.pulse.accesscontrol.attributes.AbstractAttribute)

getAttribute

public AbstractAttribute<NilType> getAttribute()
TODO.

Specified by:
getAttribute in class AbstractValue<NilType>
Returns:
the attribute
See Also:
AbstractValue.getAttribute()

setValue

public void setValue(NilType v)
TODO.

Specified by:
setValue in class AbstractValue<NilType>
Parameters:
v - the value
See Also:
AbstractValue.setValue(Object)

getValue

public NilType getValue()
TODO.

Specified by:
getValue in class AbstractValue<NilType>
Returns:
the value
See Also:
AbstractValue.getValue()

updateFromCommand

public void updateFromCommand(Command c)
TODO.

Specified by:
updateFromCommand in class AbstractValue<NilType>
Parameters:
c - the Command
See Also:
AbstractValue.updateFromCommand(Command)

deserializeToJDOM

public org.jdom.Element deserializeToJDOM()
TODO.

Specified by:
deserializeToJDOM in interface JDOMable
Specified by:
deserializeToJDOM in class AbstractValue<NilType>
Returns:
a JDOM-representation of the SectionValue
See Also:
()

toString

public java.lang.String toString()
Description copied from class: AbstractValue
attributes must return a suitable String representation.

Specified by:
toString in class AbstractValue<NilType>
Returns:
a string representation of the value
See Also:
AbstractValue.toString()