Class DbObject
java.lang.Object
tech.ailef.dbadmin.external.dbmapping.DbObject
Wrapper for all objects retrieved from the database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Method
findGetter
(String fieldName) protected Method
findSetter
(String fieldName) boolean
void
void
setRelationship
(String fieldName, Object primaryKeyValue) Converts this object to map where each key is a field name, including only the specified fields.toString()
traverseMany
(String fieldName) traverseMany
(DbField field)
-
Constructor Details
-
DbObject
-
-
Method Details
-
has
-
getUnderlyingInstance
-
getValues
-
get
-
traverse
-
traverse
-
traverseMany
-
traverseMany
-
get
-
getPrimaryKeyValue
-
getDisplayName
-
getComputedColumns
-
getSchema
-
compute
-
setRelationship
-
set
-
findSetter
-
findGetter
-
toMap
Converts this object to map where each key is a field name, including only the specified fields. If raw, values are not processed and are included as they are in the database table.- Returns:
-
toString
-