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 PropertySet

java.lang.Object
  extended by oracle.security.idm.PropertySet

All Implemented Interfaces:
java.io.Serializable

public class PropertySet
extends java.lang.Object
implements java.io.Serializable

PropertySet is a collection of property name and value pairs. Property class is used to represent the property name and value(s) pair. PropertySet guanrantees that no two properties have same name.

Since:
10.1.3
See Also:
Serialized Form

Constructor Summary
PropertySet()
          Construct a empty PropertySet.

 

Method Summary
 Property get(java.lang.String propID)
          Get the property with specified name.
 java.util.Iterator getAll()
          Get all the properties as an iterator.
 Property put(Property prop)
          Put the property with specified name.
 Property remove(java.lang.String propID)
          Remove a particular property from the set.
 int size()
          Get the size of the property set.

 

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

 

Constructor Detail

PropertySet

public PropertySet()
Construct a empty PropertySet.

Method Detail

get

public Property get(java.lang.String propID)
Get the property with specified name.
Parameters:
propID - Name of the property
Returns:
Property with the specified name

put

public Property put(Property prop)
Put the property with specified name. If the property is already set for a given name, this operation will override the previous operation.
Parameters:
prop - New property item

remove

public Property remove(java.lang.String propID)
Remove a particular property from the set.
Parameters:
propID - Name of the property to be removed
Returns:
Property that has been removed.

getAll

public java.util.Iterator getAll()
Get all the properties as an iterator.
Returns:
Iterator containing all the property items

size

public int size()
Get the size of the property set.
Returns:
number of properties present in this particular property set

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.