Try OpenEdge Now
skip to main content
Java Open Clients
Accessing ABL ProDataSets : ProDataObject class : Inherited methods : setList( )
 
setList( )
Sets the value of a List column property, as specified by the overloaded methods.

Syntax

void setList(int propertyIndex, java.util.List value)
void setList(String propertyName, java.util.List value)
propertyIndex
Specifies a 0-based index into the list of column properties contained by the ProDataObject. You can identify the index of a particular column property that corresponds to a mapped temp-table field using ProDataObjectMetaData methods. For more information, see ProDataObjectMetaData class.
propertyName
Specifies the name of a column property in the Property list contained by the ProDataObject. This name is typically identical to the name of an ABL temp-table field to which this column property is mapped.
value
Specifies the value to set for this property.

Note

You can use this method to set the value of a many-valued column property mapped to a temp-table array field. To identify the Java data type of each Property in the list, match the ABL data type of the corresponding temp-table field to the Java data type specified in Mappingsingle-valued fields.