Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.impl
Class DocumentLocationImpl

java.lang.Object
  extended by org.nuxeo.ecm.core.api.impl.DocumentLocationImpl
All Implemented Interfaces:
Serializable, DocumentLocation
Direct Known Subclasses:
ExtendedDocumentLocation

public class DocumentLocationImpl
extends Object
implements DocumentLocation

See Also:
Serialized Form

Constructor Summary
DocumentLocationImpl(DocumentModel doc)
           
DocumentLocationImpl(String serverName, DocumentRef docRef)
           
DocumentLocationImpl(String serverName, IdRef idRef, PathRef pathRef)
           
 
Method Summary
 boolean equals(Object obj)
           
 DocumentRef getDocRef()
          Returns the document reference.
 IdRef getIdRef()
          Returns the document id reference
 PathRef getPathRef()
          Returns the document path reference
 String getServerName()
          Returns the document server name.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentLocationImpl

public DocumentLocationImpl(DocumentModel doc)

DocumentLocationImpl

public DocumentLocationImpl(String serverName,
                            IdRef idRef,
                            PathRef pathRef)

DocumentLocationImpl

public DocumentLocationImpl(String serverName,
                            DocumentRef docRef)
Method Detail

getDocRef

public DocumentRef getDocRef()
Description copied from interface: DocumentLocation
Returns the document reference.

Specified by:
getDocRef in interface DocumentLocation

getServerName

public String getServerName()
Description copied from interface: DocumentLocation
Returns the document server name.

Specified by:
getServerName in interface DocumentLocation

getIdRef

public IdRef getIdRef()
Description copied from interface: DocumentLocation
Returns the document id reference

Specified by:
getIdRef in interface DocumentLocation

getPathRef

public PathRef getPathRef()
Description copied from interface: DocumentLocation
Returns the document path reference

Specified by:
getPathRef in interface DocumentLocation

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.