|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<PropertyAction.Type>
oracle.javatools.db.property.PropertyAction.Type
public static enum PropertyAction.Type
Defins the different types of property action.
Enum Constant Summary | |
---|---|
ALTER Indicates that the supported action for changing the given property is an update - i.e. |
|
CREATE The action for creating a new object from scratch. |
|
DELETE The delete object action is never returns by PropertyManager.canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.String) , but is used by PropertyManager.supportsAction(java.lang.String, oracle.javatools.db.property.PropertyAction.Type) to query whether an object type can be deleted. |
|
REPLACE The action for replacing an existing object. |
|
UNDELETE Not available on a per-property basis, but used by the supportsAction method to test whether the given provider supports undeleting of objects. |
Method Summary | |
---|---|
static PropertyAction.Type |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static PropertyAction.Type[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PropertyAction.Type CREATE
PropertyManager.canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.String)
, this will only (and always) be the case when the original object passed in is null and the property supported.public static final PropertyAction.Type ALTER
PropertyManager.supportsAction(java.lang.String, oracle.javatools.db.property.PropertyAction.Type)
this asks whether the given object type can be updated at all (i.e. whether update is supported for at least one property.public static final PropertyAction.Type REPLACE
PropertyManager.canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.String)
this indicates that update is not possible for changing the given property, a drop/recreate is necessary - i.e. we cannot alter.public static final PropertyAction.Type DELETE
PropertyManager.canChangeProperty(oracle.javatools.db.DBObject, oracle.javatools.db.DBObject, java.lang.String)
, but is used by PropertyManager.supportsAction(java.lang.String, oracle.javatools.db.property.PropertyAction.Type)
to query whether an object type can be deleted.public static final PropertyAction.Type UNDELETE
Method Detail |
---|
public static PropertyAction.Type[] values()
for (PropertyAction.Type c : PropertyAction.Type.values()) System.out.println(c);
public static PropertyAction.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |