Package oracle.iam.identity.vo
Class RelationshipImpl
java.lang.Object
oracle.iam.identity.vo.RelationshipImpl
- All Implemented Interfaces:
Serializable,Relationship
- Direct Known Subclasses:
OrgUserRelationship,RoleConsolidation,RoleGrant,RoleRelationship
- See Also:
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
RelationshipImpl
-
RelationshipImpl
-
-
Method Details
-
getId1Entity
Description copied from interface:RelationshipReturns the first identity.- Specified by:
getId1Entityin interfaceRelationship- Returns:
- Identity
-
setId1Entity
Description copied from interface:RelationshipSets the first identity.- Specified by:
setId1Entityin interfaceRelationship- Parameters:
id1- the first identity
-
getId2Entity
Description copied from interface:RelationshipReturns the second identity.- Specified by:
getId2Entityin interfaceRelationship- Returns:
- Identity
-
setId2Entity
Description copied from interface:RelationshipSets the second identity- Specified by:
setId2Entityin interfaceRelationship- Parameters:
id2- the second identity
-
getID1
Description copied from interface:RelationshipProvides a UID of the first identity.- Specified by:
getID1in interfaceRelationship- Returns:
- a UID of the first identity.
-
getID2
Description copied from interface:RelationshipProvides a UID of the second identity.- Specified by:
getID2in interfaceRelationship- Returns:
- a UID of the second identity.
-
setAttribute
Description copied from interface:RelationshipAdds the attributeattrand it's valueval.- Specified by:
setAttributein interfaceRelationship- Parameters:
attr- The attribute to be added.val- The value of the attribute.
-
getAttribute
Description copied from interface:RelationshipGet the value of the specified attributeattr.- Specified by:
getAttributein interfaceRelationship- Parameters:
attr- The attribute whose value is to be returned.- Returns:
- The value of the attribute. null if the attribute is not present.
-
getAttributes
Description copied from interface:RelationshipProvides a map of all attribute-value pair of this identity.- Specified by:
getAttributesin interfaceRelationship- Returns:
- A
mapof all attribute-value pair of this identity.
-
getAttributeNames
Description copied from interface:RelationshipProvides a set of all the attribute names.- Specified by:
getAttributeNamesin interfaceRelationship- Returns:
- A set of all the attribute names.
-
toString
Description copied from interface:RelationshipReturns the string representation of this Relationship.- Specified by:
toStringin interfaceRelationship- Overrides:
toStringin classObject- Returns:
- The string representation of this Relationship.
-