Package hec.io
Class DBFMappingClass
java.lang.Object
hec.io.DBFMappingClass
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionHashtable with java field name key, cb field name value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(DBFMappingClass mappClass) void
addComplexDbfMap
(String fldName) void
void
addDbfMap
(String fldName, String cbFldName, char type, int fldSize, int numDecimal, boolean allowNull) void
addDbfMap
(String fldName, String cbFldName, char type, int fldSize, int numDecimal, boolean allowNull, String tagName, String exp, String filter, byte unique, boolean descending) void
addDbfMap
(String fldName, String cbFldName, String cbFldDesc, char type, int fldSize, int numDecimal, boolean allowNull) 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) void
addDbfMap
(String fldName, String relObjClass, String cbFldName, String cbFldDesc, char type, int fldSize, int numDecimal, boolean allowNull) 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) void
Information about the DBF Tagvoid
addMapObject
(DBFMapObject mapObj) static DBFMappingClass
createMappingClass
(Class dbfObject) Create a DBF Mapping class from an object annotated with DBF annotationsgetIndex()
getMapObject
(int i) int
boolean
removeDbfMap
(String cbFldName) Removes a mapping from the dbf map for the given Codebase Field Name
-
Field Details
-
_dbfMap
Hashtable with java field name key, cb field name value. -
_dbfIndx
-
-
Constructor Details
-
DBFMappingClass
public DBFMappingClass()
-
-
Method Details
-
add
-
addIndex
public void addIndex(String tagName, String expression, String filter, byte unique, boolean descending) Information about the DBF Tag -
getIndex
-
numObjects
public int numObjects() -
getMapObject
-
addMapObject
-
addDbfMap
-
addDbfMap
-
addDbfMap
-
addDbfMap
-
addDbfMap
-
addDbfMap
-
addDbfMap
-
addComplexDbfMap
-
removeDbfMap
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
-
createMappingClass
Create a DBF Mapping class from an object annotated with DBF annotations- Parameters:
dbfObject
-- Returns:
-