org.equanda.export
Class ExportField
java.lang.Object
org.equanda.export.ExportField
public class ExportField
- extends Object
Representation of a field which needs to be exported
- Author:
- Joachim Van der Auwera
Constructor Summary |
ExportField(Object object)
Create a new ExportField container, for the given object to export |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objectToExport
protected Object objectToExport
evaluator
protected ExportEvaluatorWithCurrent evaluator
name
protected String name
value
protected Object value
valueType
protected Class valueType
ExportField
public ExportField(Object object)
- Create a new ExportField container, for the given object to export
- Parameters:
object
- object to export
setEvaluator
public void setEvaluator(ExportEvaluatorWithCurrent evaluator)
- Set the evaluator object
- Parameters:
evaluator
- evaluator object
setField
public boolean setField(String description)
throws ExportException
- Set the field which needs to be represented, returns true when there was something (description not null or
empty) An exception is thrown when the field cannot be evaluated, does not exist or similar.
- Parameters:
description
- description fir the field to be evaluated
- Returns:
- true when replacing a not-null, not-empty value
- Throws:
ExportException
- oops
getName
public String getName()
getValue
public Object getValue()
getValueType
public Class getValueType()
Copyright © 2007-2009. All Rights Reserved.