public abstract class AbstractProxyLayerRecord extends AbstractLayerRecord
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractProxyLayerRecord(AbstractRecordLayer layer) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelChanges()
Internal method to revert the records values to the original
|
void |
clearChanges() |
protected void |
finalize() |
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue) |
protected LayerRecord |
getLayerRecord() |
<T> T |
getOriginalValue(String name) |
protected Record |
getRecord() |
RecordState |
getState() |
<T> T |
getValue(int index)
Get the value of the attribute with the specified index.
|
boolean |
isDeleted() |
boolean |
isGeometryEditable() |
boolean |
isModified() |
boolean |
isModified(String name) |
boolean |
isSame(Record record) |
LayerRecord |
revertChanges() |
void |
setState(RecordState state) |
void |
setValue(int index,
Object value)
Set the value of the attribute with the specified name.
|
getLayer, getRecordDefinition, isDeletable, isEventsEnabled, isModified, isValid, isValid, postSaveDeleted, postSaveModified, postSaveNew, revertEmptyFields, setEventsEnabled, validateclone, compareTo, delete, entrySet, equals, get, getByte, getDouble, getFactory, getFieldTitle, getFloat, getGeometryValue, getIdentifier, getIdentifier, getIdentifier, getIdValue, getInteger, getLong, getShort, getString, getTypeName, getValue, getValueByPath, getValueMap, getValues, hasField, hasValue, hasValuesAny, put, setGeometryValue, setIdentifier, setIdValue, setValue, setValueByPath, setValueByPath, setValues, setValues, setValues, setValues, setValuesByPath, toString, updateStateclear, containsKey, containsValue, hashCode, isEmpty, keySet, putAll, remove, size, valuesclone, delete, getByte, getDouble, getFactory, getFieldTitle, getFloat, getGeometryValue, getIdentifier, getIdentifier, getIdValue, getInteger, getLong, getShort, getString, getTypeName, getValue, getValueByPath, getValueMap, getValues, hasField, hasValue, hasValuesAny, setGeometryValue, setIdentifier, setIdValue, setValue, setValueByPath, setValueByPath, setValues, setValues, setValues, setValues, setValuesByPathclear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, valuescompareTogetIdentifierpublic AbstractProxyLayerRecord(AbstractRecordLayer layer)
public void cancelChanges()
AbstractLayerRecordcancelChanges in interface LayerRecordcancelChanges in class AbstractLayerRecordpublic void clearChanges()
clearChanges in interface LayerRecordclearChanges in class AbstractLayerRecordprotected void finalize()
throws Throwable
public void firePropertyChange(String propertyName, Object oldValue, Object newValue)
firePropertyChange in interface LayerRecordfirePropertyChange in class AbstractLayerRecordprotected LayerRecord getLayerRecord()
public <T> T getOriginalValue(String name)
getOriginalValue in interface LayerRecordgetOriginalValue in class AbstractLayerRecordprotected Record getRecord()
public RecordState getState()
public <T> T getValue(int index)
Recordindex - The index of the attribute.public boolean isDeleted()
isDeleted in interface LayerRecordisDeleted in class AbstractLayerRecordpublic boolean isGeometryEditable()
isGeometryEditable in interface LayerRecordisGeometryEditable in class AbstractLayerRecordpublic boolean isModified()
isModified in interface RecordisModified in class AbstractLayerRecordpublic boolean isModified(String name)
isModified in interface LayerRecordisModified in class AbstractLayerRecordpublic boolean isSame(Record record)
isSame in interface LayerRecordisSame in class AbstractLayerRecordpublic LayerRecord revertChanges()
revertChanges in interface LayerRecordrevertChanges in class AbstractLayerRecordpublic void setState(RecordState state)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.