public abstract class AbstractLayerRecord extends AbstractRecord implements LayerRecord
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractLayerRecord(AbstractRecordLayer layer) |
| 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) |
AbstractRecordLayer |
getLayer() |
<T> T |
getOriginalValue(String name) |
RecordDefinition |
getRecordDefinition()
Get the meta data describing the Record and it's attributes.
|
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 |
validate() |
clone, 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, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitclone, delete, getByte, getDouble, getFactory, getFieldTitle, getFloat, getGeometryValue, getIdentifier, getIdentifier, getIdValue, getInteger, getLong, getShort, getState, getString, getTypeName, getValue, getValue, getValueByPath, getValueMap, getValues, hasField, hasValue, hasValuesAny, setGeometryValue, setIdentifier, setIdValue, setState, setValue, setValue, setValueByPath, setValueByPath, setValues, setValues, setValues, setValues, setValuesByPathclear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, valuescompareTogetIdentifierpublic AbstractLayerRecord(AbstractRecordLayer layer)
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 AbstractRecordLayer getLayer()
getLayer in interface LayerRecordpublic <T> T getOriginalValue(String name)
getOriginalValue in interface LayerRecordpublic RecordDefinition getRecordDefinition()
RecordgetRecordDefinition in interface Recordpublic 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 validate()
validate in interface LayerRecordCopyright © 2015 Revolution Systems Inc.. All rights reserved.