Skip navigation links


oracle.iam.identity.vo
Interface Relationship

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
RelationshipImpl, RoleGrant, RoleRelationship

public interface Relationship
extends java.io.Serializable

Method Summary
 java.lang.Object getAttribute(java.lang.String attr)
          Get the value of the specified attribute attr.
 java.util.Set getAttributeNames()
          Provides a set of all the attribute names.
 java.util.Map getAttributes()
          Provides a map of all attribute-value pair of this identity.
 java.lang.String getID1()
          Provides a UID of the first identity.
 java.lang.String getID2()
          Provides a UID of the second identity.
 void setAttribute(java.lang.String attr, java.lang.Object val)
          Adds the attribute attr and it's value val.
 java.lang.String toString()
          Returns the string representation of this Relationship.

 

Method Detail

getID1

java.lang.String getID1()
Provides a UID of the first identity.
Returns:
a UID of the first identity.

getID2

java.lang.String getID2()
Provides a UID of the second identity.
Returns:
a UID of the second identity.

setAttribute

void setAttribute(java.lang.String attr,
                  java.lang.Object val)
Adds the attribute attr and it's value val.
Parameters:
attr - The attribute to be added.
val - The value of the attribute.

getAttribute

java.lang.Object getAttribute(java.lang.String attr)
Get the value of the specified attribute attr.
Parameters:
attr - The attribute whose value is to be returned.
Returns:
The value of the attribute. null if the attribute is not present.

getAttributes

java.util.Map getAttributes()
Provides a map of all attribute-value pair of this identity.
Returns:
A map of all attribute-value pair of this identity.

getAttributeNames

java.util.Set getAttributeNames()
Provides a set of all the attribute names.
Returns:
A set of all the attribute names.

toString

java.lang.String toString()
Returns the string representation of this Relationship.
Overrides:
toString in class java.lang.Object
Returns:
The string representation of this Relationship.

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.