|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICobolArrayComplexBinding
This interface groups methods that are common to arrays of complex elements.
| Method Summary | |
|---|---|
void |
addJaxbPropertyValue(int index)
Deprecated. Request complex binding item to add a value to a jaxb bound object of the List type. The value is taken at index index in this binding array of values. Since bindings can now be bound to arbitrary value objects, use method addPropertyValue |
void |
addPropertyValue(int index)
Request complex binding item to add a value to a bound value object of the List type. |
void |
createJaxbObject()
Deprecated. Requests array to create a JAXB complex array. Since bindings can now be bound to arbitrary value objects, use method createValueObject
instead of this one. |
void |
createValueObject()
Requests array to create a complex value array. |
ICobolComplexBinding |
getComplexItemBinding()
Returns the complex binding used for items of this array. |
List<?> |
getObjectList()
|
String |
getValueObjectClassName()
Complex bindings can be bound to JAXB objects or arbitrary POJOs jointly referred to as value objects. |
String |
getValueObjectsFactoryClassName()
Optional factory class name used to create bound value objects. |
void |
setItemValue(int index)
Requests complex array binding to set its item values from the JAXB item identified by index. |
void |
setObjectList(List<?> list)
|
void |
setValueObjectClassName(String valueObjectClassName)
|
void |
setValueObjectsFactoryClassName(String valueObjectsFactoryClassName)
|
| Methods inherited from interface com.legstar.coxb.ICobolArrayBinding |
|---|
calcItemByteLength, getCurrentOccurs, getItemByteLength, setItemByteLength |
| Methods inherited from interface com.legstar.coxb.ICobolBinding |
|---|
accept, calcByteLength, getBindingName, getJaxbName, getJaxbType, getObjectValue, getParentBinding, isBound, isSet, setObjectValue |
| Method Detail |
|---|
void createJaxbObject()
throws HostException
createValueObject
instead of this one.
HostException - if initialization fails
void createValueObject()
throws HostException
HostException - if initialization fails
void setItemValue(int index)
throws HostException
index - identifies which item to set values for
HostException - if reading from bound item values fails
void addJaxbPropertyValue(int index)
throws HostException
addPropertyValue
index - item index in this array.
HostException - if bound object values cannot be set
void addPropertyValue(int index)
throws HostException
index - item index in this array.
HostException - if bound object values cannot be setICobolComplexBinding getComplexItemBinding()
List<?> getObjectList()
void setObjectList(List<?> list)
list - the items List to setString getValueObjectClassName()
void setValueObjectClassName(String valueObjectClassName)
valueObjectClassName - the fully qualified bound value object class
name to setString getValueObjectsFactoryClassName()
void setValueObjectsFactoryClassName(String valueObjectsFactoryClassName)
valueObjectsFactoryClassName - the factory class name used to create
bound value objects to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||