values() - JDO ObjectState's static method

Static Method
javax.jdo.ObjectState
ObjectState[] values()

Returns an array containing the constants of this enum type.

This method may be used to iterate over the constants as follows:

for (ObjectState c : ObjectState.values())
    System.out.println(c)
Returns:
an array containing the constants of this enum type, in the order they are declared


This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.