Class TopiaEntityBinder<E extends TopiaEntity>

java.lang.Object
org.nuiton.util.beans.Binder<E,E>
org.nuiton.topia.persistence.util.TopiaEntityBinder<E>
Type Parameters:
E - the type of entity
All Implemented Interfaces:
Serializable, Loador<E>

public class TopiaEntityBinder<E extends TopiaEntity> extends org.nuiton.util.beans.Binder<E,E> implements Loador<E>
A Binder dedicated to TopiaEntity dealing with technical values. There is an internal sate empty to deal with default values of properties of an entity. Note: Should remove Loador contract soon.
Since:
2.3.0
Author:
Tony Chemit - tchemit@codelutin.com
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.nuiton.util.beans.Binder

    org.nuiton.util.beans.Binder.BinderModel<S extends Object,T extends Object>, org.nuiton.util.beans.Binder.CollectionStrategy
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected E
     

    Fields inherited from class org.nuiton.util.beans.Binder

    model
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    bind(org.nuiton.util.beans.Binder binder, Object read)
     
    void
    load(E source, E target, boolean tech, String... propertyNames)
    Bind an entity to another.
    void
    setEmpty(E empty)
     

    Methods inherited from class org.nuiton.util.beans.Binder

    bindCollection, bindProperty, copy, copy, copyExcluding, diff, diff, diffExcluding, getAllPropertiesExclude, getCollectionValue, getModel, getProperties, getSourcePropertyGenericType, getSourcePropertyType, getSourceType, getTargetPropertyGenericType, getTargetPropertyType, getTargetType, injectProperties, injectProperties, obtainProperties, obtainProperties, obtainProperties, obtainSourceProperty, obtainTargetProperty, readProperty, setModel, transform

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.nuiton.topia.persistence.legacy.Loador

    getSourceType, obtainProperties
  • Field Details

  • Constructor Details

    • TopiaEntityBinder

      public TopiaEntityBinder()
  • Method Details