/** * Returns a view on this mapper that is bound to a newly created object instance * * @see #bind(Object) * @return Bound mapper attached to a new object instance * @throws ObjectMappingException If the object could not be constructed correctly */ public BoundInstance bindToNew() throws ObjectMappingException { return new BoundInstance(constructObject()); }
/** * Returns a view on this mapper that is bound to a newly created object instance * * @see #bind(Object) * @return Bound mapper attached to a new object instance * @throws ObjectMappingException If the object could not be constructed correctly */ public BoundInstance bindToNew() throws ObjectMappingException { return new BoundInstance(constructObject()); }
/** * Returns a view on this mapper that is bound to a newly created object instance * * @see #bind(Object) * @return Bound mapper attached to a new object instance * @throws ObjectMappingException If the object could not be constructed correctly */ public BoundInstance bindToNew() throws ObjectMappingException { return new BoundInstance(constructObject()); }