public class HashResponse extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for HashResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HashResponse">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
<element name="function" type="{http://www.w3.org/2001/XMLSchema}string"/>
<choice>
<element name="hash" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="error" type="{http://www.w3.org/2001/XMLSchema}string"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
error |
protected String |
function |
protected String |
hash |
protected String |
id |
protected String |
uri |
| Constructor and Description |
|---|
HashResponse() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
String |
getError()
Gets the value of the error property.
|
String |
getFunction()
Gets the value of the function property.
|
String |
getHash()
Gets the value of the hash property.
|
String |
getId()
Gets the value of the id property.
|
String |
getUri()
Gets the value of the uri property.
|
boolean |
isSetError() |
boolean |
isSetFunction() |
boolean |
isSetHash() |
boolean |
isSetId() |
boolean |
isSetUri() |
void |
setError(String value)
Sets the value of the error property.
|
void |
setFunction(String value)
Sets the value of the function property.
|
void |
setHash(String value)
Sets the value of the hash property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setUri(String value)
Sets the value of the uri property.
|
HashResponse |
withError(String value) |
HashResponse |
withFunction(String value) |
HashResponse |
withHash(String value) |
HashResponse |
withId(String value) |
HashResponse |
withUri(String value) |
protected String id
protected String uri
protected String function
protected String hash
protected String error
public void setId(String value)
value - allowed object is
Stringpublic boolean isSetId()
public void setUri(String value)
value - allowed object is
Stringpublic boolean isSetUri()
public String getFunction()
Stringpublic void setFunction(String value)
value - allowed object is
Stringpublic boolean isSetFunction()
public String getHash()
Stringpublic void setHash(String value)
value - allowed object is
Stringpublic boolean isSetHash()
public String getError()
Stringpublic void setError(String value)
value - allowed object is
Stringpublic boolean isSetError()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic HashResponse withId(String value)
public HashResponse withUri(String value)
public HashResponse withFunction(String value)
public HashResponse withHash(String value)
public HashResponse withError(String value)
Copyright © 2015. All rights reserved.