public class Error
extends java.lang.Object
Java class for OAI-PMHerrorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OAI-PMHerrorType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="code" use="required" type="{http://www.openarchives.org/OAI/2.0/}OAI-PMHerrorcodeType" /> </extension> </simpleContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected ErrorCode |
code |
protected java.lang.String |
value |
Constructor and Description |
---|
Error() |
Modifier and Type | Method and Description |
---|---|
ErrorCode |
getCode()
Gets the value of the code property.
|
java.lang.String |
getValue()
Gets the value of the value property.
|
void |
setCode(ErrorCode value)
Sets the value of the code property.
|
void |
setValue(java.lang.String value)
Sets the value of the value property.
|
protected java.lang.String value
protected ErrorCode code
public java.lang.String getValue()
String
public void setValue(java.lang.String value)
value
- allowed object is
String
public ErrorCode getCode()
ErrorCode
Copyright © 2007-2020 EDIT. All Rights Reserved.