org.nuxeo.ecm.automation.client.model
Class PropertyMap
java.lang.Object
org.nuxeo.ecm.automation.client.model.PropertyMap
- All Implemented Interfaces:
- Serializable
public class PropertyMap
- extends Object
- implements Serializable
A flat representation of a document properties. Dates are in
YYYY-MM-DDThh:mm:ssZ (UTC) format
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Method Summary |
Object |
get(String key)
|
Blob |
getBlob(String key)
|
Boolean |
getBoolean(String key)
|
Boolean |
getBoolean(String key,
Boolean defValue)
|
Date |
getDate(String key)
|
Date |
getDate(String key,
Date defValue)
|
Double |
getDouble(String key)
|
Double |
getDouble(String key,
Double defValue)
|
Set<String> |
getKeys()
|
PropertyList |
getList(String key)
|
PropertyList |
getList(String key,
PropertyList defValue)
|
Long |
getLong(String key)
|
Long |
getLong(String key,
Long defValue)
|
PropertyMap |
getMap(String key)
|
PropertyMap |
getMap(String key,
PropertyMap defValue)
|
String |
getString(String key)
|
String |
getString(String key,
String defValue)
|
boolean |
isEmpty()
|
Map<String,Object> |
map()
|
void |
set(String key,
Boolean value)
|
void |
set(String key,
Date value)
|
void |
set(String key,
Double value)
|
void |
set(String key,
Long value)
|
void |
set(String key,
PropertyList value)
|
void |
set(String key,
PropertyMap value)
|
void |
set(String key,
String value)
|
int |
size()
|
String |
toString()
|
PropertyMap
public PropertyMap()
PropertyMap
public PropertyMap(PropertyMap props)
PropertyMap
public PropertyMap(Map<String,Object> map)
PropertyMap
public PropertyMap(int size)
getString
public String getString(String key)
getBoolean
public Boolean getBoolean(String key)
getLong
public Long getLong(String key)
getDouble
public Double getDouble(String key)
getDate
public Date getDate(String key)
getList
public PropertyList getList(String key)
getMap
public PropertyMap getMap(String key)
getString
public String getString(String key,
String defValue)
getBlob
public Blob getBlob(String key)
getBoolean
public Boolean getBoolean(String key,
Boolean defValue)
getLong
public Long getLong(String key,
Long defValue)
getDouble
public Double getDouble(String key,
Double defValue)
getDate
public Date getDate(String key,
Date defValue)
getList
public PropertyList getList(String key,
PropertyList defValue)
getMap
public PropertyMap getMap(String key,
PropertyMap defValue)
get
public Object get(String key)
getKeys
public Set<String> getKeys()
size
public int size()
isEmpty
public boolean isEmpty()
set
public void set(String key,
String value)
set
public void set(String key,
Boolean value)
set
public void set(String key,
Long value)
set
public void set(String key,
Double value)
set
public void set(String key,
Date value)
set
public void set(String key,
PropertyList value)
set
public void set(String key,
PropertyMap value)
map
public Map<String,Object> map()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 Nuxeo SAS. All Rights Reserved.