MOB-378 (AtomPub binding) Support for sub-types (and properties)

- 1st pass at creation of document / folder sub-types
- 1st pass at setting / updating custom properties
- Existing AtomPub CMIS Tests passing

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-03-22 15:23:53 +00:00
parent 3f78bf9b32
commit 384f4abdf9
25 changed files with 417 additions and 272 deletions

View File

@@ -24,7 +24,9 @@
*/
package org.alfresco.cmis.property;
import org.alfresco.cmis.dictionary.CMISMapping;
import org.alfresco.cmis.dictionary.CMISScope;
import org.alfresco.service.ServiceRegistry;
/**
* Base class for named property accessors
@@ -35,26 +37,24 @@ import org.alfresco.cmis.dictionary.CMISScope;
public abstract class AbstractNamedPropertyAccessor extends AbstractPropertyAccessor implements NamedPropertyAccessor
{
private String propertyName;
private CMISScope scope;
public String getPropertyName()
{
return propertyName;
}
public void setPropertyName(String propertyName)
protected AbstractNamedPropertyAccessor(CMISMapping cmisMapping, ServiceRegistry serviceRegistry, CMISScope scope, String propertyName)
{
super(cmisMapping, serviceRegistry);
this.scope = scope;
this.propertyName = propertyName;
}
public CMISScope getScope()
{
return scope;
}
public void setScope(CMISScope scope)
public String getPropertyName()
{
this.scope = scope;
return propertyName;
}
}