org.alfresco.repo.avm
Class AVMStorePropertyImpl

java.lang.Object
  extended by org.alfresco.repo.avm.AVMStorePropertyImpl
All Implemented Interfaces:
java.io.Serializable, AVMStoreProperty

public class AVMStorePropertyImpl
extends java.lang.Object
implements AVMStoreProperty, java.io.Serializable

Simple bean to hold properties attached to AVMStores.

See Also:
Serialized Form

Constructor Summary
AVMStorePropertyImpl()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
protected  java.lang.Long getId()
          Get the primary key.
 org.alfresco.service.namespace.QName getQname()
          Get the property type.
 AVMStore getStore()
          Get the store this property belongs to.
 PropertyValue getValue()
          Get the actual property value.
 int hashCode()
           
protected  void setId(java.lang.Long id)
          Set the primary key.
 void setQname(org.alfresco.service.namespace.QName qname)
          Set the property type.
 void setStore(AVMStore store)
          Set the store that this property belongs to.
 void setValue(PropertyValue value)
          Set the actual property value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AVMStorePropertyImpl

public AVMStorePropertyImpl()
Method Detail

getQname

public org.alfresco.service.namespace.QName getQname()
Get the property type.

Specified by:
getQname in interface AVMStoreProperty
Returns:
returns the store property QName

setQname

public void setQname(org.alfresco.service.namespace.QName qname)
Set the property type.

Specified by:
setQname in interface AVMStoreProperty
Parameters:
qname - the store property QName

getStore

public AVMStore getStore()
Get the store this property belongs to.

Specified by:
getStore in interface AVMStoreProperty
Returns:
The AVMStore that owns this.

setStore

public void setStore(AVMStore store)
Set the store that this property belongs to.

Specified by:
setStore in interface AVMStoreProperty
Parameters:
store - The AVMStore.

getValue

public PropertyValue getValue()
Get the actual property value.

Specified by:
getValue in interface AVMStoreProperty
Returns:
A PropertyValue object.

setValue

public void setValue(PropertyValue value)
Set the actual property value.

Specified by:
setValue in interface AVMStoreProperty
Parameters:
value - The PropertyValue to set.

setId

protected void setId(java.lang.Long id)
Set the primary key. (For Hibernate)

Parameters:
id - The primary key.

getId

protected java.lang.Long getId()
Get the primary key. (For Hibernate)

Returns:
The primary key.

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.