Package laas.openrobots.ontology.types
Enum Class PolicyMethods
- All Implemented Interfaces:
Serializable
,Comparable<PolicyMethods>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe statements are added to the knowledge base, without ensuring consistencyThe statements are removed from the modelUpdates objects of one or several statements in the specified model if it does not (individually) lead to inconsistencies.The statements are added only if they (individually) do not lead to inconsistenciesSynonym for 'revision'Updates objects of one or several statements in the specified model. -
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyMethods
Returns the enum constant of this class with the specified name.static PolicyMethods[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD
The statements are added to the knowledge base, without ensuring consistency -
SAFE_ADD
The statements are added only if they (individually) do not lead to inconsistencies -
RETRACT
The statements are removed from the model -
UPDATE
Updates objects of one or several statements in the specified model. If the predicate is not inferred to be functional (ie, it accept only one single value), behaves like 'add' -
REVISION
Updates objects of one or several statements in the specified model if it does not (individually) lead to inconsistencies. If the predicate is not inferred to be functional (ie, it accept only one single value), behaves like 'safe_add' -
SAFE_UPDATE
Synonym for 'revision'
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-