public class Signature extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for SignatureType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignatureType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/> <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected KeyInfo |
keyInfo |
protected List<Object> |
objects |
protected SignatureValue |
signatureValue |
protected SignedInfo |
signedInfo |
Constructor and Description |
---|
Signature()
Default no-arg constructor
|
Signature(SignedInfo signedInfo,
SignatureValue signatureValue,
KeyInfo keyInfo,
List<Object> objects,
String id)
Fully-initialising value constructor
|
Modifier and Type | Method and Description |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
String |
getId()
Gets the value of the id property.
|
KeyInfo |
getKeyInfo()
Gets the value of the keyInfo property.
|
List<Object> |
getObjects()
Gets the value of the objects property.
|
SignatureValue |
getSignatureValue()
Gets the value of the signatureValue property.
|
SignedInfo |
getSignedInfo()
Gets the value of the signedInfo property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setId(String value)
Sets the value of the id property.
|
void |
setKeyInfo(KeyInfo value)
Sets the value of the keyInfo property.
|
void |
setObjects(List<Object> value) |
void |
setSignatureValue(SignatureValue value)
Sets the value of the signatureValue property.
|
void |
setSignedInfo(SignedInfo value)
Sets the value of the signedInfo property.
|
String |
toString() |
Signature |
withId(String value) |
Signature |
withKeyInfo(KeyInfo value) |
Signature |
withObjects(Collection<Object> values) |
Signature |
withObjects(List<Object> value) |
Signature |
withObjects(Object... values) |
Signature |
withSignatureValue(SignatureValue value) |
Signature |
withSignedInfo(SignedInfo value) |
protected SignedInfo signedInfo
protected SignatureValue signatureValue
protected KeyInfo keyInfo
protected String id
public Signature()
public Signature(SignedInfo signedInfo, SignatureValue signatureValue, KeyInfo keyInfo, List<Object> objects, String id)
public SignedInfo getSignedInfo()
SignedInfo
public void setSignedInfo(SignedInfo value)
value
- allowed object is
SignedInfo
public SignatureValue getSignatureValue()
SignatureValue
public void setSignatureValue(SignatureValue value)
value
- allowed object is
SignatureValue
public KeyInfo getKeyInfo()
KeyInfo
public void setKeyInfo(KeyInfo value)
value
- allowed object is
KeyInfo
public List<Object> getObjects()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the objects property.
For example, to add a new item, do as follows:
getObjects().add(newItem);
Objects of the following type(s) are allowed in the list
Object
public void setId(String value)
value
- allowed object is
String
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString2
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString2
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals2
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode2
public Signature withSignedInfo(SignedInfo value)
public Signature withSignatureValue(SignatureValue value)
public Signature withObjects(Collection<Object> values)
Copyright © 2019 Digipost. All rights reserved.