Package org.sql2o.reflection
Class PojoMetadata
java.lang.Object
org.sql2o.reflection.PojoMetadata
Stores metadata for a POJO.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPojoMetadata
(Class clazz, boolean caseSensitive, boolean autoDeriveColumnNames, Map<String, String> columnMappings, boolean throwOnMappingError) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getPropertyGetter
(String propertyName) getPropertyGetterIfExists
(String propertyName) getPropertySetter
(String propertyName) getPropertySetterIfExists
(String propertyName) getType()
getValueOfProperty
(String propertyName, Object object) int
hashCode()
boolean
boolean
-
Field Details
-
throwOnMappingFailure
public final boolean throwOnMappingFailure
-
-
Constructor Details
-
PojoMetadata
-
-
Method Details
-
isCaseSensitive
public boolean isCaseSensitive() -
isAutoDeriveColumnNames
public boolean isAutoDeriveColumnNames() -
equals
-
hashCode
public int hashCode() -
getObjectConstructor
-
getColumnMappings
-
getPropertyGetter
-
getPropertyGetterIfExists
-
getPropertySetter
-
getPropertySetterIfExists
-
getType
-
getValueOfProperty
-