org.jboss.portal.faces.el.dynamic
Class AbstractDynamicProperty

java.lang.Object
  extended by org.jboss.portal.faces.el.dynamic.AbstractDynamicProperty
All Implemented Interfaces:
DynamicProperty

public abstract class AbstractDynamicProperty
extends java.lang.Object
implements DynamicProperty

Version:
$Revision: 8784 $
Author:
Julien Viet

Constructor Summary
AbstractDynamicProperty(java.lang.Class type)
           
 
Method Summary
 java.lang.Class getType()
          Return the type of the specified property.
 boolean setValue(java.lang.Object value)
          Set the value of the specified property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.portal.faces.el.dynamic.DynamicProperty
getValue
 

Constructor Detail

AbstractDynamicProperty

public AbstractDynamicProperty(java.lang.Class type)
Method Detail

getType

public final java.lang.Class getType()
                              throws java.lang.IllegalArgumentException
Description copied from interface: DynamicProperty
Return the type of the specified property.

Specified by:
getType in interface DynamicProperty
Returns:
the type of the specified property or null
Throws:
java.lang.IllegalArgumentException - if the property name is null

setValue

public boolean setValue(java.lang.Object value)
                 throws java.lang.IllegalArgumentException
Description copied from interface: DynamicProperty
Set the value of the specified property.

Specified by:
setValue in interface DynamicProperty
Parameters:
value - the new property value
Throws:
java.lang.IllegalArgumentException - if the property name is null