Skip navigation links

Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14658-01


oracle.security.idm
Class ModProperty

java.lang.Object
  extended by oracle.security.idm.Property
      extended by oracle.security.idm.ModProperty

All Implemented Interfaces:
java.io.Serializable

public class ModProperty
extends Property

This class represents the modification of property. ModProperty containing property name, modified value(s) and type of modification. Modification type can be one of ADD, REMOVE or REPLACE

Since:
10.1.3
See Also:
Serialized Form

Field Summary
static int ADD
          This constant specifies to add a property with the specified values.
static int REMOVE
          This constant specifies to remove the property with the specified values.
static int REPLACE
          This constant specifies to replace the property with the specified values.

 

Constructor Summary
ModProperty(Property prop, int mod_op)
          Construct a ModProperty from existing property and the modification operator.
ModProperty(java.lang.String name, java.util.List values, int mod_op)
          Construct a ModProperty from Attribute name, modification operator and list of modified values.
ModProperty(java.lang.String name, java.lang.Object val, int mod_op)
          Construct a ModProperty from Attribute name, modification operator and modified value.

 

Method Summary
 int getModOP()
          Get the type of modification operator.

 

Methods inherited from class oracle.security.idm.Property
addValue, getName, getValues

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

ADD

public static int ADD
This constant specifies to add a property with the specified values. If property doesnot exist then the property will be created.

REMOVE

public static int REMOVE
This constant specifies to remove the property with the specified values. If no value is specified, whole property is removed.

REPLACE

public static int REPLACE
This constant specifies to replace the property with the specified values. creates the property if its not already existing.

Constructor Detail

ModProperty

public ModProperty(java.lang.String name,
                   java.util.List values,
                   int mod_op)
Construct a ModProperty from Attribute name, modification operator and list of modified values.
Parameters:
name - The Attribute name.
values - List of modified values.
mod_op - Type of modification. Supported types are ADD, REMOVE,REPLACE.

ModProperty

public ModProperty(java.lang.String name,
                   java.lang.Object val,
                   int mod_op)
Construct a ModProperty from Attribute name, modification operator and modified value.
Parameters:
name - The Attribute name.
val - Modified value.
mod_op - Type of modification. Supported types are ADD, REMOVE,REPLACE.

ModProperty

public ModProperty(Property prop,
                   int mod_op)
Construct a ModProperty from existing property and the modification operator.
Parameters:
prop - The Property object; which has the Attribute and value pair.
mod_op - Type of modification. Supported types are ADD, REMOVE,REPLACE.

Method Detail

getModOP

public int getModOP()
Get the type of modification operator.
Returns:
Return the type of modification operator.

Skip navigation links

Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14658-01


Copyright © 2005, 2009, Oracle. All rights reserved.