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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user