org.richfaces.cdk.model
Class BeanModelBase

java.lang.Object
  extended by org.richfaces.cdk.model.DescriptionGroupBase
      extended by org.richfaces.cdk.model.BeanModelBase
All Implemented Interfaces:
DescriptionGroup, Extensible<ConfigExtension>
Direct Known Subclasses:
ModelElementBase

public class BeanModelBase
extends DescriptionGroupBase

This is the base class for all Java Bean-like JSF objects in the model.

Since:
Jan 22, 2010
Author:
akolonitsky

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.DescriptionGroup
DescriptionGroup.Icon
 
Constructor Summary
BeanModelBase()
           
 
Method Summary
protected  PropertyBase createAttribute()
           
 PropertyBase getAttribute(java.lang.String name)
          

Return bean attribute for given name.

 ModelCollection<PropertyBase> getAttributes()
          

Represents JSF component attributes and properties.

 PropertyBase getOrCreateAttribute(java.lang.String attributeName)
           
 
Methods inherited from class org.richfaces.cdk.model.DescriptionGroupBase
getDescription, getDisplayname, getExtension, getIcon, isGenerate, setDescription, setDisplayname, setExtension, setGenerate, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanModelBase

public BeanModelBase()
Method Detail

getAttributes

public ModelCollection<PropertyBase> getAttributes()

Represents JSF component attributes and properties.

Returns:
the attributes

getAttribute

public PropertyBase getAttribute(java.lang.String name)

Return bean attribute for given name.

Parameters:
name -
Returns:

getOrCreateAttribute

public PropertyBase getOrCreateAttribute(java.lang.String attributeName)

createAttribute

protected PropertyBase createAttribute()


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.