org.alfresco.repo.domain.hibernate
Class StoreImpl
java.lang.Object
org.alfresco.repo.domain.hibernate.StoreImpl
- All Implemented Interfaces:
- java.io.Serializable, Store
public class StoreImpl
- extends java.lang.Object
- implements Store, java.io.Serializable
Hibernate-specific implementation of the domain entity store.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
StoreImpl
public StoreImpl()
getStoreRef
public StoreRef getStoreRef()
- Lazily constructs
StoreRef
instance referencing this entity
- Specified by:
getStoreRef
in interface Store
- Returns:
- Returns the reference to the store
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
StoreImpl.getStoreRef()()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
- See Also:
#getKey()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
#getKey()
getId
public java.lang.Long getId()
- Specified by:
getId
in interface Store
- Returns:
- Returns the unique ID of the object
getProtocol
public java.lang.String getProtocol()
- Specified by:
getProtocol
in interface Store
- Returns:
- the store protocol
setProtocol
public void setProtocol(java.lang.String protocol)
- Specified by:
setProtocol
in interface Store
- Parameters:
protocol
- the store protocol
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in interface Store
- Returns:
- the store identifier
setIdentifier
public void setIdentifier(java.lang.String identifier)
- Specified by:
setIdentifier
in interface Store
- Parameters:
identifier
- the store identifier
getVersion
public java.lang.Long getVersion()
- Specified by:
getVersion
in interface Store
- Returns:
- Returns the current version number used for optimistic locking
getRootNode
public Node getRootNode()
- Specified by:
getRootNode
in interface Store
- Returns:
- Returns the root of the store
setRootNode
public void setRootNode(Node rootNode)
- Specified by:
setRootNode
in interface Store
- Parameters:
rootNode
- mandatory association to the root of the store
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.