| 
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  
javax.jcr.version.OnParentVersionAction
public final class OnParentVersionAction
The possible actions specified by the onParentVersion attribute in a property definition within a node type definition.
This interface defines the following actions:
COPYVERSIONINITIALIZECOMPUTEIGNOREABORTEvery item (node or property) in the repository has a status indicator that governs what happens to that item when its parent node is versioned. This status is defined by the onParentVersion attribute in the PropertyDefinition or NodeDefinition that applies to the item in question.
| Field Summary | |
|---|---|
static int | 
ABORT | 
static java.lang.String | 
ACTIONNAME_ABORT | 
static java.lang.String | 
ACTIONNAME_COMPUTE | 
static java.lang.String | 
ACTIONNAME_COPYThe names of the defined on-version actions, as used in serialization.  | 
static java.lang.String | 
ACTIONNAME_IGNORE | 
static java.lang.String | 
ACTIONNAME_INITIALIZE | 
static java.lang.String | 
ACTIONNAME_VERSION | 
static int | 
COMPUTE | 
static int | 
COPYThe action constants.  | 
static int | 
IGNORE | 
static int | 
INITIALIZE | 
static int | 
VERSION | 
| Method Summary | |
|---|---|
static java.lang.String | 
nameFromValue(int action)Returns the name of the specified action, as used in serialization. | 
static int | 
valueFromName(java.lang.String name)Returns the numeric constant value of the on-version action with the specified name.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int COPY
public static final int VERSION
public static final int INITIALIZE
public static final int COMPUTE
public static final int IGNORE
public static final int ABORT
public static final java.lang.String ACTIONNAME_COPY
public static final java.lang.String ACTIONNAME_VERSION
public static final java.lang.String ACTIONNAME_INITIALIZE
public static final java.lang.String ACTIONNAME_COMPUTE
public static final java.lang.String ACTIONNAME_IGNORE
public static final java.lang.String ACTIONNAME_ABORT
| Method Detail | 
|---|
public static java.lang.String nameFromValue(int action)
action, as used in serialization.action - the on-version actionactionjava.lang.IllegalArgumentException - if action is not a valid on-version action.public static int valueFromName(java.lang.String name)
name - the name of the on-version actionjava.lang.IllegalArgumentException - if name is not a valid on-version action name.
  | 
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2004-2005 Day Software Management AG. All Rights Reserved.