Skip navigation links


oracle.iam.identity.orgmgmt.vo
Class Organization

java.lang.Object
  extended by oracle.iam.identity.orgmgmt.vo.Organization

All Implemented Interfaces:
java.io.Serializable, Identity
Direct Known Subclasses:
Organization

public class Organization
extends java.lang.Object
implements Identity

The Organization class is a value object class to hold the GUID, attribute name-value pair and child Organizations of an Organization.

See Also:
Serialized Form

Constructor Summary
Organization()
          Constructs an empty Organization object.
Organization(java.lang.String entityId)
          Constructs an Organization object with GUID entityId.
Organization(java.lang.String entityId, java.util.HashMap attributes)
          Constructs an Organization object with GUID entityId and a map of attribute name-value pairs.

 

Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Get the value of the specified Organization attribute name.
 java.util.Set getAttributeNames()
          Returns a Set of all attribute names for this Organization.
 java.util.HashMap getAttributes()
          Returns a map of all attribute-value pairs for this Organization.
 java.lang.String getEntityId()
          Returns GUID of the Organization.
 void setAttribute(java.lang.String name, java.lang.Object value)
          Adds the attribute name and it's value value.
 java.lang.String toString()
          Returns the string representation of this Organization.

 

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

 

Constructor Detail

Organization

public Organization()
Constructs an empty Organization object.

Organization

public Organization(java.lang.String entityId)
Constructs an Organization object with GUID entityId.
Parameters:
entityId - The GUID of the Organization.

Organization

public Organization(java.lang.String entityId,
                    java.util.HashMap attributes)
Constructs an Organization object with GUID entityId and a map of attribute name-value pairs.
Parameters:
entityId - The GUID of the Organization.
attributes - The map of attribute name-value pairs.

Method Detail

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
Adds the attribute name and it's value value.
Specified by:
setAttribute in interface Identity
Parameters:
name - The attribute to be added.
value - The value of the attribute.

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Get the value of the specified Organization attribute name.
Specified by:
getAttribute in interface Identity
Parameters:
name - The attribute whose value is to be returned.
Returns:
Value of the attribute. null if the attribute is not present.

getAttributes

public java.util.HashMap getAttributes()
Returns a map of all attribute-value pairs for this Organization.
Specified by:
getAttributes in interface Identity
Returns:
A map of all attribute-value pairs of this Organization.

getAttributeNames

public java.util.Set getAttributeNames()
Returns a Set of all attribute names for this Organization.
Specified by:
getAttributeNames in interface Identity
Returns:
A Set of all attribute names for this Organization.

getEntityId

public java.lang.String getEntityId()
Returns GUID of the Organization.
Specified by:
getEntityId in interface Identity
Returns:
GUID of the Organization.

toString

public java.lang.String toString()
Returns the string representation of this Organization.
Specified by:
toString in interface Identity
Overrides:
toString in class java.lang.Object
Returns:
String representation of this Organization.

Skip navigation links


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