Package com.codiform.moo.session

Examples of com.codiform.moo.session.TranslationSession


   * @param source
   *            the set of objects from which values should be retried
   * @return the translated instances of the destination class
   */
  public Set<T> fromEach(Set<?> source) {
    return new TranslationSession(configuration, variables)
        .getEachTranslation(source, destinationClass);
  }
View Full Code Here


   * @param source
   *            the list of objects from which values should be retried
   * @return the translated instances of the destination class
   */
  public List<T> fromEach(List<?> source) {
    return new TranslationSession(configuration, variables)
        .getEachTranslation(source, destinationClass);
  }
View Full Code Here

   *
   * @param destination
   *            the object to which updates should be applied.
   */
  public void to(Object destination) {
    new TranslationSession(configuration,variables).update(source, destination);
  }
View Full Code Here

TOP

Related Classes of com.codiform.moo.session.TranslationSession

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.