public class UIERMAttribute extends ERMAttribute implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
UIERMAttribute(java.lang.String dataAttr)
Constructor Takes the name of the attribute
|
Modifier and Type | Method and Description |
---|---|
void |
addControl(UIERMBoundControl control)
Adds a control and it's BindingDefinition to the list of controls bound to the attribute.
|
UIERMAttribute |
clone() |
com.ibm.json.java.JSONArray |
createTakesValueList(PageInstance page)
Returns a JSONArray containing a the render id's of the takesvalue BoundComponentInstances
that are bound to this attribute.
|
java.util.List<UIERMBoundControl> |
getControls()
Returns a Map contains the ids of the controls bound to this attribute and there BindingDefintions.
|
DataStoreInfo |
getDataStoreInfo() |
java.lang.String |
getLabelForAttribute(WebClientSession wcs) |
UIERMEntity |
getSigOptEntity() |
java.lang.String |
getSigOption() |
boolean |
isCloned() |
boolean |
isPresentationRequired()
Returns true if the presentation xml has marked the attribute as required.
|
boolean |
isRequired()
Returns true if the presentation xml has marked the attribute as required and if the attribute
cannot be set conditionally required.
|
void |
setDataStoreInfo(DataStoreInfo dataStoreInfo) |
void |
setIsCloned(boolean aBool) |
void |
setRequired(boolean required)
Sets whether or not this attribute is required.
|
void |
setSigOption(java.lang.String sigOption,
UIERMEntity sigOptEntity) |
getEntity, getName, setEntity
public UIERMAttribute(java.lang.String dataAttr)
dataAttr
- The name of the attributepublic void addControl(UIERMBoundControl control)
controlId
- The id of the control to add to the list of controls bound to this attributebindingDef
- The BindingDefinition of the controlpublic java.util.List<UIERMBoundControl> getControls()
public java.lang.String getLabelForAttribute(WebClientSession wcs)
public void setSigOption(java.lang.String sigOption, UIERMEntity sigOptEntity)
public boolean isRequired()
isRequired
in class ERMAttribute
public boolean isPresentationRequired()
ERMAttribute.isRequired()
public java.lang.String getSigOption()
public UIERMEntity getSigOptEntity()
public void setRequired(boolean required)
ERMAttribute
setRequired
in class ERMAttribute
required
- true if required, false if notpublic DataStoreInfo getDataStoreInfo()
public void setDataStoreInfo(DataStoreInfo dataStoreInfo)
public com.ibm.json.java.JSONArray createTakesValueList(PageInstance page)
public boolean isCloned()
public void setIsCloned(boolean aBool)
public UIERMAttribute clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException