Class TLcdOWSExceptionReport
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theExceptionelement.static final TLcdDataPropertyData property that maps to thelangattribute.static final TLcdDataPropertyData property that maps to theversionattribute. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddException(TLcdOWSException aException) Adds an exception.Returns the value of the property that maps to theExceptionelement.getException(int aIndex) Gets the exception at a given position.intGets the number of exceptions.getLang()Returns the value of the property that maps to thelangattribute.Gets the language.Returns the value of the property that maps to theversionattribute.voidremoveException(int aIndex) Removes the exception at a given position.voidSets the value of the property that maps to thelangattribute.voidsetLanguage(String aLanguage) Sets the language.voidsetVersion(String aValue) Sets the value of the property that maps to theversionattribute.toString()Returns a string representation of the object.Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
-
Field Details
-
VERSION_PROPERTY
Data property that maps to theversionattribute. The possible values for this property are instances ofString. -
LANG_PROPERTY
Data property that maps to thelangattribute. The possible values for this property are instances ofString. -
EXCEPTION_PROPERTY
Data property that maps to theExceptionelement. The possible values for this property are instances ofList<TLcdOWSException>.
-
-
Constructor Details
-
TLcdOWSExceptionReport
public TLcdOWSExceptionReport()
-
-
Method Details
-
getLanguage
Gets the language.Identifier of the language used by all included exception text values.
- Returns:
- the language.
-
setLanguage
Sets the language.Identifier of the language used by all included exception text values.
- Parameters:
aLanguage- the language to be set.
-
addException
Adds an exception.- Parameters:
aException- the exception to be added.
-
getExceptionCount
public int getExceptionCount()Gets the number of exceptions.- Returns:
- the number of exceptions.
-
removeException
public void removeException(int aIndex) Removes the exception at a given position.- Parameters:
aIndex- the index of the given position.
-
getException
Gets the exception at a given position.- Parameters:
aIndex- the index of the given position.- Returns:
- the exception at the given position.
-
toString
Returns a string representation of the object. In general, thetoStringmethod returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.The
toStringmethod for classObjectreturns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:getClass().getName() + '@' + Integer.toHexString(hashCode())
- Overrides:
toStringin classTLcdDataObject- Returns:
- a string representation of the object.
-
getVersion
Returns the value of the property that maps to theversionattribute.Specification version for OWS operation. The string value shall contain one x.y.z "version" value (e.g., "2.1.3"). A version number shall contain three non-negative integers separated by decimal points, in the form "x.y.z". The integers y and z shall not exceed 99. Each version shall be for the Implementation Specification (document) and the associated XML Schemas to which requested operations will conform. An Implementation Specification version normally specifies XML Schemas against which an XML encoded operation response must conform and should be validated. See Version negotiation subclause for more information.
- Returns:
- the value of the
VERSION_PROPERTYproperty.
-
setVersion
Sets the value of the property that maps to theversionattribute.Specification version for OWS operation. The string value shall contain one x.y.z "version" value (e.g., "2.1.3"). A version number shall contain three non-negative integers separated by decimal points, in the form "x.y.z". The integers y and z shall not exceed 99. Each version shall be for the Implementation Specification (document) and the associated XML Schemas to which requested operations will conform. An Implementation Specification version normally specifies XML Schemas against which an XML encoded operation response must conform and should be validated. See Version negotiation subclause for more information.
- Parameters:
aValue- the value to set for theVERSION_PROPERTYproperty.
-
getLang
Returns the value of the property that maps to thelangattribute.Identifier of the language used by all included exception text values. These language identifiers shall be as specified in IETF RFC 4646. When this attribute is omitted, the language used is not identified.
- Returns:
- the value of the
LANG_PROPERTYproperty.
-
setLang
Sets the value of the property that maps to thelangattribute.Identifier of the language used by all included exception text values. These language identifiers shall be as specified in IETF RFC 4646. When this attribute is omitted, the language used is not identified.
- Parameters:
aValue- the value to set for theLANG_PROPERTYproperty.
-
getException
Returns the value of the property that maps to theExceptionelement.- Returns:
- the value of the
EXCEPTION_PROPERTYproperty.
-