org.loom.binding
Class ItemMetadata
java.lang.Object
org.loom.binding.ItemMetadata
public class ItemMetadata
- extends java.lang.Object
The item metadata associated to a multiple field (array, list, set, map).
If this multiple field can be an intermediate node of a property path, it should provide
a valid ImplementationFactory. If it is an end node of a property path, it should provide
a valid Converter.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemMetadata
public ItemMetadata()
isEmpty
public boolean isEmpty()
- Returns:
- true if neither converter or itemClass has been specified
getConverter
public Converter getConverter()
setConverter
public void setConverter(Converter converter)
getItemClass
public java.lang.Class<?> getItemClass()
setItemClass
public void setItemClass(java.lang.Class<?> itemImplementationClass)
getImplementationFactory
public ImplementationFactory<?> getImplementationFactory()
setImplementationFactory
public void setImplementationFactory(ImplementationFactory<?> implementationFactory)
newItem
public java.lang.Object newItem()