public class DefaultCustomData extends AbstractInstanceResource implements CustomData
deletedPropertyNames, dirty, dirtyProperties, HREF_PROP_NAME, properties, readLock, referenceFactory, writeLock| Constructor and Description |
|---|
DefaultCustomData(InternalDataStore dataStore) |
DefaultCustomData(InternalDataStore dataStore,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
void |
delete() |
void |
deleteRemovedProperties() |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
Date |
getCreatedAt() |
Date |
getModifiedAt() |
Map<String,Property> |
getPropertyDescriptors() |
boolean |
hasNewProperties() |
boolean |
hasRemovedProperties() |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> m) |
Object |
remove(Object key) |
void |
save() |
int |
size() |
Collection<Object> |
values() |
createPropertyDescriptorMap, equals, getBoolean, getBooleanProperty, getDataStore, getDateProperty, getDeletedPropertyNames, getHref, getInt, getIntProperty, getProperty, getPropertyNames, getResourceProperty, getString, getStringProperty, getUpdatedPropertyNames, hashCode, isDirty, isMaterialized, isNew, isPrintableProperty, materialize, setProperties, setProperty, setProperty, setProperty, setResourceProperty, toStringpublic DefaultCustomData(InternalDataStore dataStore)
public DefaultCustomData(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic Date getCreatedAt()
getCreatedAt in interface CustomDatapublic Date getModifiedAt()
getModifiedAt in interface CustomDatapublic boolean containsKey(Object key)
containsKey in interface Map<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>public void save()
save in interface Saveablesave in class AbstractInstanceResourcepublic void deleteRemovedProperties()
public boolean hasRemovedProperties()
public boolean hasNewProperties()
Copyright © 2012–2014. All rights reserved.