public abstract class PropertyBase extends DescriptionGroupBase implements ModelElement<PropertyBase>, Named
Named.NamePredicateDescriptionGroup.Icon| Constructor and Description |
|---|
PropertyBase()
|
| Modifier and Type | Method and Description |
|---|---|
<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() |
getDescription, getDisplayName, getExtension, getIcon, setDescription, setDisplayName, setExtension, setIconpublic void setName(String name)
public ClassName getType()
public void setType(ClassName type)
type - the type to setpublic String getAliasFor()
public void setAliasFor(String aliasFor)
aliasFor - the aliasFor to setpublic String getDefaultValue()
public void setDefaultValue(String dafaultValue)
dafaultValue - - the defaultValue to setpublic String getSuggestedValue()
public void setSuggestedValue(String suggestedValue)
suggestedValue - the suggestedValue to setpublic void setEventNames(Set<EventName> eventNames)
eventNames - the eventNames to setpublic boolean isHidden()
public void setHidden(boolean hidden)
hidden - the hidden to setpublic boolean isLiteral()
public void setLiteral(boolean literal)
literal - the literal to setpublic boolean isRequired()
public void setRequired(boolean required)
required - the required to setpublic void setReadOnly(boolean readOnly)
readOnly - the readOnly to setpublic boolean isReadOnly()
public boolean isPassThrough()
public void setPassThrough(boolean passThrough)
passThrough - the passThrough to setpublic MethodSignature getSignature()
public void setSignature(MethodSignature signature)
signature - the signature to setpublic boolean isPrimitive()
public void merge(PropertyBase other)
MergeableMerge values from other object.
merge in interface Mergeable<PropertyBase>public <R,D> R accept(Visitor<R,D> visitor, D data)
public boolean same(PropertyBase other)
MergeableCompare object with other. For example, JSF component with same type or class is the same component.
same in interface Mergeable<PropertyBase>public boolean isBindingAttribute()
public void setBindingAttribute(boolean bindingAttribute)
bindingAttribute - the bindingAttribute to setpublic boolean isBinding()
public void setBinding(boolean binding)
binding - the binding to setpublic Boolean getGenerate()
public void setGenerate(Boolean generate)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.