Class DefaultFeatureExtraColumns

java.lang.Object
org.gvsig.fmap.dal.feature.impl.DefaultFeatureExtraColumns
All Implemented Interfaces:
Iterable<org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor>, org.gvsig.fmap.dal.feature.FeatureExtraColumns, org.gvsig.json.SupportFromJson, org.gvsig.json.SupportToJson, org.gvsig.tools.persistence.Persistent

public class DefaultFeatureExtraColumns extends Object implements org.gvsig.fmap.dal.feature.FeatureExtraColumns
Author:
osc
  • Constructor Details

    • DefaultFeatureExtraColumns

      public DefaultFeatureExtraColumns()
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • get

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor get(String columnName)
      Specified by:
      get in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • add

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor add(String name, int type)
      Specified by:
      add in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • getColumns

      public List<org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor> getColumns()
      Specified by:
      getColumns in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • merge

      public void merge(org.gvsig.fmap.dal.feature.FeatureExtraColumns other)
      Specified by:
      merge in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • getIndexOf

      public int getIndexOf(String name)
      Specified by:
      getIndexOf in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • get

      public org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor get(int index)
      Specified by:
      get in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • size

      public int size()
      Specified by:
      size in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • copyFrom

      public void copyFrom(org.gvsig.fmap.dal.feature.FeatureExtraColumns extraColumn)
      Specified by:
      copyFrom in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • clear

      public void clear()
      Specified by:
      clear in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • getCopy

      public org.gvsig.fmap.dal.feature.FeatureExtraColumns getCopy()
      Specified by:
      getCopy in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • saveToState

      public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      saveToState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • loadFromState

      public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      loadFromState in interface org.gvsig.tools.persistence.Persistent
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • registerPersistent

      public static void registerPersistent()
    • remove

      public void remove(String attribute)
      Specified by:
      remove in interface org.gvsig.fmap.dal.feature.FeatureExtraColumns
    • fromJson

      public void fromJson(javax.json.JsonObject json)
      Specified by:
      fromJson in interface org.gvsig.json.SupportFromJson
    • toJson

      public javax.json.JsonObject toJson()
      Specified by:
      toJson in interface org.gvsig.json.SupportToJson
    • toJsonBuilder

      public org.gvsig.json.JsonObjectBuilder toJsonBuilder()
      Specified by:
      toJsonBuilder in interface org.gvsig.json.SupportToJson
    • iterator

      public Iterator<org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor> iterator()
      Specified by:
      iterator in interface Iterable<org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor>
    • selfRegister

      public static void selfRegister()