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 Summary
ConstructorsModifierConstructorDescriptionprotectedXMLAttributeInfoImpl(Locale locale) XMLAttributeInfoImpl(Locale locale, String path) XMLAttributeInfoImpl(Locale locale, String name, int type) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidintgetChildsCount(String name) org.gvsig.fmap.geom.type.GeometryTypegetLastChildID(String childName) intgetMaxChildCount(String childName) getName()getPath()intintgetScale()intgetSize()getTable()intgetType()booleanvoidincrChildCount(String childName) booleanbooleanisFk()booleanisPk()setAggregate(boolean b) setFk(boolean fk) setFkCodeName(String codeName) setFkTableName(String tableName) voidsetLastChildID(String childName, String idvalue) setPk(boolean pk) voidsetSize(int size) voidsetTable(XMLTableInfoImpl table) voidsetType(int type) toString()
-
Constructor Details
-
XMLAttributeInfoImpl
-
XMLAttributeInfoImpl
-
XMLAttributeInfoImpl
-
-
Method Details
-
setTable
-
getTable
- Specified by:
getTablein interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
getName
- Specified by:
getNamein interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
getPath
- Specified by:
getPathin interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
setType
public void setType(int type) -
setPk
-
setFk
-
getType
public int getType()- Specified by:
getTypein interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
getPrecision
public int getPrecision()- Specified by:
getPrecisionin interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
getScale
public int getScale()- Specified by:
getScalein interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
getSize
public int getSize()- Specified by:
getSizein interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
getGeometryType
public org.gvsig.fmap.geom.type.GeometryType getGeometryType()- Specified by:
getGeometryTypein interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
toString
-
setFkCodeName
-
setFkTableName
-
incrChildCount
-
setLastChildID
-
getLastChildID
-
consolidateChildCounters
public void consolidateChildCounters() -
getMaxChildCount
- Specified by:
getMaxChildCountin interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
setAggregate
-
setSize
public void setSize(int size) -
addValue
-
isAggregate
public boolean isAggregate()- Specified by:
isAggregatein interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
isPk
public boolean isPk()- Specified by:
isPkin interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
isFk
public boolean isFk()- Specified by:
isFkin interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
getFkTableName
- Specified by:
getFkTableNamein interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
getFkCodeName
- Specified by:
getFkCodeNamein interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
hasChilds
public boolean hasChilds()- Specified by:
hasChildsin interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-
getChildsCount
- Specified by:
getChildsCountin interfaceorg.gvsig.xml2db.lib.api.xmlinfo.XMLAttributeInfo
-