java.lang.Object
org.csveed.bean.BeanProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionColumn index keys.Column name keys.From index.From name.protected BeanProperty
Gets the.Gets the header name property.Gets the header value property.void
ignoreProperty
(String propertyName) Ignore property.iterator()
void
mapIndexToProperty
(int columnIndex, String propertyName) Map index to property.void
mapNameToProperty
(String columnName, String propertyName) Map name to property.protected void
removeFromColumnIndex
(BeanProperty property) Removes the from column index.protected void
removeFromColumnName
(BeanProperty property) Removes the from column name.void
setConverter
(String propertyName, Converter converter) Sets the converter.void
Sets the date.void
setHeaderNameProperty
(String propertyName) Sets the header name property.void
setHeaderValueProperty
(String propertyName) Sets the header value property.void
setLocalizedNumber
(String propertyName, Locale locale) Sets the localized number.void
setRequired
(String propertyName, boolean required) Sets the required.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BeanProperties
Instantiates a new bean properties.- Parameters:
beanClass
- the bean class
-
-
Method Details
-
setRequired
Sets the required.- Parameters:
propertyName
- the property namerequired
- the required
-
setDate
-
setLocalizedNumber
-
setConverter
-
removeFromColumnIndex
Removes the from column index.- Parameters:
property
- the property
-
removeFromColumnName
Removes the from column name.- Parameters:
property
- the property
-
ignoreProperty
Ignore property.- Parameters:
propertyName
- the property name
-
setHeaderValueProperty
Sets the header value property.- Parameters:
propertyName
- the new header value property
-
setHeaderNameProperty
Sets the header name property.- Parameters:
propertyName
- the new header name property
-
getHeaderValueProperty
Gets the header value property.- Returns:
- the header value property
-
getHeaderNameProperty
Gets the header name property.- Returns:
- the header name property
-
mapIndexToProperty
Map index to property.- Parameters:
columnIndex
- the column indexpropertyName
- the property name
-
mapNameToProperty
-
get
Gets the.- Parameters:
propertyName
- the property name- Returns:
- the bean property
-
fromIndex
From index.- Parameters:
column
- the column- Returns:
- the bean property
-
fromName
From name.- Parameters:
column
- the column- Returns:
- the bean property
-
iterator
- Specified by:
iterator
in interfaceIterable<BeanProperty>
-
columnIndexKeys
-
columnNameKeys
-