Package oracle.iam.identity.vo
Interface Relationship
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
OrgUserRelationship,RelationshipImpl,RoleConsolidation,RoleGrant,RoleRelationship
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String attr) Get the value of the specified attributeattr.Provides a set of all the attribute names.Provides a map of all attribute-value pair of this identity.getID1()Provides a UID of the first identity.Returns the first identity.getID2()Provides a UID of the second identity.Returns the second identity.voidsetAttribute(String attr, Object val) Adds the attributeattrand it's valueval.voidsetId1Entity(Identity id1) Sets the first identity.voidsetId2Entity(Identity id2) Sets the second identitytoString()Returns the string representation of this Relationship.
-
Method Details
-
getID1
String getID1()Provides a UID of the first identity.- Returns:
- a UID of the first identity.
-
getID2
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
Sets the first identity.- Parameters:
id1- the first identity
-
getId2Entity
Identity getId2Entity()Returns the second identity.- Returns:
- Identity
-
setId2Entity
Sets the second identity- Parameters:
id2- the second identity
-
setAttribute
Adds the attributeattrand it's valueval.- Parameters:
attr- The attribute to be added.val- The value of the attribute.
-
getAttribute
Get the value of the specified attributeattr.- Parameters:
attr- The attribute whose value is to be returned.- Returns:
- The value of the attribute. null if the attribute is not present.
-
getAttributes
Provides a map of all attribute-value pair of this identity.- Returns:
- A
mapof all attribute-value pair of this identity.
-
getAttributeNames
Provides a set of all the attribute names.- Returns:
- A set of all the attribute names.
-
toString
String toString()Returns the string representation of this Relationship.
-