RichFaces CDK Generator 4.2.0.CR1

org.richfaces.cdk.model
Class PropertyBase

java.lang.Object
  extended by org.richfaces.cdk.model.DescriptionGroupBase
      extended by org.richfaces.cdk.model.PropertyBase
All Implemented Interfaces:
Serializable, DescriptionGroup, Extensible<ConfigExtension>, Mergeable<PropertyBase>, ModelElement<PropertyBase>, Named, Visitable
Direct Known Subclasses:
AttributeModel, PropertyModel

public abstract class PropertyBase
extends DescriptionGroupBase
implements ModelElement<PropertyBase>, Named

Since:
Mar 19, 2010
Author:
akolonitsky
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.Named
Named.NamePredicate
 
Nested classes/interfaces inherited from interface org.richfaces.cdk.model.DescriptionGroup
DescriptionGroup.Icon
 
Constructor Summary
PropertyBase()
          

 
Method Summary
<R,D> R
accept(Visitor<R,D> visitor, D data)
           
 String getAliasFor()
          

 String getDefaultValue()
          

 Set<EventName> getEventNames()
          

 Boolean getGenerate()
           
 String getName()
          

 MethodSignature getSignature()
          

 String getSuggestedValue()
          

 ClassName getType()
          

 boolean isBinding()
           
 boolean isBindingAttribute()
           
 boolean isHidden()
          

 boolean isLiteral()
          

 boolean isPassThrough()
          

 boolean isPrimitive()
           
 boolean isReadOnly()
          

 boolean isRequired()
          

 void merge(PropertyBase other)
          

Merge values from other object.

 boolean same(PropertyBase other)
          

Compare object with other.

 void setAliasFor(String aliasFor)
          

 void setBinding(boolean binding)
          

 void setBindingAttribute(boolean bindingAttribute)
          

 void setDefaultValue(String dafaultValue)
          

 void setEventNames(Set<EventName> eventNames)
          

 void setGenerate(Boolean generate)
           
 void setHidden(boolean hidden)
          

 void setLiteral(boolean literal)
          

 void setName(String name)
          

 void setPassThrough(boolean passThrough)
          

 void setReadOnly(boolean readOnly)
          

 void setRequired(boolean required)
          

 void setSignature(MethodSignature signature)
          

 void setSuggestedValue(String suggestedValue)
          

 void setType(ClassName type)
          

 String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

PropertyBase

public PropertyBase()

Method Detail

getName

public String getName()

Specified by:
getName in interface Named
Returns:
the name

setName

public void setName(String name)

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

getType

public ClassName getType()

Returns:
the type

setType

public void setType(ClassName type)

Parameters:
type - the type to set

getAliasFor

public String getAliasFor()

Returns:
the aliasFor

setAliasFor

public void setAliasFor(String aliasFor)

Parameters:
aliasFor - the aliasFor to set

getDefaultValue

public String getDefaultValue()

Returns:
the defaultValue

setDefaultValue

public void setDefaultValue(String dafaultValue)

Parameters:
dafaultValue - - the defaultValue to set

getSuggestedValue

public String getSuggestedValue()

Returns:
the suggestedValue

setSuggestedValue

public void setSuggestedValue(String suggestedValue)

Parameters:
suggestedValue - the suggestedValue to set

getEventNames

public Set<EventName> getEventNames()

Returns:
the eventNames

setEventNames

public void setEventNames(Set<EventName> eventNames)

Parameters:
eventNames - the eventNames to set

isHidden

public boolean isHidden()

Returns:
the hidden

setHidden

public void setHidden(boolean hidden)

Parameters:
hidden - the hidden to set

isLiteral

public boolean isLiteral()

Returns:
the literal

setLiteral

public void setLiteral(boolean literal)

Parameters:
literal - the literal to set

isRequired

public boolean isRequired()

Returns:
the required

setRequired

public void setRequired(boolean required)

Parameters:
required - the required to set

setReadOnly

public void setReadOnly(boolean readOnly)

Parameters:
readOnly - the readOnly to set

isReadOnly

public boolean isReadOnly()

Returns:
the readOnly

isPassThrough

public boolean isPassThrough()

Returns:
the passThrough

setPassThrough

public void setPassThrough(boolean passThrough)

Parameters:
passThrough - the passThrough to set

getSignature

public MethodSignature getSignature()

Returns:
the signature

setSignature

public void setSignature(MethodSignature signature)

Parameters:
signature - the signature to set

isPrimitive

public boolean isPrimitive()

merge

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

Merge values from other object.

Specified by:
merge in interface Mergeable<PropertyBase>

accept

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

same

public boolean same(PropertyBase 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<PropertyBase>
Returns:

isBindingAttribute

public boolean isBindingAttribute()

setBindingAttribute

public void setBindingAttribute(boolean bindingAttribute)

Parameters:
bindingAttribute - the bindingAttribute to set

isBinding

public boolean isBinding()

setBinding

public void setBinding(boolean binding)

Parameters:
binding - the binding to set

toString

public String toString()
Overrides:
toString in class Object

getGenerate

public Boolean getGenerate()

setGenerate

public void setGenerate(Boolean generate)

RichFaces CDK Generator 4.2.0.CR1

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