|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.loribel.commons.business.GB_BOValueAbstract
com.loribel.commons.business.GB_BOValueMulti
Default implementation of GB_SimpleBOValue for multi values.
| Field Summary |
| Fields inherited from class com.loribel.commons.business.GB_BOValueAbstract |
businessObject, property |
| Constructor Summary | |
GB_BOValueMulti(GB_SimpleBusinessObjectSet a_businessObject,
GB_BOProperty a_property)
Constructor of GB_SimpleBusinessObjectValueMulti with parameter(s). |
|
GB_BOValueMulti(GB_SimpleBusinessObjectSet a_businessObject,
java.lang.String a_propertyName)
Constructor of GB_SimpleBusinessObjectValueMulti with parameter(s). |
|
| Method Summary | |
void |
addAllValueItem(java.util.Collection a_valueItemList)
Adds a list of ValueItems to the list valueList. |
boolean |
addValueItem(java.lang.Object a_valueItem)
Add a ValueItem to the list valueList. |
boolean |
addValueItem(java.lang.Object a_valueItem,
int a_index)
Add a ValueItem to the list valueList. |
protected java.util.List |
buildValueList()
Method to init valueList. |
protected void |
checkWithProperty()
|
java.util.List |
getInnerValue()
Returns the true list contained into this container. |
java.lang.Object |
getValue()
Returns the value(s) of a property in a Collection. |
protected java.util.List |
getValueList()
Get The collection of values.. |
int |
indexOf(java.lang.Object a_value)
Returns the index of the value a_value. |
void |
removeAllValueItems()
Remove all values one by one. |
boolean |
removeValueItem(java.lang.Object a_valueItem)
Remove a ValueItem to the list valueList. |
void |
setValue(java.lang.Object a_value)
Set the value. |
| 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 |
| Constructor Detail |
public GB_BOValueMulti(GB_SimpleBusinessObjectSet a_businessObject,
java.lang.String a_propertyName)
a_businessObject - GB_SimpleBusinessObjectSet -a_propertyName - String -
public GB_BOValueMulti(GB_SimpleBusinessObjectSet a_businessObject,
GB_BOProperty a_property)
a_businessObject - GB_SimpleBusinessObjectSet -a_property - GB_BOProperty -| Method Detail |
protected java.util.List getValueList()
public java.util.List getInnerValue()
protected java.util.List buildValueList()
This method is called by getValueList() to set the value of
valueList the first time.
public boolean addValueItem(java.lang.Object a_valueItem)
addValueItem in interface GB_ValuesOwnerSeta_valueItem - Object - valueItem to add
public boolean addValueItem(java.lang.Object a_valueItem,
int a_index)
addValueItem in interface GB_ValuesOwnerSeta_valueItem - Object - valueItem to add
public void addAllValueItem(java.util.Collection a_valueItemList)
addAllValueItem in interface GB_ValuesOwnerSeta_valueItemList - Collection - valueItem to addpublic boolean removeValueItem(java.lang.Object a_valueItem)
removeValueItem in interface GB_ValuesOwnerSeta_valueItem - Object - valueItem à supprimer
public void removeAllValueItems()
removeAllValueItems in interface GB_ValuesOwnerSetpublic java.lang.Object getValue()
getValue in interface GB_SimpleBOValuepublic void setValue(java.lang.Object a_value)
a_value - Object -protected void checkWithProperty()
checkWithProperty in class GB_BOValueAbstractpublic int indexOf(java.lang.Object a_value)
GB_ValuesOwnerSet
indexOf in interface GB_ValuesOwnerSet
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||