org.richfaces.cdk.model
Class ModelElementBase

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

public class ModelElementBase
extends BeanModelBase
implements FacesComponent

Base class for the most JSF components taht have description attributes and support extensions in faces-config.

Author:
asmirnov@exadel.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.FacesComponent
FacesComponent.ComponentPredicate
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.DescriptionGroup
DescriptionGroup.Icon
 
Constructor Summary
ModelElementBase()
           
 
Method Summary
 ClassName getBaseClass()
          

 FacesId getId()
          

 java.util.Collection<ClassName> getInterfaces()
          

 ModelCollection<TagModel> getTags()
          

 ClassName getTargetClass()
          

 void setBaseClass(ClassName baseClass)
          

 void setId(FacesId id)
          

 void setTargetClass(ClassName targetClass)
          

 
Methods inherited from class org.richfaces.cdk.model.BeanModelBase
createAttribute, getAttribute, getAttributes, getOrCreateAttribute
 
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
 
Methods inherited from interface org.richfaces.cdk.model.FacesComponent
isGenerate, setGenerate
 

Constructor Detail

ModelElementBase

public ModelElementBase()
Method Detail

getTags

public ModelCollection<TagModel> getTags()

Returns:
the tags

getInterfaces

public java.util.Collection<ClassName> getInterfaces()

Returns:
the interfaces

getId

public FacesId getId()
Description copied from interface: FacesComponent

Specified by:
getId in interface FacesComponent
Returns:

setId

public void setId(FacesId id)
Description copied from interface: FacesComponent

Specified by:
setId in interface FacesComponent

setTargetClass

public void setTargetClass(ClassName targetClass)
Description copied from interface: FacesComponent

Specified by:
setTargetClass in interface FacesComponent
Parameters:
targetClass - the targetClass to set

getTargetClass

public ClassName getTargetClass()
Description copied from interface: FacesComponent

Specified by:
getTargetClass in interface FacesComponent
Returns:
the targetClass

setBaseClass

public void setBaseClass(ClassName baseClass)

Specified by:
setBaseClass in interface FacesComponent
Parameters:
baseClass - the baseClass to set

getBaseClass

public ClassName getBaseClass()
Description copied from interface: FacesComponent

Specified by:
getBaseClass in interface FacesComponent
Returns:
the baseClass


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