mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Interim checkin. Attributes basically work.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -27,6 +27,8 @@ package org.alfresco.repo.attributes;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.alfresco.repo.avm.AVMDAOs;
|
||||
|
||||
/**
|
||||
* Persistent implemantation of a Serializable attribute.
|
||||
* @author britt
|
||||
@@ -38,9 +40,20 @@ public class SerializableAttributeImpl extends AttributeImpl implements
|
||||
|
||||
private Serializable fValue;
|
||||
|
||||
public SerializableAttributeImpl()
|
||||
{
|
||||
}
|
||||
|
||||
public SerializableAttributeImpl(Serializable value)
|
||||
{
|
||||
fValue = value;
|
||||
AVMDAOs.Instance().fAttributeDAO.save(this);
|
||||
}
|
||||
|
||||
public SerializableAttributeImpl(SerializableAttribute attr)
|
||||
{
|
||||
fValue = attr.getSerializableValue();
|
||||
AVMDAOs.Instance().fAttributeDAO.save(this);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
Reference in New Issue
Block a user