Class TLcdOWSExceptionReport
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theException
element.static final TLcdDataProperty
Data property that maps to thelang
attribute.static final TLcdDataProperty
Data property that maps to theversion
attribute. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addException
(TLcdOWSException aException) Adds an exception.Returns the value of the property that maps to theException
element.getException
(int aIndex) Gets the exception at a given position.int
Gets the number of exceptions.getLang()
Returns the value of the property that maps to thelang
attribute.Gets the language.Returns the value of the property that maps to theversion
attribute.void
removeException
(int aIndex) Removes the exception at a given position.void
Sets the value of the property that maps to thelang
attribute.void
setLanguage
(String aLanguage) Sets the language.void
setVersion
(String aValue) Sets the value of the property that maps to theversion
attribute.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 theversion
attribute. The possible values for this property are instances ofString
. -
LANG_PROPERTY
Data property that maps to thelang
attribute. The possible values for this property are instances ofString
. -
EXCEPTION_PROPERTY
Data property that maps to theException
element. 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, thetoString
method 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
toString
method for classObject
returns 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:
toString
in classTLcdDataObject
- Returns:
- a string representation of the object.
-
getVersion
Returns the value of the property that maps to theversion
attribute.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_PROPERTY
property.
-
setVersion
Sets the value of the property that maps to theversion
attribute.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_PROPERTY
property.
-
getLang
Returns the value of the property that maps to thelang
attribute.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_PROPERTY
property.
-
setLang
Sets the value of the property that maps to thelang
attribute.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_PROPERTY
property.
-
getException
Returns the value of the property that maps to theException
element.- Returns:
- the value of the
EXCEPTION_PROPERTY
property.
-