|
|
|
The
Refer to
|
|
|
|
Data is a private property used to hold the contents of the array.
The type (classname:propertyname) of the elements stored in the collection.
|
|
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 array.Returns a
%Status value indicating success or failure.
Returns the number of elements contained in the array.
This method is deprecated.Please use
IsDefined instead.
Starting from, but not including, location key, finds the next element in the array with value equal to element.If key is a null string (""), the search starts at the beginning of the array.
Find returns the key associated with the found element or null string ("") if no element is found.
Finds and returns the value of the element associated with key.GetAt returns the value of the element associated with key or null string ("") if no element is found.
Finds and returns the value of the element at the location after key in the array. If key is a null string (""), it returns the value of the first element in the array.The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the end of the array.
Finds and returns the value of the element at the location before key in the array. If key is a null string (""), it returns the value of the last element in the array.The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the beginning of the array.
Returns true (1) if a value is defined at location key, otherwise false (0).
Converts the serial state of this array object to a delimited string using the value of the ODBCDELIMITER parameter as a delimiter.
Finds and returns the key value of the element at the location following key in the array. If key is a null string (""), then Next returns the key value for the first element in the array.
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 key value of the element at the location preceding key in the array. If key is a null string (""), thenNext returns the key value for the last element in the array.
Removes the element associated with key in the array.RemoveAt returns the value of the removed element or null string ("") if no element was removed.
Sets the value of the element associated with key to element.Returns a
%Status value indicating success or failure.