com.agfa.hap.sdo.model
Class ObjectReference

java.lang.Object
  extended by com.agfa.hap.sdo.model.ObjectReference
All Implemented Interfaces:
java.io.Serializable

public class ObjectReference
extends java.lang.Object
implements java.io.Serializable

Encapsulate a reference to a server-side object. Can be converted to and from a URI.

Author:
AMOCZ
See Also:
Serialized Form

Constructor Summary
ObjectReference(java.lang.String uri)
           
ObjectReference(Type type, Identity id)
           
ObjectReference(java.net.URI uri)
           
 
Method Summary
 java.net.URI asURI()
           
 PartialDataObject createProxy()
           
 boolean equals(java.lang.Object other)
           
 Identity getId()
           
 Type getType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectReference

public ObjectReference(java.lang.String uri)

ObjectReference

public ObjectReference(java.net.URI uri)

ObjectReference

public ObjectReference(Type type,
                       Identity id)
Method Detail

getId

public Identity getId()

getType

public Type getType()

asURI

public java.net.URI asURI()

createProxy

public PartialDataObject createProxy()

toString

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

equals

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

hashCode

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


Copyright © 2007. All Rights Reserved.