Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.model.impl.osm
Interface ObjectAdapter

All Superinterfaces:
Serializable
All Known Implementing Classes:
BlobObjectAdapter, DynamicObjectAdapter

public interface ObjectAdapter
extends Serializable

Author:
Bogdan Stefanescu

Method Summary
 Object create(Map<String,Object> value)
           
 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)
           
 

Method Detail

create

Object create(Map<String,Object> value)

getMap

Map<String,Object> getMap(Object object)
                          throws PropertyException
Throws:
PropertyException

setMap

void setMap(Object object,
            Map<String,Object> value)
            throws PropertyException
Throws:
PropertyException

getValue

Object getValue(Object object,
                String name)
                throws PropertyException
Throws:
PropertyException

setValue

void setValue(Object object,
              String name,
              Object value)
              throws PropertyException
Throws:
PropertyException

getAdapter

ObjectAdapter getAdapter(String name)
                         throws PropertyNotFoundException
Throws:
PropertyNotFoundException

getDefaultValue

Serializable getDefaultValue()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.