java.lang.Object
org.csveed.bean.BeanProperty
The Class BeanProperty.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Gets the column index.Gets the column name.Gets the converter.getField()
Gets the field.Gets the number class.Gets the property descriptor.Gets the property name.Gets the property type.int
hashCode()
boolean
Checks if is dynamic column property.boolean
Checks if is required.void
setColumnIndex
(int columnIndex) Sets the column index.void
setColumnName
(String columnName) Sets the column name.void
setConverter
(Converter converter) Sets the converter.void
setDynamicColumnProperty
(boolean dynamicColumnProperty) Sets the dynamic column property.void
Sets the field.void
setPropertyDescriptor
(PropertyDescriptor propertyDescriptor) Sets the property descriptor.void
setRequired
(boolean required) Sets the required.
-
Constructor Details
-
BeanProperty
public BeanProperty()
-
-
Method Details
-
getNumberClass
Gets the number class.- Returns:
- the number class
-
getPropertyDescriptor
Gets the property descriptor.- Returns:
- the property descriptor
-
setPropertyDescriptor
Sets the property descriptor.- Parameters:
propertyDescriptor
- the new property descriptor
-
getConverter
Gets the converter.- Returns:
- the converter
-
setConverter
Sets the converter.- Parameters:
converter
- the new converter
-
getColumnName
Gets the column name.- Returns:
- the column name
-
setColumnName
Sets the column name.- Parameters:
columnName
- the new column name
-
isRequired
public boolean isRequired()Checks if is required.- Returns:
- true, if is required
-
setRequired
public void setRequired(boolean required) Sets the required.- Parameters:
required
- the new required
-
getColumnIndex
public int getColumnIndex()Gets the column index.- Returns:
- the column index
-
setColumnIndex
public void setColumnIndex(int columnIndex) Sets the column index.- Parameters:
columnIndex
- the new column index
-
getField
Gets the field.- Returns:
- the field
-
setField
Sets the field.- Parameters:
field
- the new field
-
getPropertyName
Gets the property name.- Returns:
- the property name
-
setDynamicColumnProperty
public void setDynamicColumnProperty(boolean dynamicColumnProperty) Sets the dynamic column property.- Parameters:
dynamicColumnProperty
- the new dynamic column property
-
isDynamicColumnProperty
public boolean isDynamicColumnProperty()Checks if is dynamic column property.- Returns:
- true, if is dynamic column property
-
hashCode
public int hashCode() -
equals
-
getPropertyType
Gets the property type.- Returns:
- the property type
-