Class DataModelProperties
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,String>
-
- org.nuxeo.ecm.automation.core.util.Properties
-
- org.nuxeo.ecm.automation.core.util.DataModelProperties
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,String>
public class DataModelProperties extends Properties
Initialize aProperties
object from one or moreDataModel
s.This object can then be passed to any operation accepting
Properties
.- Since:
- 5.7
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
onlyDirtyProperties
protected Map<String,Serializable>
properties
-
Fields inherited from class org.nuxeo.ecm.automation.core.util.Properties
IS_PROPERTY_VALUE_TRIMMED_KEY, multiLineEscape, PROPERTIES_MULTILINE_ESCAPE
-
-
Constructor Summary
Constructors Constructor Description DataModelProperties()
DataModelProperties(List<DataModel> dms)
DataModelProperties(List<DataModel> dms, boolean onlyDirtyProperties)
DataModelProperties(DataModel dm)
DataModelProperties(DataModel dm, boolean onlyDirtyProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDataModel(DataModel dm)
boolean
equals(Object obj)
Map<String,Serializable>
getMap()
int
hashCode()
String
toString()
-
Methods inherited from class org.nuxeo.ecm.automation.core.util.Properties
isPropertyValueTrimmed, loadProperties, loadProperties
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Field Detail
-
onlyDirtyProperties
protected boolean onlyDirtyProperties
-
properties
protected Map<String,Serializable> properties
-
-
Constructor Detail
-
DataModelProperties
public DataModelProperties()
-
DataModelProperties
public DataModelProperties(DataModel dm, boolean onlyDirtyProperties) throws PropertyException
- Throws:
PropertyException
-
DataModelProperties
public DataModelProperties(List<DataModel> dms, boolean onlyDirtyProperties) throws PropertyException
- Throws:
PropertyException
-
DataModelProperties
public DataModelProperties(DataModel dm) throws PropertyException
- Throws:
PropertyException
-
DataModelProperties
public DataModelProperties(List<DataModel> dms) throws PropertyException
- Throws:
PropertyException
-
-
Method Detail
-
addDataModel
public void addDataModel(DataModel dm) throws PropertyException
- Throws:
PropertyException
-
getMap
public Map<String,Serializable> getMap()
-
toString
public String toString()
- Overrides:
toString
in classAbstractMap<String,String>
-
hashCode
public int hashCode()
-
-