Class XMLAttributeInfoImpl

java.lang.Object
org.gvsig.xml2db.lib.impl.xmlinfo.XMLAttributeInfoImpl
All Implemented Interfaces:
org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo

public class XMLAttributeInfoImpl extends Object implements org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
Author:
jjdelcerro
  • Constructor Details

    • XMLAttributeInfoImpl

      protected XMLAttributeInfoImpl(Locale locale)
    • XMLAttributeInfoImpl

      public XMLAttributeInfoImpl(Locale locale, String path)
    • XMLAttributeInfoImpl

      public XMLAttributeInfoImpl(Locale locale, String name, int type)
  • Method Details

    • setTable

      public void setTable(XMLTableInfoImpl table)
    • getTable

      public XMLTableInfoImpl getTable()
      Specified by:
      getTable in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • getName

      public String getName()
      Specified by:
      getName in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • getPath

      public String getPath()
      Specified by:
      getPath in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • setType

      public void setType(int type)
    • setPk

      public XMLAttributeInfoImpl setPk(boolean pk)
    • setFk

      public XMLAttributeInfoImpl setFk(boolean fk)
    • getType

      public int getType()
      Specified by:
      getType in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • getPrecision

      public int getPrecision()
      Specified by:
      getPrecision in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • getScale

      public int getScale()
      Specified by:
      getScale in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • getSize

      public int getSize()
      Specified by:
      getSize in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • getGeometryType

      public org.gvsig.fmap.geom.type.GeometryType getGeometryType()
      Specified by:
      getGeometryType in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setFkCodeName

      public XMLAttributeInfoImpl setFkCodeName(String codeName)
    • setFkTableName

      public XMLAttributeInfoImpl setFkTableName(String tableName)
    • incrChildCount

      public void incrChildCount(String childName)
    • setLastChildID

      public void setLastChildID(String childName, String idvalue)
    • getLastChildID

      public String getLastChildID(String childName)
    • consolidateChildCounters

      public void consolidateChildCounters()
    • getMaxChildCount

      public int getMaxChildCount(String childName)
      Specified by:
      getMaxChildCount in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • setAggregate

      public XMLAttributeInfoImpl setAggregate(boolean b)
    • setSize

      public void setSize(int size)
    • addValue

      public void addValue(String value)
    • isAggregate

      public boolean isAggregate()
      Specified by:
      isAggregate in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • isPk

      public boolean isPk()
      Specified by:
      isPk in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • isFk

      public boolean isFk()
      Specified by:
      isFk in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • getFkTableName

      public String getFkTableName()
      Specified by:
      getFkTableName in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • getFkCodeName

      public String getFkCodeName()
      Specified by:
      getFkCodeName in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • hasChilds

      public boolean hasChilds()
      Specified by:
      hasChilds in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
    • getChildsCount

      public int getChildsCount(String name)
      Specified by:
      getChildsCount in interface org.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo