olg.csv.bean.impl
Class PropertyFormatter.ConcatePropertyReader

Package class diagram package PropertyFormatter.ConcatePropertyReader
java.lang.Object
  extended by olg.csv.bean.impl.PropertyFormatter
      extended by olg.csv.bean.impl.PropertyFormatter.ConcatePropertyReader
Enclosing class:
PropertyFormatter

private static final class PropertyFormatter.ConcatePropertyReader
extends PropertyFormatter

Allows to concate severals characteristics of an object into a single string.


Field Summary
private  AbstractStringFilter filtre
          The filtre used to filter the concated strings.
private  List<PropertyFormatter> properties
          The list of PropertyFormatter used to concate their results.
 
Fields inherited from class olg.csv.bean.impl.PropertyFormatter
name
 
Constructor Summary
PropertyFormatter.ConcatePropertyReader(List<PropertyFormatter> properties, AbstractStringFilter filtre)
           
 
Method Summary
 String getFullName()
          Return the full name of the property.
 String getName()
          Returns the name of the property.
 String toString(Object object)
          Returns a string representation of the property.
 
Methods inherited from class olg.csv.bean.impl.PropertyFormatter
equals, getConcatePropertyReader, getDelegatePropertyReader, getPropertyReader, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

private final List<PropertyFormatter> properties
The list of PropertyFormatter used to concate their results.


filtre

private final AbstractStringFilter filtre
The filtre used to filter the concated strings.

Constructor Detail

PropertyFormatter.ConcatePropertyReader

PropertyFormatter.ConcatePropertyReader(List<PropertyFormatter> properties,
                                        AbstractStringFilter filtre)
Parameters:
properties - The list of PropertyFormatter used to concate their results.
filtre - The filtre used to filter the concated strings.
Method Detail

toString

public String toString(Object object)
Description copied from class: PropertyFormatter
Returns a string representation of the property.

Throws a PropertyException when errors occurs during the formatting.

Specified by:
toString in class PropertyFormatter
Parameters:
object - Object from which product a string representation of its property
Returns:
the string representation.

getName

public String getName()
Returns the name of the property. Throws UnsupportedOperationException.

Overrides:
getName in class PropertyFormatter
Returns:
the property name.

getFullName

public String getFullName()
Description copied from class: PropertyFormatter
Return the full name of the property. In case property is itself a property of a field, must indicate the field name followed by the property name like "field.property".

Overrides:
getFullName in class PropertyFormatter
Returns:
the full name.


Copyright © 2014. All Rights Reserved.