public abstract class DynamicObjectAdapter extends Object implements ObjectAdapter
Modifier and Type | Method and Description |
---|---|
void |
addField(String name,
String property) |
void |
addField(String name,
String property,
boolean isReadOnly) |
ObjectAdapter |
getAdapter(String name) |
Serializable |
getDefaultValue() |
Map<String,Object> |
getMap(Object object) |
Object |
getValue(Object object,
String name) |
void |
setMap(Object object,
Map<String,Object> value) |
void |
setValue(Object object,
String name,
Object value) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public void addField(String name, String property) throws PropertyException
PropertyException
public void addField(String name, String property, boolean isReadOnly) throws PropertyException
PropertyException
public Map<String,Object> getMap(Object object) throws PropertyException
getMap
in interface ObjectAdapter
PropertyException
public void setMap(Object object, Map<String,Object> value) throws PropertyException
setMap
in interface ObjectAdapter
PropertyException
public Object getValue(Object object, String name) throws PropertyException
getValue
in interface ObjectAdapter
PropertyException
public void setValue(Object object, String name, Object value) throws PropertyException
setValue
in interface ObjectAdapter
PropertyException
public ObjectAdapter getAdapter(String name) throws PropertyNotFoundException
getAdapter
in interface ObjectAdapter
PropertyNotFoundException
public Serializable getDefaultValue()
getDefaultValue
in interface ObjectAdapter
Copyright © 2011 Nuxeo SA. All Rights Reserved.