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.StringPROTOCOL_ARCHIVEstatic java.lang.StringPROTOCOL_AVMstatic java.lang.StringPROTOCOL_DELETEDstatic java.lang.StringPROTOCOL_TESTstatic java.lang.StringPROTOCOL_WORKSPACEstatic StoreRefSTORE_REF_ARCHIVE_SPACESSTOREstatic StoreRefSTORE_REF_WORKSPACE_SPACESSTOREstatic java.lang.StringURI_FILLER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetIdentifier()java.lang.StringgetProtocol()inthashCode()Creates a hashcode from both thegetProtocol()andgetIdentifier()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Creates a hashcode from both thegetProtocol()andgetIdentifier()- Overrides:
hashCodein classjava.lang.Object
-
getProtocol
public java.lang.String getProtocol()
-
getIdentifier
public java.lang.String getIdentifier()
-
-