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:
Britt Park
2007-04-18 23:25:53 +00:00
parent e2329988bd
commit bdae23b768
43 changed files with 1891 additions and 658 deletions

View File

@@ -25,6 +25,8 @@
package org.alfresco.repo.attributes;
import org.alfresco.repo.avm.AVMDAOs;
/**
* Persistent implementation of String valued attribute.
* @author britt
@@ -36,9 +38,20 @@ public class StringAttributeImpl extends AttributeImpl implements
private String fValue;
public StringAttributeImpl()
{
}
public StringAttributeImpl(String value)
{
fValue = value;
AVMDAOs.Instance().fAttributeDAO.save(this);
}
public StringAttributeImpl(StringAttribute attr)
{
fValue = attr.getStringValue();
AVMDAOs.Instance().fAttributeDAO.save(this);
}
/* (non-Javadoc)