org.alfresco.service.cmr.repository
Class StoreRef
java.lang.Object
org.alfresco.service.cmr.repository.StoreRef
- All Implemented Interfaces:
- java.io.Serializable, EntityRef
public final class StoreRef
- extends java.lang.Object
- implements EntityRef, java.io.Serializable
Reference to a node store
- See Also:
- Serialized Form
Constructor Summary |
StoreRef(java.lang.String string)
|
StoreRef(java.lang.String protocol,
java.lang.String identifier)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PROTOCOL_WORKSPACE
public static final java.lang.String PROTOCOL_WORKSPACE
- See Also:
- Constant Field Values
PROTOCOL_ARCHIVE
public static final java.lang.String PROTOCOL_ARCHIVE
- See Also:
- Constant Field Values
PROTOCOL_AVM
public static final java.lang.String PROTOCOL_AVM
- See Also:
- Constant Field Values
PROTOCOL_TEST
public static final java.lang.String PROTOCOL_TEST
- See Also:
- Constant Field Values
PROTOCOL_DELETED
public static final java.lang.String PROTOCOL_DELETED
- See Also:
- Constant Field Values
STORE_REF_WORKSPACE_SPACESSTORE
public static final StoreRef STORE_REF_WORKSPACE_SPACESSTORE
STORE_REF_ARCHIVE_SPACESSTORE
public static final StoreRef STORE_REF_ARCHIVE_SPACESSTORE
URI_FILLER
public static final java.lang.String URI_FILLER
- See Also:
- Constant Field Values
StoreRef
public StoreRef(java.lang.String protocol,
java.lang.String identifier)
- Parameters:
protocol
- well-known protocol for the store, e.g. workspace or
versionstoreidentifier
- the identifier, which may be specific to the protocol
StoreRef
public StoreRef(java.lang.String string)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Creates a hashcode from both the
StoreRef.getProtocol()
and StoreRef.getIdentifier()
- Overrides:
hashCode
in class java.lang.Object
getProtocol
public java.lang.String getProtocol()
getIdentifier
public java.lang.String getIdentifier()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.