com.loribel.commons.business
Class GB_BOValueSingle
java.lang.Object
com.loribel.commons.business.GB_BOValueAbstract
com.loribel.commons.business.GB_BOValueSingle
- All Implemented Interfaces:
- GB_MyPropertyOwner, GB_SimpleBOValue, GB_SimpleBOValueSet, GB_ValueOwner, GB_ValueOwnerSet
- public class GB_BOValueSingle
- extends GB_BOValueAbstract
- implements GB_ValueOwnerSet
Default implementation of GB_SimpleBOValue for single value.
- Author:
- Gregory Borelli
|
Method Summary |
protected void |
checkWithProperty()
|
java.lang.Object |
getValue()
Get The true value associated to this property. |
void |
setValue(java.lang.Object a_value)
Set The true value associated to this property. |
| Methods inherited from class com.loribel.commons.business.GB_BOValueAbstract |
addMyPropertyChangeListener, addMyPropertyChangeListener, fireMyPropertyChange, getBusinessObject, getProperty, getPropertyName, getType, isBusinessObject, isMultiValue, removeMyPropertyChangeListener, removeMyPropertyChangeListener, setBusinessObject, setProperty, setProperty, toString, updateValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GB_BOValueSingle
public GB_BOValueSingle(GB_SimpleBusinessObjectSet a_businessObject,
java.lang.String a_propertyName,
java.lang.Object a_value)
- Constructor of GB_SimpleBusinessObjectValueSingle with parameter(s).
- Parameters:
a_businessObject - GB_SimpleBusinessObjectSet -a_propertyName - String -a_value - Object -
GB_BOValueSingle
public GB_BOValueSingle(GB_SimpleBusinessObjectSet a_businessObject,
GB_BOProperty a_property,
java.lang.Object a_value)
- Constructor of GB_SimpleBusinessObjectValueSingle with parameter(s).
- Parameters:
a_businessObject - GB_SimpleBusinessObjectSet -a_property - GB_BOProperty -a_value - Object -
getValue
public java.lang.Object getValue()
- Get The true value associated to this property.(can be null, a
collection of value, or the value)..
- Specified by:
getValue in interface GB_ValueOwner
- Returns:
- Object - value
setValue
public void setValue(java.lang.Object a_value)
- Set The true value associated to this property.(can be null, a
collection of value, or the value)..
- Specified by:
setValue in interface GB_ValueOwnerSet
- Parameters:
a_value - Object - value
checkWithProperty
protected void checkWithProperty()
- Specified by:
checkWithProperty in class GB_BOValueAbstract
Copyright © 2002-2007 Gregory Borelli [Loribel]. All Rights Reserved.