public class PGPData
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for PGPDataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PGPDataType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <sequence> <element name="PGPKeyID" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> <element name="PGPKeyPacket" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <sequence> <element name="PGPKeyPacket" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> </choice> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<org.w3c.dom.Element> |
anies |
protected byte[] |
pgpKeyID |
protected byte[] |
pgpKeyPacket |
Constructor and Description |
---|
PGPData()
Default no-arg constructor
|
PGPData(byte[] pgpKeyID,
byte[] pgpKeyPacket,
java.util.List<org.w3c.dom.Element> anies)
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) |
java.util.List<org.w3c.dom.Element> |
getAnies()
Gets the value of the anies property.
|
byte[] |
getPGPKeyID()
Gets the value of the pgpKeyID property.
|
byte[] |
getPGPKeyPacket()
Gets the value of the pgpKeyPacket property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setPGPKeyID(byte[] value)
Sets the value of the pgpKeyID property.
|
void |
setPGPKeyPacket(byte[] value)
Sets the value of the pgpKeyPacket property.
|
PGPData |
withAnies(java.util.Collection<org.w3c.dom.Element> values) |
PGPData |
withAnies(org.w3c.dom.Element... values) |
PGPData |
withPGPKeyID(byte[] value) |
PGPData |
withPGPKeyPacket(byte[] value) |
protected byte[] pgpKeyID
protected byte[] pgpKeyPacket
protected java.util.List<org.w3c.dom.Element> anies
public PGPData()
public PGPData(byte[] pgpKeyID, byte[] pgpKeyPacket, java.util.List<org.w3c.dom.Element> anies)
public byte[] getPGPKeyID()
public void setPGPKeyID(byte[] value)
value
- allowed object is
byte[]public byte[] getPGPKeyPacket()
public void setPGPKeyPacket(byte[] value)
value
- allowed object is
byte[]public java.util.List<org.w3c.dom.Element> getAnies()
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 anies property.
For example, to add a new item, do as follows:
getAnies().add(newItem);
Objects of the following type(s) are allowed in the list
Element
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 PGPData withPGPKeyID(byte[] value)
public PGPData withPGPKeyPacket(byte[] value)
public PGPData withAnies(org.w3c.dom.Element... values)
public PGPData withAnies(java.util.Collection<org.w3c.dom.Element> values)