com.mirth.match.client.models
Class DTOResult<T>
java.lang.Object
com.mirth.match.client.models.Status<StatusCondition>
com.mirth.match.client.models.Result<T>
com.mirth.match.client.models.DTOResult<T>
public class DTOResult<T>
- extends Result<T>
Fields inherited from class com.mirth.match.client.models.Result |
result |
Method Summary |
static
|
createINEXResult(EisResult result,
java.lang.Class<T> resultType)
|
protected boolean |
isSuccess(java.util.List<StatusCondition> conditions)
Returns true if the EisConditions do not return any conditions of Severity
ERROR or SEVERE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DTOResult
public DTOResult()
DTOResult
public DTOResult(EisStatus status,
T result)
DTOResult
public DTOResult(EisResult result,
java.lang.Class<T> resultType)
DTOResult
public DTOResult(java.util.List<StatusCondition> conditions)
createINEXResult
public static <T> DTOResult<T> createINEXResult(EisResult result,
java.lang.Class<T> resultType)
isSuccess
protected boolean isSuccess(java.util.List<StatusCondition> conditions)
- Returns true if the EisConditions do not return any conditions of Severity
ERROR or SEVERE
- Parameters:
conditions
- the list of conditions to check
- Returns:
- true if result is successfull; otherwise false
Copyright © 2011 Mirth Corp. All Rights Reserved.