|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.clay.config.beans.AbstractBean org.apache.shale.clay.config.beans.SymbolBean org.apache.shale.clay.config.beans.AttributeBean
public class AttributeBean
Represents a value for a component property or a tag attribute.
Instances of this class will be placed in the ComponentBean
attributes
collection.
Field Summary | |
---|---|
static String |
BINDING_TYPE_EARLY
This code means that if the attribute value contains an expression, it will be evalutated before populating the component. |
static String |
BINDING_TYPE_METHOD
Mnemonic the signifies the a method binding expression. |
static String |
BINDING_TYPE_NONE
This constant indicates that the attribute value will be passed as its literal value and no attempt to evaluate a contained expression will be preformed. |
static String |
BINDING_TYPE_VALUE
Mnemonic that signifies a value binding expression. |
Constructor Summary | |
---|---|
AttributeBean()
|
Method Summary | |
---|---|
String |
getBindingType()
Returns a String that indicates the binding type for the attribute. |
ComponentBean |
getHasAParent()
Returns the parent component containing this object instance. |
AttributeBean |
getIsAParent()
Returns a parent component that this component extends in terms of a meta relationship. |
boolean |
isInheritanceFinal()
Returns boolean that indicates the meta inheritance relationships have been resolved. |
void |
setBindingType(String bindingType)
Sets a String that indicates the binding type for the attribute. |
void |
setHasAParent(ComponentBean bean)
Sets the parent component that contains this object instance. |
void |
setInheritanceFinal(boolean b)
Sets a boolean that indicates the meta inheritance relationships have been resolved. |
void |
setIsAParent(AttributeBean bean)
Sets a parent component that this component extends in terms of a meta relationship. |
String |
toString()
|
Methods inherited from class org.apache.shale.clay.config.beans.SymbolBean |
---|
compareTo, getName, getValue, setName, setValue |
Methods inherited from class org.apache.shale.clay.config.beans.AbstractBean |
---|
getDescription, setDescription |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String BINDING_TYPE_METHOD
Mnemonic the signifies the a method binding expression.
public static final String BINDING_TYPE_VALUE
Mnemonic that signifies a value binding expression.
public static final String BINDING_TYPE_EARLY
This code means that if the attribute value contains an expression, it will be evalutated before populating the component.
public static final String BINDING_TYPE_NONE
This constant indicates that the attribute value will be passed as its literal value and no attempt to evaluate a contained expression will be preformed.
Constructor Detail |
---|
public AttributeBean()
Method Detail |
---|
public String toString()
toString
in class SymbolBean
public ComponentBean getHasAParent()
Returns the parent component containing this object instance.
public void setHasAParent(ComponentBean bean)
Sets the parent component that contains this object instance.
bean
- the composition parentpublic AttributeBean getIsAParent()
Returns a parent component that this component extends in terms of a meta relationship.
public void setIsAParent(AttributeBean bean)
Sets a parent component that this component extends in terms of a meta relationship.
bean
- the inheritance parentpublic String getBindingType()
Returns a String that indicates the binding type for the attribute. The valid values include ("VB", "MB", "None", "Early").
public void setBindingType(String bindingType)
Sets a String that indicates the binding type for the attribute. The valid values include ("VB", "MB", "None", "Early").
bindingType
- enumerationpublic boolean isInheritanceFinal()
Returns boolean that indicates the meta inheritance relationships have been resolved.
true
if inheritance has been resolvedpublic void setInheritanceFinal(boolean b)
Sets a boolean that indicates the meta inheritance relationships have been resolved.
b
- true
if inheritance has been resolved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |