Class DefaultExportAttribute

java.lang.Object
org.gvsig.export.impl.service.DefaultExportAttribute
All Implemented Interfaces:
Cloneable, org.gvsig.export.ExportAttributes.ExportAttribute, org.gvsig.tools.persistence.Persistent

public class DefaultExportAttribute extends Object implements org.gvsig.export.ExportAttributes.ExportAttribute
  • Constructor Details

    • DefaultExportAttribute

      public DefaultExportAttribute(org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor fad, org.gvsig.tools.namestranslator.NamesTranslator namesTranslator, boolean fromQuery)
    • DefaultExportAttribute

      public DefaultExportAttribute()
  • Method Details

    • getDescriptor

      public org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor getDescriptor()
      Specified by:
      getDescriptor in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • getName

      public String getName()
      Specified by:
      getName in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • getDataType

      public int getDataType()
      Specified by:
      getDataType in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • getNewName

      public String getNewName()
      Specified by:
      getNewName in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • getNewDataType

      public int getNewDataType()
      Specified by:
      getNewDataType in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • isExported

      public boolean isExported()
      Specified by:
      isExported in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • isComputed

      public boolean isComputed()
      Specified by:
      isComputed in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • setNewName

      public int setNewName(String newName)
      Specified by:
      setNewName in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • setExported

      public void setExported(boolean exported)
      Specified by:
      setExported in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • setComputed

      public void setComputed(boolean computed)
      Specified by:
      setComputed in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • setNewType

      public void setNewType(int dataType)
      Specified by:
      setNewType in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • getSize

      public int getSize()
      Specified by:
      getSize in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • setSize

      public void setSize(int size)
      Specified by:
      setSize in interface org.gvsig.export.ExportAttributes.ExportAttribute
    • clone

      public org.gvsig.export.ExportAttributes.ExportAttribute clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.gvsig.export.ExportAttributes.ExportAttribute
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • registerPersistence

      public static void registerPersistence()
    • 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
    • isFromQuery

      public boolean isFromQuery()
      Specified by:
      isFromQuery in interface org.gvsig.export.ExportAttributes.ExportAttribute