Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


oracle.iam.rm.server_api.model
Class EnumeratedValueValidator.NameValuePair

java.lang.Object
  extended by oracle.iam.rm.server_api.model.EnumeratedValueValidator.NameValuePair

All Implemented Interfaces:
java.io.Serializable
Enclosing class:
EnumeratedValueValidator

public static class EnumeratedValueValidator.NameValuePair
extends java.lang.Object
implements java.io.Serializable

A key/value pair representing the values supported by the validator.

See Also:
Serialized Form

Constructor Summary
EnumeratedValueValidator.NameValuePair(java.lang.Object key, java.lang.String label)
          Creates a NameValuePair.

 

Method Summary
 java.lang.Object getKey()
          Gets the key that determines the constrained value.
 java.lang.String getLabel()
          Gets the human-readable label that can be used by a presentation layer.

 

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

 

Constructor Detail

EnumeratedValueValidator.NameValuePair

public EnumeratedValueValidator.NameValuePair(java.lang.Object key,
                                              java.lang.String label)
Creates a NameValuePair.
Parameters:
key - key that determines the constrained value
label - human-readable label that can be used by a presentation layer

Method Detail

getKey

public java.lang.Object getKey()
Gets the key that determines the constrained value.
Returns:
Object representing the key that determines the constrained value.

getLabel

public java.lang.String getLabel()
Gets the human-readable label that can be used by a presentation layer.
Returns:
String representing the label to be used by a presentation layer.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


Copyright © 2007, 2008 Oracle. All Rights Reserved.