org.richfaces.cdk.model
Class TagModel

java.lang.Object
  extended by org.richfaces.cdk.model.TagModel
All Implemented Interfaces:
java.io.Serializable, Mergeable<TagModel>, ModelElement<TagModel>, Named, Visitable

public class TagModel
extends java.lang.Object
implements Named, ModelElement<TagModel>

That bean represents VDL tag

Author:
asmirnov@exadel.com
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.Named
Named.NamePredicate
 
Constructor Summary
TagModel()
           
 
Method Summary
<R,D> R
accept(Visitor<R,D> visitor, D data)
           
 ClassName getBaseClass()
          

 java.lang.String getName()
          

 ClassName getTargetClass()
          

 org.richfaces.cdk.annotations.TagType getType()
          

 boolean isGenerate()
          

 void merge(TagModel other)
          

Merge values from other object.

 boolean same(TagModel other)
          

Compare object with other.

 void setBaseClass(ClassName baseClass)
          

 void setGenerate(boolean generate)
          

 void setName(java.lang.String name)
          

 void setTargetClass(ClassName targetClass)
          

 void setType(org.richfaces.cdk.annotations.TagType type)
          

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagModel

public TagModel()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Named

// TODO - change to class corresponding with Java identifier type from faces-config.xsd

Specified by:
getName in interface Named
Returns:
the name

setName

public void setName(java.lang.String name)

Specified by:
setName in interface Named
Parameters:
name - the name to set

getType

public org.richfaces.cdk.annotations.TagType getType()

Returns:
the type

setType

public void setType(org.richfaces.cdk.annotations.TagType type)

Parameters:
type - the type to set

getTargetClass

public ClassName getTargetClass()

Returns:
the targetClass

setTargetClass

public void setTargetClass(ClassName targetClass)

Parameters:
targetClass - the targetClass to set

getBaseClass

public ClassName getBaseClass()

Returns:
the baseClass

setBaseClass

public void setBaseClass(ClassName baseClass)

Parameters:
baseClass - the baseClass to set

isGenerate

public boolean isGenerate()

Returns:
the generate

setGenerate

public void setGenerate(boolean generate)

Parameters:
generate - the generate to set

merge

public void merge(TagModel other)
Description copied from interface: Mergeable

Merge values from other object.

Specified by:
merge in interface Mergeable<TagModel>

same

public boolean same(TagModel other)
Description copied from interface: Mergeable

Compare object with other. For example, JSF component with same type or class is the same component.

Specified by:
same in interface Mergeable<TagModel>
Returns:

accept

public <R,D> R accept(Visitor<R,D> visitor,
                      D data)
Specified by:
accept in interface Visitable


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