org.nuxeo.ecm.core.api.model.impl.osm
Class DynamicObjectAdapter
java.lang.Object
org.nuxeo.ecm.core.api.model.impl.osm.DynamicObjectAdapter
- All Implemented Interfaces:
- Serializable, ObjectAdapter
- Direct Known Subclasses:
- BlobObjectAdapter
public abstract class DynamicObjectAdapter
- extends Object
- implements ObjectAdapter
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
addField
public void addField(String name,
String property)
throws PropertyException
- Throws:
PropertyException
addField
public void addField(String name,
String property,
boolean isReadOnly)
throws PropertyException
- Throws:
PropertyException
getMap
public Map<String,Object> getMap(Object object)
throws PropertyException
- Specified by:
getMap
in interface ObjectAdapter
- Throws:
PropertyException
setMap
public void setMap(Object object,
Map<String,Object> value)
throws PropertyException
- Specified by:
setMap
in interface ObjectAdapter
- Throws:
PropertyException
getValue
public Object getValue(Object object,
String name)
throws PropertyException
- Specified by:
getValue
in interface ObjectAdapter
- Throws:
PropertyException
setValue
public void setValue(Object object,
String name,
Object value)
throws PropertyException
- Specified by:
setValue
in interface ObjectAdapter
- Throws:
PropertyException
getAdapter
public ObjectAdapter getAdapter(String name)
throws PropertyNotFoundException
- Specified by:
getAdapter
in interface ObjectAdapter
- Throws:
PropertyNotFoundException
getDefaultValue
public Serializable getDefaultValue()
- Specified by:
getDefaultValue
in interface ObjectAdapter
Copyright © 2011 Nuxeo SAS. All Rights Reserved.