Class StoreRef
- java.lang.Object
-
- org.alfresco.service.cmr.repository.StoreRef
-
- All Implemented Interfaces:
java.io.Serializable
,EntityRef
@AlfrescoPublicApi public final class StoreRef extends java.lang.Object implements EntityRef, java.io.Serializable
Reference to a node store- Author:
- Derek Hulley
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROTOCOL_ARCHIVE
static java.lang.String
PROTOCOL_AVM
static java.lang.String
PROTOCOL_DELETED
static java.lang.String
PROTOCOL_TEST
static java.lang.String
PROTOCOL_WORKSPACE
static StoreRef
STORE_REF_ARCHIVE_SPACESSTORE
static StoreRef
STORE_REF_WORKSPACE_SPACESSTORE
static java.lang.String
URI_FILLER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getIdentifier()
java.lang.String
getProtocol()
int
hashCode()
Creates a hashcode from both thegetProtocol()
andgetIdentifier()
java.lang.String
toString()
-
-
-
Field Detail
-
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
-
-
Constructor Detail
-
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)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Creates a hashcode from both thegetProtocol()
andgetIdentifier()
- Overrides:
hashCode
in classjava.lang.Object
-
getProtocol
public java.lang.String getProtocol()
-
getIdentifier
public java.lang.String getIdentifier()
-
-