| java.lang.Object org.romaframework.core.util.DynaBean
All known Subclasses: org.romaframework.core.vpojo.VirtualPojo, org.romaframework.aspect.flow.feature.FlowActionFeatures, org.romaframework.aspect.view.feature.ViewBaseFeatures, org.romaframework.aspect.i18n.feature.I18NFieldFeatures, org.romaframework.aspect.persistence.feature.PersistenceFeatures, org.romaframework.aspect.reporting.feature.ReportingBaseFeatures, org.romaframework.aspect.core.feature.CoreFieldFeatures, org.romaframework.aspect.core.feature.CoreClassFeatures, org.romaframework.aspect.monitoring.feature.MonitoringFeatures,
DynaBean | public class DynaBean implements Cloneable,Serializable(Code) | | Dynamic Bean. Acts in two ways:
Dynamic mode, you can get/set attributes without define them before. It
works like an HashMap.
Static mode, you had to define the attributes before to get/set them.
author: Luca Garulli (luca.garulli@assetdata.it) |
DynaBean | public DynaBean()(Code) | | |
DynaBean | public DynaBean(boolean iStaticMode)(Code) | | |
defineAttribute | public void defineAttribute(String iName, Object iDefaultValue)(Code) | | Define a new attribute with the default value
Parameters: iName - Attribute name Parameters: iDefaultValue - Default attribute value |
|
|