Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.temporal
Class ObjectKey

java.lang.Object
  extended by oracle.iam.rm.temporal.ObjectKey

All Implemented Interfaces:
oracle.iam.rm.util.xml.XMLMapped

public final class ObjectKey
extends java.lang.Object
implements oracle.iam.rm.util.xml.XMLMapped

Class that must be used for an object that can identify a temporal object.


Constructor Summary
ObjectKey()
          Method used for unmarshalling by XMLMapped package.
ObjectKey(java.lang.String type, long uniqueIdentifier)
          Creates an ObjectKey instance with the provided type and identifier.

 

Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getType()
          Gets the root type of the object that the key identifies.
 long getUniqueId()
          Gets the numeric identifier of the object that the key identifies.
 oracle.iam.rm.util.xml.XMLMappingInfo getXmlMappingInfo()
          Gets the XMLMappingInfo for this object (class), supporting the system's Object to XML mapping technology.
 int hashCode()
           
 void setType(java.lang.String type)
          Sets the root type of the object that the key identifies.
 void setUniqueId(long userID)
          Sets the numeric identifier of the object that the key identifies.
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ObjectKey

public ObjectKey()
Method used for unmarshalling by XMLMapped package. Do not use for normal operation.

ObjectKey

public ObjectKey(java.lang.String type,
                 long uniqueIdentifier)
Creates an ObjectKey instance with the provided type and identifier.
Parameters:
type - the root type of the object that the key identifies (must not be null)
uniqueIdentifier - the numeric identifier of the object that the key identifies

Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getType

public java.lang.String getType()
Gets the root type of the object that the key identifies.
Returns:
the root type of the object that the key identifies

getUniqueId

public long getUniqueId()
Gets the numeric identifier of the object that the key identifies.
Returns:
the numeric identifier of the object that the key identifies

setType

public void setType(java.lang.String type)
Sets the root type of the object that the key identifies. Support for XMLMapped. Do not use for normal operation.
Parameters:
type - the root type of the object that the key identifies.

setUniqueId

public void setUniqueId(long userID)
Sets the numeric identifier of the object that the key identifies. Support for XMLMapped. Do not use for normal operation.
Parameters:
userID - the numeric identifier of the object that the key identifies

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getXmlMappingInfo

public oracle.iam.rm.util.xml.XMLMappingInfo getXmlMappingInfo()
Gets the XMLMappingInfo for this object (class), supporting the system's Object to XML mapping technology. Do not use this method directly as it may be removed in future releases.
Specified by:
getXmlMappingInfo in interface oracle.iam.rm.util.xml.XMLMapped
Returns:
the XMLMappingInfo for this object (class).

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.