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

Syntax

void setGregorianCalendar (int propertyIndex,
                           java.util.GregorianCalendar value)
void setGregorianCalendar (String propertyName, java.util.GregorianCalendar 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

The Java SDO API does not currently support GregorianCalendar for a DataObject. However, ABL supports this data type for use with the ProDataObject class.