Package hec.io

Class DBFMappingClass

java.lang.Object
hec.io.DBFMappingClass
All Implemented Interfaces:
Serializable

public class DBFMappingClass extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • DBFMappingClass

      public DBFMappingClass()
  • Method Details

    • add

      public void add(DBFMappingClass mappClass)
    • addIndex

      public void addIndex(String tagName, String expression, String filter, byte unique, boolean descending)
      Information about the DBF Tag
    • getIndex

      public List<DBFIndexObject> getIndex()
    • numObjects

      public int numObjects()
    • getMapObject

      public DBFMapObject getMapObject(int i)
    • addMapObject

      public void addMapObject(DBFMapObject mapObj)
    • addDbfMap

      public void addDbfMap(String fldName, String cbFldName, char type, boolean allowNull)
    • addDbfMap

      public void addDbfMap(String fldName, String cbFldName, char type, int fldSize, int numDecimal, boolean allowNull)
    • addDbfMap

      public void addDbfMap(String fldName, String cbFldName, char type, int fldSize, int numDecimal, boolean allowNull, String tagName, String exp, String filter, byte unique, boolean descending)
    • addDbfMap

      public void addDbfMap(String fldName, String cbFldName, String cbFldDesc, char type, int fldSize, int numDecimal, boolean allowNull, String tagName, String exp, String filter, byte unique, boolean descending)
    • addDbfMap

      public void addDbfMap(String fldName, String cbFldName, String cbFldDesc, char type, int fldSize, int numDecimal, boolean allowNull)
    • addDbfMap

      public void addDbfMap(String fldName, String relObjClass, String cbFldName, String cbFldDesc, char type, int fldSize, int numDecimal, boolean allowNull)
    • addDbfMap

      public void addDbfMap(String fldName, String relationalObjClass, String cbFldName, String cbFldDesc, char type, int fldSize, int numDecimal, boolean allowNull, String tagName, String exp, String filter, byte unique, boolean descending)
    • addComplexDbfMap

      public void addComplexDbfMap(String fldName)
    • removeDbfMap

      public boolean removeDbfMap(String cbFldName)
      Removes a mapping from the dbf map for the given Codebase Field Name

      Parameters:
      cbFldName - - the name of the column that will be used in codebase
    • getFieldDescriptorList

      public DBFFieldDescriptor[] getFieldDescriptorList()
    • createMappingClass

      public static DBFMappingClass createMappingClass(Class dbfObject)
      Create a DBF Mapping class from an object annotated with DBF annotations

      Parameters:
      dbfObject -

      Returns: