Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.core.id
Class XObjectID

java.lang.Object
  extended by waggle.core.id.XObjectID

All Implemented Interfaces:
Serializable, Comparable<XObjectID>

public final class XObjectID
extends Object
implements Serializable, Comparable<XObjectID>

Object IDs.

See Also:
Serialized Form

Constructor Summary
XObjectID()
          Extra constructor for SOAP use only!
XObjectID(long id)
          Create an XObjectID.

 

Method Summary
 int compareTo(XObjectID obj)
           
 boolean equals(Object obj)
           
 long getLongValue()
          Extra getter for SOAP use only!
 int hashCode()
           
 void setLongValue(long longValue)
          Extra setter for SOAP use only!
 long toLong()
          Return the XObjectID as a long integer.
 String toString()
           
static XObjectID valueOf(Long id)
          Create an Object ID from a String representation.
static XObjectID valueOf(String id)
          Create an Object ID from a String representation.

 

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

 

Constructor Detail

XObjectID

public XObjectID(long id)
Create an XObjectID.
Parameters:
id - The ID.

XObjectID

public XObjectID()
Extra constructor for SOAP use only! Other code should call valueOf instead.

Method Detail

valueOf

public static XObjectID valueOf(Long id)
Create an Object ID from a String representation.
Parameters:
id - The Object ID as a String.
Returns:
The new unique Object ID.

valueOf

public static XObjectID valueOf(String id)
Create an Object ID from a String representation.
Parameters:
id - The Object ID as a String.
Returns:
The new unique Object ID.

toLong

public long toLong()
Return the XObjectID as a long integer.
Returns:
the XObjectID as a long integer

getLongValue

public long getLongValue()
Extra getter for SOAP use only! Other code should call toLong instead.
Returns:
the XObjectID as a long integer

setLongValue

public void setLongValue(long longValue)
Extra setter for SOAP use only! Other code should call valueOf instead.
Parameters:
longValue - the XObjectID as a long integer

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(XObjectID obj)
Specified by:
compareTo in interface Comparable<XObjectID>

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


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