public class Manifest
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for ManifestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ManifestType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
id |
protected java.util.List<Reference> |
references |
| Constructor and Description |
|---|
Manifest()
Default no-arg constructor
|
Manifest(java.util.List<Reference> references,
java.lang.String id)
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.lang.String |
getId()
Gets the value of the id property.
|
java.util.List<Reference> |
getReferences()
Gets the value of the references property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setId(java.lang.String value)
Sets the value of the id property.
|
Manifest |
withId(java.lang.String value) |
Manifest |
withReferences(java.util.Collection<Reference> values) |
Manifest |
withReferences(Reference... values) |
protected java.util.List<Reference> references
protected java.lang.String id
public Manifest()
public Manifest(java.util.List<Reference> references, java.lang.String id)
public java.util.List<Reference> getReferences()
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 references property.
For example, to add a new item, do as follows:
getReferences().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic 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.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic Manifest withId(java.lang.String value)