public class Reference
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for ReferenceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReferenceType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/> </sequence> <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected DigestMethod |
digestMethod |
protected byte[] |
digestValue |
protected java.lang.String |
id |
protected Transforms |
transforms |
protected java.lang.String |
type |
protected java.lang.String |
uri |
Constructor and Description |
---|
Reference()
Default no-arg constructor
|
Reference(Transforms transforms,
DigestMethod digestMethod,
byte[] digestValue,
java.lang.String id,
java.lang.String uri,
java.lang.String type)
Fully-initialising value constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
DigestMethod |
getDigestMethod()
Gets the value of the digestMethod property.
|
byte[] |
getDigestValue()
Gets the value of the digestValue property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
Transforms |
getTransforms()
Gets the value of the transforms property.
|
java.lang.String |
getType()
Gets the value of the type property.
|
java.lang.String |
getURI()
Gets the value of the uri property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDigestMethod(DigestMethod value)
Sets the value of the digestMethod property.
|
void |
setDigestValue(byte[] value)
Sets the value of the digestValue property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setTransforms(Transforms value)
Sets the value of the transforms property.
|
void |
setType(java.lang.String value)
Sets the value of the type property.
|
void |
setURI(java.lang.String value)
Sets the value of the uri property.
|
Reference |
withDigestMethod(DigestMethod value) |
Reference |
withDigestValue(byte[] value) |
Reference |
withId(java.lang.String value) |
Reference |
withTransforms(Transforms value) |
Reference |
withType(java.lang.String value) |
Reference |
withURI(java.lang.String value) |
protected Transforms transforms
protected DigestMethod digestMethod
protected byte[] digestValue
protected java.lang.String id
protected java.lang.String uri
protected java.lang.String type
public Reference()
public Reference(Transforms transforms, DigestMethod digestMethod, byte[] digestValue, java.lang.String id, java.lang.String uri, java.lang.String type)
public Transforms getTransforms()
Transforms
public void setTransforms(Transforms value)
value
- allowed object is
Transforms
public DigestMethod getDigestMethod()
DigestMethod
public void setDigestMethod(DigestMethod value)
value
- allowed object is
DigestMethod
public byte[] getDigestValue()
public void setDigestValue(byte[] value)
value
- allowed object is
byte[]public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
public java.lang.String getURI()
String
public void setURI(java.lang.String value)
value
- allowed object is
String
public java.lang.String getType()
String
public void setType(java.lang.String value)
value
- allowed object is
String
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.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public int hashCode()
hashCode
in class java.lang.Object
public Reference withTransforms(Transforms value)
public Reference withDigestMethod(DigestMethod value)
public Reference withDigestValue(byte[] value)
public Reference withId(java.lang.String value)
public Reference withURI(java.lang.String value)
public Reference withType(java.lang.String value)