public class RawAttributeConverter extends Object implements AttributeConverter
Modifier and Type | Field and Description |
---|---|
protected String |
attributeName |
protected Method |
getterMethod |
protected String |
header |
Constructor and Description |
---|
RawAttributeConverter(String attributeName) |
RawAttributeConverter(String header,
String attributeName) |
Modifier and Type | Method and Description |
---|---|
Object |
convert(com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject) |
String |
getHeader() |
protected com.google.common.base.Optional<Method> |
getMatchingMethod() |
protected final String attributeName
protected final String header
protected final Method getterMethod
public RawAttributeConverter(String attributeName)
public Object convert(com.edorasware.commons.core.entity.WorkObject<?,?,?> workObject)
convert
in interface AttributeConverter
protected com.google.common.base.Optional<Method> getMatchingMethod()
public String getHeader()
getHeader
in interface AttributeConverter
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.