public enum PolicyMethods extends java.lang.Enum<PolicyMethods>
Enum Constant and Description |
---|
ADD
The statements are added to the knowledge base, without ensuring consistency
|
RETRACT
The statements are removed from the model
|
REVISION
Updates objects of one or several statements in the specified model if it
does not (individually) lead to inconsistencies.
|
SAFE_ADD
The statements are added only if they (individually) do not lead to
inconsistencies
|
SAFE_UPDATE
Synonym for 'revision'
|
UPDATE
Updates objects of one or several statements in the specified model.
|
Modifier and Type | Method and Description |
---|---|
static PolicyMethods |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PolicyMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyMethods ADD
public static final PolicyMethods SAFE_ADD
public static final PolicyMethods RETRACT
public static final PolicyMethods UPDATE
public static final PolicyMethods REVISION
public static final PolicyMethods SAFE_UPDATE
public static PolicyMethods[] values()
for (PolicyMethods c : PolicyMethods.values()) System.out.println(c);
public static PolicyMethods 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 nullORO is a part of the OpenRobots framework.
openrobots@laas.fr
LAAS-CNRS 2009-2011