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.component.core.accesscontrol.attributes.admin
Class AttributeRegistryEditorResult

java.lang.Object
  extended by org.torweg.pulse.util.adminui.RegistryEditorResult
      extended by org.torweg.pulse.component.core.accesscontrol.attributes.admin.AttributeRegistryEditorResult
All Implemented Interfaces:
JDOMable, Result

public class AttributeRegistryEditorResult
extends RegistryEditorResult

the result of the AttributeRegistryEditor.

Version:
$Revision: 1809 $
Author:
Daniel Dietz

Constructor Summary
AttributeRegistryEditorResult()
           
 
Method Summary
 org.jdom.Element deserializeToJDOM()
          returns the Result of a RegistryEditor as an Element.
 void setAttribute(AbstractAttribute<?> attr)
          sets the attribute for the result.
 void setAttributeCheck(AbstractTypedCheck<?> chk)
          set a attribute-check for the result.
 void setAvailableChecks(java.util.Set<java.lang.Class<AbstractTypedCheck<?>>> typedChecks)
          sets the available checks for the current attribute.
 
Methods inherited from class org.torweg.pulse.util.adminui.RegistryEditorResult
setCreateURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeRegistryEditorResult

public AttributeRegistryEditorResult()
Method Detail

deserializeToJDOM

public org.jdom.Element deserializeToJDOM()
Description copied from class: RegistryEditorResult
returns the Result of a RegistryEditor as an Element.

Specified by:
deserializeToJDOM in interface JDOMable
Overrides:
deserializeToJDOM in class RegistryEditorResult
Returns:
the result of the AttributeRegistryEditor
See Also:
JDOMable.deserializeToJDOM()

setAttribute

public void setAttribute(AbstractAttribute<?> attr)
sets the attribute for the result.

Parameters:
attr - the attribute to set

setAvailableChecks

public void setAvailableChecks(java.util.Set<java.lang.Class<AbstractTypedCheck<?>>> typedChecks)
sets the available checks for the current attribute.

Parameters:
typedChecks - the checks to set

setAttributeCheck

public void setAttributeCheck(AbstractTypedCheck<?> chk)
set a attribute-check for the result.

Parameters:
chk - the check to set