Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.client
Interface ArgumentSet

All Superinterfaces:
java.io.Serializable

public interface ArgumentSet
extends java.io.Serializable

Interface for a collection of arguments.


Method Summary
 Argument getArgument(java.lang.String argumentId)
          Gets the Argument contained in this ArgumentSet by its identifier or null if it does not exist.
 Argument[] getArguments()
          Gets the arguments contained in this ArgumentSet.
 java.util.Map<java.lang.String,? extends java.io.Serializable> getValues()
          Gets all set values from the arguments in this ArgumentSet.
 java.util.Map<java.lang.String,java.lang.String> validate()
          Validates all arguments in this ArgumentSet and returns error messages.

 

Method Detail

getArguments

Argument[] getArguments()
Gets the arguments contained in this ArgumentSet.
Returns:
Argument array contained in this ArgumentSet.

getArgument

Argument getArgument(java.lang.String argumentId)
Gets the Argument contained in this ArgumentSet by its identifier or null if it does not exist.
Parameters:
argumentId - identifier of the argument to retrieve
Returns:
Argument contained in this ArgumentSet by its identifier or null if it does not exist.

validate

java.util.Map<java.lang.String,java.lang.String> validate()
Validates all arguments in this ArgumentSet and returns error messages.
Returns:
Map of error messages keyed by the argumentId or empty if all arguments are valid.

getValues

java.util.Map<java.lang.String,? extends java.io.Serializable> getValues()
Gets all set values from the arguments in this ArgumentSet. Note: If an argument has NOT been set (either as a value or explicitly set to null), it will not be returned in this Map.
Returns:
Map of values keyed by the argumentId.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.