org.databene.platform.array
Class Array2EntityConverter
java.lang.Object
org.databene.commons.converter.AbstractConverter<S,T>
org.databene.commons.converter.ThreadSafeConverter<java.lang.Object[],Entity>
org.databene.platform.array.Array2EntityConverter
- All Implemented Interfaces:
- java.lang.Cloneable, Converter<java.lang.Object[],Entity>, ThreadAware
public class Array2EntityConverter
- extends ThreadSafeConverter<java.lang.Object[],Entity>
Converts an array of feature values to an entity.
Created: 26.08.2007 12:27:45
- Author:
- Volker Bergmann
|
Method Summary |
Entity |
convert(java.lang.Object[] sourceValue)
Concerts an object of type S to an object of type T |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Array2EntityConverter
public Array2EntityConverter(ComplexTypeDescriptor descriptor,
java.lang.String[] featureNames,
boolean stringSource)
convert
public Entity convert(java.lang.Object[] sourceValue)
- Description copied from interface:
Converter
- Concerts an object of type S to an object of type T
- Parameters:
sourceValue - the object to convert
- Returns:
- the converted object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.