Class CqlToElmError
- java.lang.Object
-
- org.opencds.cqf.cql.engine.elm.execution.Executable
-
- org.cqframework.cql.elm.execution.CqlToElmBase
-
- org.cqframework.cql.elm.execution.Locator
-
- org.cqframework.cql.elm.execution.CqlToElmError
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class CqlToElmError extends Locator implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Represents CQL to ELM conversion errorsJava class for CqlToElmError complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CqlToElmError"> <complexContent> <extension base="{urn:hl7-org:cql-annotations:r1}Locator"> <attribute name="message" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="errorType" use="required" type="{urn:hl7-org:cql-annotations:r1}ErrorType" /> <attribute name="errorSeverity" type="{urn:hl7-org:cql-annotations:r1}ErrorSeverity" /> <attribute name="targetIncludeLibrarySystem" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="targetIncludeLibraryId" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="targetIncludeLibraryVersionId" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ErrorSeverityerrorSeverityprotected ErrorTypeerrorTypeprotected java.lang.Stringmessageprotected java.lang.StringtargetIncludeLibraryIdprotected java.lang.StringtargetIncludeLibrarySystemprotected java.lang.StringtargetIncludeLibraryVersionId-
Fields inherited from class org.cqframework.cql.elm.execution.Locator
endChar, endLine, libraryId, librarySystem, libraryVersion, startChar, startLine
-
-
Constructor Summary
Constructors Constructor Description CqlToElmError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)ErrorSeveritygetErrorSeverity()Gets the value of the errorSeverity property.ErrorTypegetErrorType()Gets the value of the errorType property.java.lang.StringgetMessage()Gets the value of the message property.java.lang.StringgetTargetIncludeLibraryId()Gets the value of the targetIncludeLibraryId property.java.lang.StringgetTargetIncludeLibrarySystem()Gets the value of the targetIncludeLibrarySystem property.java.lang.StringgetTargetIncludeLibraryVersionId()Gets the value of the targetIncludeLibraryVersionId property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetErrorSeverity(ErrorSeverity value)Sets the value of the errorSeverity property.voidsetErrorType(ErrorType value)Sets the value of the errorType property.voidsetMessage(java.lang.String value)Sets the value of the message property.voidsetTargetIncludeLibraryId(java.lang.String value)Sets the value of the targetIncludeLibraryId property.voidsetTargetIncludeLibrarySystem(java.lang.String value)Sets the value of the targetIncludeLibrarySystem property.voidsetTargetIncludeLibraryVersionId(java.lang.String value)Sets the value of the targetIncludeLibraryVersionId property.java.lang.StringtoString()CqlToElmErrorwithEndChar(java.lang.Integer value)CqlToElmErrorwithEndLine(java.lang.Integer value)CqlToElmErrorwithErrorSeverity(ErrorSeverity value)CqlToElmErrorwithErrorType(ErrorType value)CqlToElmErrorwithLibraryId(java.lang.String value)CqlToElmErrorwithLibrarySystem(java.lang.String value)CqlToElmErrorwithLibraryVersion(java.lang.String value)CqlToElmErrorwithMessage(java.lang.String value)CqlToElmErrorwithStartChar(java.lang.Integer value)CqlToElmErrorwithStartLine(java.lang.Integer value)CqlToElmErrorwithTargetIncludeLibraryId(java.lang.String value)CqlToElmErrorwithTargetIncludeLibrarySystem(java.lang.String value)CqlToElmErrorwithTargetIncludeLibraryVersionId(java.lang.String value)-
Methods inherited from class org.cqframework.cql.elm.execution.Locator
getEndChar, getEndLine, getLibraryId, getLibrarySystem, getLibraryVersion, getStartChar, getStartLine, setEndChar, setEndLine, setLibraryId, setLibrarySystem, setLibraryVersion, setStartChar, setStartLine
-
Methods inherited from class org.opencds.cqf.cql.engine.elm.execution.Executable
evaluate, internalEvaluate
-
-
-
-
Field Detail
-
message
protected java.lang.String message
-
errorType
protected ErrorType errorType
-
errorSeverity
protected ErrorSeverity errorSeverity
-
targetIncludeLibrarySystem
protected java.lang.String targetIncludeLibrarySystem
-
targetIncludeLibraryId
protected java.lang.String targetIncludeLibraryId
-
targetIncludeLibraryVersionId
protected java.lang.String targetIncludeLibraryVersionId
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Gets the value of the message property.- Returns:
- possible object is
String
-
setMessage
public void setMessage(java.lang.String value)
Sets the value of the message property.- Parameters:
value- allowed object isString
-
getErrorType
public ErrorType getErrorType()
Gets the value of the errorType property.- Returns:
- possible object is
ErrorType
-
setErrorType
public void setErrorType(ErrorType value)
Sets the value of the errorType property.- Parameters:
value- allowed object isErrorType
-
getErrorSeverity
public ErrorSeverity getErrorSeverity()
Gets the value of the errorSeverity property.- Returns:
- possible object is
ErrorSeverity
-
setErrorSeverity
public void setErrorSeverity(ErrorSeverity value)
Sets the value of the errorSeverity property.- Parameters:
value- allowed object isErrorSeverity
-
getTargetIncludeLibrarySystem
public java.lang.String getTargetIncludeLibrarySystem()
Gets the value of the targetIncludeLibrarySystem property.- Returns:
- possible object is
String
-
setTargetIncludeLibrarySystem
public void setTargetIncludeLibrarySystem(java.lang.String value)
Sets the value of the targetIncludeLibrarySystem property.- Parameters:
value- allowed object isString
-
getTargetIncludeLibraryId
public java.lang.String getTargetIncludeLibraryId()
Gets the value of the targetIncludeLibraryId property.- Returns:
- possible object is
String
-
setTargetIncludeLibraryId
public void setTargetIncludeLibraryId(java.lang.String value)
Sets the value of the targetIncludeLibraryId property.- Parameters:
value- allowed object isString
-
getTargetIncludeLibraryVersionId
public java.lang.String getTargetIncludeLibraryVersionId()
Gets the value of the targetIncludeLibraryVersionId property.- Returns:
- possible object is
String
-
setTargetIncludeLibraryVersionId
public void setTargetIncludeLibraryVersionId(java.lang.String value)
Sets the value of the targetIncludeLibraryVersionId property.- Parameters:
value- allowed object isString
-
withMessage
public CqlToElmError withMessage(java.lang.String value)
-
withErrorType
public CqlToElmError withErrorType(ErrorType value)
-
withErrorSeverity
public CqlToElmError withErrorSeverity(ErrorSeverity value)
-
withTargetIncludeLibrarySystem
public CqlToElmError withTargetIncludeLibrarySystem(java.lang.String value)
-
withTargetIncludeLibraryId
public CqlToElmError withTargetIncludeLibraryId(java.lang.String value)
-
withTargetIncludeLibraryVersionId
public CqlToElmError withTargetIncludeLibraryVersionId(java.lang.String value)
-
withLibrarySystem
public CqlToElmError withLibrarySystem(java.lang.String value)
- Overrides:
withLibrarySystemin classLocator
-
withLibraryId
public CqlToElmError withLibraryId(java.lang.String value)
- Overrides:
withLibraryIdin classLocator
-
withLibraryVersion
public CqlToElmError withLibraryVersion(java.lang.String value)
- Overrides:
withLibraryVersionin classLocator
-
withStartLine
public CqlToElmError withStartLine(java.lang.Integer value)
- Overrides:
withStartLinein classLocator
-
withStartChar
public CqlToElmError withStartChar(java.lang.Integer value)
- Overrides:
withStartCharin classLocator
-
withEndLine
public CqlToElmError withEndLine(java.lang.Integer value)
- Overrides:
withEndLinein classLocator
-
withEndChar
public CqlToElmError withEndChar(java.lang.Integer value)
- Overrides:
withEndCharin classLocator
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classLocator
-
-