Package org.nuxeo.ecm.core.storage
Interface StateAccessor
- 
- All Known Implementing Classes:
- Node,- State,- State.StateDiff
 
 public interface StateAccessorBasic interface to get/put simple values or arrays from a state object.- Since:
- 7.3
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Object[]getArray(String name)Gets an array value.ObjectgetSingle(String name)Gets a single value.voidsetArray(String name, Object[] value)Sets an array value.voidsetSingle(String name, Object value)Sets a single value.
 
- 
- 
- 
Method Detail- 
getSingleObject getSingle(String name) throws PropertyException Gets a single value.- Parameters:
- name- the name
- Returns:
- the value
- Throws:
- PropertyException
 
 - 
getArrayObject[] getArray(String name) throws PropertyException Gets an array value.- Parameters:
- name- the name
- Returns:
- the value
- Throws:
- PropertyException
 
 - 
setSinglevoid setSingle(String name, Object value) throws PropertyException Sets a single value.- Parameters:
- name- the name
- value- the value
- Throws:
- PropertyException
 
 - 
setArrayvoid setArray(String name, Object[] value) throws PropertyException Sets an array value.- Parameters:
- name- the name
- value- the value
- Throws:
- PropertyException
 
 
- 
 
-