public class DefaultFeatureExtraColumns extends java.lang.Object implements FeatureExtraColumns
Constructor and Description |
---|
DefaultFeatureExtraColumns() |
Modifier and Type | Method and Description |
---|---|
EditableFeatureAttributeDescriptor |
add(java.lang.String name,
int type) |
void |
clear() |
void |
copyFrom(FeatureExtraColumns extraColumn) |
void |
fromJson(JsonObject json) |
EditableFeatureAttributeDescriptor |
get(int index) |
EditableFeatureAttributeDescriptor |
get(java.lang.String columnName) |
java.util.List<EditableFeatureAttributeDescriptor> |
getColumns() |
FeatureExtraColumns |
getCopy() |
int |
getIndexOf(java.lang.String name) |
boolean |
isEmpty() |
java.util.Iterator<EditableFeatureAttributeDescriptor> |
iterator() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
merge(FeatureExtraColumns other) |
static void |
registerPersistent() |
void |
remove(java.lang.String attribute) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
static void |
selfRegister() |
int |
size() |
JsonObject |
toJson() |
JsonObjectBuilder |
toJsonBuilder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toJson, toJsonBuilder
public boolean isEmpty()
isEmpty
in interface FeatureExtraColumns
public EditableFeatureAttributeDescriptor get(java.lang.String columnName)
get
in interface FeatureExtraColumns
public EditableFeatureAttributeDescriptor add(java.lang.String name, int type)
add
in interface FeatureExtraColumns
public java.util.List<EditableFeatureAttributeDescriptor> getColumns()
getColumns
in interface FeatureExtraColumns
public void merge(FeatureExtraColumns other)
merge
in interface FeatureExtraColumns
public int getIndexOf(java.lang.String name)
getIndexOf
in interface FeatureExtraColumns
public EditableFeatureAttributeDescriptor get(int index)
get
in interface FeatureExtraColumns
public int size()
size
in interface FeatureExtraColumns
public void copyFrom(FeatureExtraColumns extraColumn)
copyFrom
in interface FeatureExtraColumns
public void clear()
clear
in interface FeatureExtraColumns
public FeatureExtraColumns getCopy()
getCopy
in interface FeatureExtraColumns
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException
public static void registerPersistent()
public void remove(java.lang.String attribute)
remove
in interface FeatureExtraColumns
public void fromJson(JsonObject json)
fromJson
in interface SupportFromJson
public JsonObject toJson()
toJson
in interface SupportToJson
public JsonObjectBuilder toJsonBuilder()
toJsonBuilder
in interface SupportToJson
public java.util.Iterator<EditableFeatureAttributeDescriptor> iterator()
iterator
in interface java.lang.Iterable<EditableFeatureAttributeDescriptor>
public static void selfRegister()