org.jboss.portal.faces.el.dynamic
Interface DynamicProperty

All Known Implementing Classes:
AbstractDynamicProperty

public interface DynamicProperty

Version:
$Revision: 8784 $
Author:
Julien Viet

Method Summary
 java.lang.Class getType()
          Return the type of the specified property.
 java.lang.Object getValue()
          Return the value of the specified property.
 boolean setValue(java.lang.Object value)
          Set the value of the specified property.
 

Method Detail

getType

java.lang.Class getType()
                        throws java.lang.IllegalArgumentException
Return the type of the specified property.

Returns:
the type of the specified property or null
Throws:
java.lang.IllegalArgumentException - if the property name is null

getValue

java.lang.Object getValue()
                          throws java.lang.IllegalArgumentException
Return the value of the specified property.

Returns:
the property value
Throws:
java.lang.IllegalArgumentException - if the property is null

setValue

boolean setValue(java.lang.Object value)
                 throws java.lang.IllegalArgumentException
Set the value of the specified property.

Parameters:
value - the new property value
Throws:
java.lang.IllegalArgumentException - if the property name is null