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.
 Identity getId1Entity()
          Returns the first identity.
 java.lang.String getID2()
          Provides a UID of the second identity.
 Identity getId2Entity()
          Returns the second identity.
 void setAttribute(java.lang.String attr, java.lang.Object val)
          Adds the attribute attr and it's value val.
 void setId1Entity(Identity id1)
          Sets the first identity.
 void setId2Entity(Identity id2)
          Sets the second identity
 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.

getId1Entity

Identity getId1Entity()
Returns the first identity.
Returns:
Identity

setId1Entity

void setId1Entity(Identity id1)
Sets the first identity.
Parameters:
id1 - the first identity

getId2Entity

Identity getId2Entity()
Returns the second identity.
Returns:
Identity

setId2Entity

void setId2Entity(Identity id2)
Sets the second identity
Parameters:
id2 - 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 © 2014, Oracle and/or its affiliates. All rights reserved.