public class ArrayLayerRecord extends ArrayRecord implements LayerRecord
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>state| Constructor and Description |
|---|
ArrayLayerRecord(AbstractRecordLayer layer) |
ArrayLayerRecord(AbstractRecordLayer layer,
Map<String,? extends Object> values) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelChanges()
Internal method to revert the records values to the original
|
void |
clearChanges() |
void |
firePropertyChange(String fieldName,
Object oldValue,
Object newValue) |
Identifier |
getIdentifier() |
AbstractRecordLayer |
getLayer() |
<T> T |
getOriginalValue(String name) |
protected Object |
getSync() |
boolean |
isDeletable() |
boolean |
isDeleted() |
boolean |
isEventsEnabled() |
boolean |
isGeometryEditable() |
boolean |
isModified() |
boolean |
isModified(int index) |
boolean |
isModified(String name) |
boolean |
isSame(Record record) |
boolean |
isValid(int index) |
boolean |
isValid(String name) |
void |
postSaveDeleted() |
void |
postSaveModified() |
void |
postSaveNew() |
LayerRecord |
revertChanges() |
void |
revertEmptyFields() |
boolean |
setEventsEnabled(boolean eventsEnabled) |
void |
setValue(int index,
Object value)
Set the value of the attribute with the specified name.
|
void |
validate() |
clone, getValue, getValues, hashCodegetRecordDefinition, getState, setStatecompareTo, delete, entrySet, equals, get, getByte, getDouble, getFactory, getFieldTitle, getFloat, getGeometryValue, getIdentifier, getIdentifier, getIdValue, getInteger, getLong, getShort, getString, getTypeName, getValue, getValueByPath, getValueMap, hasField, hasValue, hasValuesAny, put, setGeometryValue, setIdentifier, setIdValue, setValue, setValueByPath, setValueByPath, setValues, setValues, setValues, setValues, setValuesByPath, toString, updateStateclear, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitclone, delete, getByte, getDouble, getFactory, getFieldTitle, getFloat, getGeometryValue, getIdentifier, getIdentifier, getIdValue, getInteger, getLong, getRecordDefinition, getShort, getState, getString, getTypeName, getValue, getValue, getValueByPath, getValueMap, getValues, hasField, hasValue, hasValuesAny, setGeometryValue, setIdentifier, setIdValue, setState, setValue, setValueByPath, setValueByPath, setValues, setValues, setValues, setValues, setValuesByPathclear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, valuescompareTopublic ArrayLayerRecord(AbstractRecordLayer layer)
public ArrayLayerRecord(AbstractRecordLayer layer, Map<String,? extends Object> values)
public void cancelChanges()
cancelChanges in interface LayerRecordpublic void clearChanges()
clearChanges in interface LayerRecordpublic void firePropertyChange(String fieldName, Object oldValue, Object newValue)
firePropertyChange in interface LayerRecordpublic Identifier getIdentifier()
getIdentifier in interface IdentifiablegetIdentifier in class AbstractRecordpublic AbstractRecordLayer getLayer()
getLayer in interface LayerRecordpublic <T> T getOriginalValue(String name)
getOriginalValue in interface LayerRecordprotected Object getSync()
public boolean isDeletable()
isDeletable in interface LayerRecordpublic boolean isDeleted()
isDeleted in interface LayerRecordpublic boolean isEventsEnabled()
isEventsEnabled in interface EventsEnablerpublic boolean isGeometryEditable()
isGeometryEditable in interface LayerRecordpublic boolean isModified()
isModified in interface RecordisModified in class AbstractRecordpublic boolean isModified(int index)
isModified in interface LayerRecordpublic boolean isModified(String name)
isModified in interface LayerRecordpublic boolean isSame(Record record)
isSame in interface LayerRecordpublic boolean isValid(int index)
isValid in interface RecordisValid in class AbstractRecordpublic boolean isValid(String name)
isValid in interface RecordisValid in class AbstractRecordpublic void postSaveDeleted()
postSaveDeleted in interface LayerRecordpublic void postSaveModified()
postSaveModified in interface LayerRecordpublic void postSaveNew()
postSaveNew in interface LayerRecordpublic LayerRecord revertChanges()
revertChanges in interface LayerRecordpublic void revertEmptyFields()
revertEmptyFields in interface LayerRecordpublic boolean setEventsEnabled(boolean eventsEnabled)
setEventsEnabled in interface EventsEnablerpublic void setValue(int index,
Object value)
ArrayRecordsetValue in interface RecordsetValue in class ArrayRecordindex - The index of the attribute. param value The attribute value.value - The new value.public void validate()
validate in interface LayerRecordCopyright © 2015 Revolution Systems Inc.. All rights reserved.