RichFaces CDK Generator 4.2.0.CR1

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, GeneratedFacesComponent, ViewElement
Direct Known Subclasses:
BehaviorModel, ComponentModel, ConverterModel, RendererModel, ValidatorModel

public class ModelElementBase
extends BeanModelBase
implements GeneratedFacesComponent, ViewElement

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()
          

 Boolean getGenerate()
          

 FacesId getId()
          

 Collection<ClassName> getInterfaces()
          

 ModelCollection<TagModel> getTags()
          

 ClassName getTargetClass()
          

 void setBaseClass(ClassName baseClass)
          

 void setGenerate(Boolean generate)
          

 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, setDescription, setDisplayName, setExtension, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelElementBase

public ModelElementBase()
Method Detail

getTags

public ModelCollection<TagModel> getTags()
Description copied from interface: ViewElement

Specified by:
getTags in interface ViewElement
Returns:
the tags

getInterfaces

public 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 GeneratedFacesComponent
Parameters:
baseClass - the baseClass to set

getBaseClass

public ClassName getBaseClass()
Description copied from interface: GeneratedFacesComponent

Specified by:
getBaseClass in interface GeneratedFacesComponent
Returns:
the baseClass

getGenerate

public Boolean getGenerate()
Description copied from interface: GeneratedFacesComponent

Specified by:
getGenerate in interface GeneratedFacesComponent
Returns:

setGenerate

public void setGenerate(Boolean generate)
Description copied from interface: GeneratedFacesComponent

Specified by:
setGenerate in interface GeneratedFacesComponent

RichFaces CDK Generator 4.2.0.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.