| java.lang.Object com.tc.object.dna.api.PhysicalAction
PhysicalAction | public class PhysicalAction (Code) | | A physical object change action
|
PhysicalAction | public PhysicalAction(Object value)(Code) | | Construct a physical action representing a new value for an entire array
Parameters: value - The new array |
PhysicalAction | public PhysicalAction(Object value, int startPos)(Code) | | Construct a physical action representing a new subarray
Parameters: value - The new subarray Parameters: startPos - The starting position for the new subarray |
PhysicalAction | public PhysicalAction(int index, Object value, boolean isReference)(Code) | | Construct a physical action representing a single array element
change.
Parameters: index - The index in the array parent Parameters: value - The new value for the array element Parameters: isReference - Whether the new value is a reference |
PhysicalAction | public PhysicalAction(String field, Object value, boolean isReference)(Code) | | Construct a physical action that consists of a field, a new value, and
whether the new value is a reference.
|
getArrayIndex | public int getArrayIndex()(Code) | | If this is an array element, the index of the element. If this is a subarray,
the starting position of the new subarray. Otherwise, an error.
The array index throws: IllegalStateException - If not an array element or subarray |
getObject | public Object getObject()(Code) | | Get object value
Object value |
isArrayElement | public boolean isArrayElement()(Code) | | True if this is an array element change |
isEntireArray | public boolean isEntireArray()(Code) | | True if this is an entire array change |
isReference | public boolean isReference()(Code) | | Is the object a reference?
True if reference |
isSubArray | public boolean isSubArray()(Code) | | True if this is a subarray change |
isTruePhysical | public boolean isTruePhysical()(Code) | | True if this is a true physical field change |
|
|