All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.linuxforhealth.hl7.parsing.result.ParsingResult Maven / Gradle / Ivy

/*
 * (C) Copyright IBM Corp. 2020
 *
 * SPDX-License-Identifier: Apache-2.0
 */
package io.github.linuxforhealth.hl7.parsing.result;

import java.util.List;

/**
 * Represents the result of parsing HL7 message.
 * 
 *
 * @author {user}
 */

public interface ParsingResult {

  /**
   * Returns single value of type T. If the parsing returned multiple values, then this method would
   * return the first occurrence of that value
   * 
   * @return Value of type T
   */

  T getValue();

  /**
   * Returns all values of type T .
   * 
   * @return List of values of type T
   */

  List getValues();


  /**
   * Returns True if this object has no value
   * 
   * @return boolean
   */
  boolean isEmpty();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy