// Path: binder/src/main/java/com/artfulbits/binding/toolbox/ToModel.java
// public interface ToModel<TOut, TIn> {
//   /**
//    * Convert Out- value into In- value.
//    *
//    * @param value the instance to convert
//    * @return the converted value
//    * @throws com.artfulbits.binding.exceptions.OneWayBindingError in case if allowed only one way binding.
//    */
//   TOut toModel(final TIn value);
// }
// 
// Path: binder/src/main/java/com/artfulbits/binding/toolbox/ToView.java
// public interface ToView<TOut, TIn> {
//   /**
//    * Convert In- value into Out- value.
//    *
//    * @param value the instance to convert
//    * @return the converted value
//    * @throws com.artfulbits.binding.exceptions.OneWayBindingError in case if allowed only one way binding.
//    */
//   TOut toView(final TIn value);
// }


import com.artfulbits.binding.toolbox.ToModel;
import com.artfulbits.binding.toolbox.ToView;
package com.artfulbits.binding;


/**
 * Interface responsible for converting values in to-, from- directions.<br/> Main rule for inheritors of the
 * interface:<br/> <code> assertEqual( In, toIn(toOut(In)) );<br/> assertEqual( Out, toOut(toIn(Out)) ); </code>
 *
 * @param <TRight> type from right side of binding (Model).
 * @param <TLeft>  type from left side of binding (View).
 */
@SuppressWarnings("unused")
public interface Formatting<TLeft, TRight>
// Path: binder/src/main/java/com/artfulbits/binding/toolbox/ToModel.java
// public interface ToModel<TOut, TIn> {
//   /**
//    * Convert Out- value into In- value.
//    *
//    * @param value the instance to convert
//    * @return the converted value
//    * @throws com.artfulbits.binding.exceptions.OneWayBindingError in case if allowed only one way binding.
//    */
//   TOut toModel(final TIn value);
// }
// 
// Path: binder/src/main/java/com/artfulbits/binding/toolbox/ToView.java
// public interface ToView<TOut, TIn> {
//   /**
//    * Convert In- value into Out- value.
//    *
//    * @param value the instance to convert
//    * @return the converted value
//    * @throws com.artfulbits.binding.exceptions.OneWayBindingError in case if allowed only one way binding.
//    */
//   TOut toView(final TIn value);
// }


// Path: binder/src/main/java/com/artfulbits/binding/Formatting.java
import com.artfulbits.binding.toolbox.ToModel;
import com.artfulbits.binding.toolbox.ToView;

package com.artfulbits.binding;


/**
 * Interface responsible for converting values in to-, from- directions.<br/> Main rule for inheritors of the
 * interface:<br/> <code> assertEqual( In, toIn(toOut(In)) );<br/> assertEqual( Out, toOut(toIn(Out)) ); </code>
 *
 * @param <TRight> type from right side of binding (Model).
 * @param <TLeft>  type from left side of binding (View).
 */
@SuppressWarnings("unused")
public interface Formatting<TLeft, TRight>
    extends ToView<TLeft, TRight>, ToModel<TRight, TLeft> {