@AlfrescoPublicApi public final class StoreRef extends java.lang.Object implements EntityRef, java.io.Serializable
Modifier and Type | Field and 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 |
Constructor and Description |
---|
StoreRef(java.lang.String string) |
StoreRef(java.lang.String protocol,
java.lang.String identifier) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentifier() |
java.lang.String |
getProtocol() |
int |
hashCode()
Creates a hashcode from both the
StoreRef.getProtocol() and StoreRef.getIdentifier() |
java.lang.String |
toString() |
public static final java.lang.String PROTOCOL_WORKSPACE
public static final java.lang.String PROTOCOL_ARCHIVE
public static final java.lang.String PROTOCOL_AVM
public static final java.lang.String PROTOCOL_TEST
public static final java.lang.String PROTOCOL_DELETED
public static final StoreRef STORE_REF_WORKSPACE_SPACESSTORE
public static final StoreRef STORE_REF_ARCHIVE_SPACESSTORE
public static final java.lang.String URI_FILLER
public StoreRef(java.lang.String protocol, java.lang.String identifier)
protocol
- well-known protocol for the store, e.g. workspace or
versionstoreidentifier
- the identifier, which may be specific to the protocolpublic StoreRef(java.lang.String string)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
StoreRef.getProtocol()
and StoreRef.getIdentifier()
hashCode
in class java.lang.Object
public java.lang.String getProtocol()
public java.lang.String getIdentifier()
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.