|
|
|
The
Refer to
|
|
|
|
Data is a private property used to hold the contents of the list.
The type (classname:propertyname) of the elements stored in the collection.
Size is the number of elements contained in the list.
|
|
This method performs automatic validation of an object's attribute values. It is called by%Save before persistent objects are stored to the database.
%ValidateObject does the following:
- It tests if any required property values are missing.
- If specified (if the PROPERTYVALIDATION class parameter is set to ValidateOnSave), it tests property validation.
- If present, it will call a user-supplied
%OnValidateObject method.If any of these tests fail,
%ValidateObject immediately returns an error value.%Save (if it is the caller of%ValidateObject ) will stop its operation, rollback any transactions it has started, and also return.Returns a
%Status value indicating success or failure.
Constructs array(key)=value for each element in the serialval value.Returns a
%Status value indicating success or failure.
Clears the contents of the list.Returns a
%Status value indicating success or failure.
Returns the number of elements contained in the list.
Converts the value of an incoming delimited string to a serialized state using the value of the delim argument as a delimiter.
Starting from, but not including, position key, Find finds the next element in the list with value equal to element. If key is a null string, Find starts at the beginning of the list.Find returns the position of the found element or null string ("") if no element was found.
Finds and returns the value of the element at position key in the list.GetAt returns the value of the element at location key or null string ("") if no element is found.
Finds and returns the value of the element at the position after key in the list. If key is a null string (""), it returns the value of the first element in the list.The value of key, which is passed by reference, is updated to the position value of the returned element or null string ("") if key is at the end of the list.
Finds and returns the value of the element at the position before key in the list. If key is a null string (""), it returns the value of the last element in the list.The value of key, which is passed by reference, is updated to the position value of the returned element or null string ("") if key is at the beginning of the list.
Inserts an element with value element at the end of the list.Returns a
%Status value indicating success or failure.
Inserts an element with value element at position key.To make room for the new element, the elements previously at or following position key are moved up by one position.
key must be in the following range:
Returns a1 <= key <= Count() + 1%Status value indicating success or failure.
Inserts a list with value inslist at the end of the list.Returns a
%Status value indicating success or failure.
Inserts an element with value element into the list at the correct ordered position. The elements in the list are shifted to accommodate the new element as necessary.Returns a
%Status value indicating success or failure.
Converts the serial state of this list object to a delimited string using the value of the %delim argument as a delimiter.
Converts the serial state of this list object to a delimited string using the value of the ODBCDELIMITER parameter as a delimiter.
Finds and returns the index value of the element at the location following key in the list. If key is a null string (""), then Next returns the position of the first element in the list (1).
Converts the value of an incoming delimited string to a serialized state using the value of the ODBCDELIMITER parameter as a delimiter.
Finds and returns the index value of the element at the location preceding key in the list. If key is a null string (""), then Next returns the position of the last element in the list.
Removes the element at position key in the list. The elements following position key are moved to fill in the resulting gap.RemoveAt returns the value of the removed element or null string ("") if no element was removed.
Sets the value of the element at position key to element.Returns a
%Status value indicating success or failure.