Package no.difi.begrep.sdp.schema_v10
Class SDPManifest
java.lang.Object
no.difi.begrep.sdp.schema_v10.SDPManifest
- All Implemented Interfaces:
HarHoveddokumentOgVedlegg<SDPDokument>,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class SDPManifest
extends Object
implements HarHoveddokumentOgVedlegg<SDPDokument>, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Inneholder metadata relatert til hver fil i en forsendelse.
Java class for Manifest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Manifest">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="mottaker" type="{http://begrep.difi.no/sdp/schema_v10}Mottaker" minOccurs="0"/>
<element name="avsender" type="{http://begrep.difi.no/sdp/schema_v10}Avsender"/>
<element name="hoveddokument" type="{http://begrep.difi.no/sdp/schema_v10}Dokument"/>
<element name="vedlegg" type="{http://begrep.difi.no/sdp/schema_v10}Dokument" maxOccurs="200" minOccurs="0"/>
<element name="lenke" type="{http://begrep.difi.no/sdp/schema_v10}Lenke" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SDPAvsenderprotected SDPDokumentprotected SDPLenkeprotected SDPMottakerprotected List<SDPDokument> -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorSDPManifest(SDPMottaker mottaker, SDPAvsender avsender, SDPDokument hoveddokument, List<SDPDokument> vedleggs, SDPLenke lenke) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the avsender property.Gets the value of the hoveddokument property.getLenke()Gets the value of the lenke property.Gets the value of the mottaker property.Gets the value of the vedleggs property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAvsender(SDPAvsender value) Sets the value of the avsender property.voidsetHoveddokument(SDPDokument value) Sets the value of the hoveddokument property.voidSets the value of the lenke property.voidsetMottaker(SDPMottaker value) Sets the value of the mottaker property.voidsetVedleggs(List<SDPDokument> value) toString()withAvsender(SDPAvsender value) withHoveddokument(SDPDokument value) withMottaker(SDPMottaker value) withVedleggs(Collection<SDPDokument> values) withVedleggs(List<SDPDokument> value) withVedleggs(SDPDokument... values) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface no.digipost.xsd.types.HarHoveddokumentOgVedlegg
alleDokumenter
-
Field Details
-
mottaker
-
avsender
-
hoveddokument
-
vedleggs
-
lenke
-
-
Constructor Details
-
SDPManifest
public SDPManifest()Default no-arg constructor -
SDPManifest
public SDPManifest(SDPMottaker mottaker, SDPAvsender avsender, SDPDokument hoveddokument, List<SDPDokument> vedleggs, SDPLenke lenke) Fully-initialising value constructor
-
-
Method Details
-
getMottaker
Gets the value of the mottaker property.- Returns:
- possible object is
SDPMottaker
-
setMottaker
Sets the value of the mottaker property.- Parameters:
value- allowed object isSDPMottaker
-
getAvsender
Gets the value of the avsender property.- Returns:
- possible object is
SDPAvsender
-
setAvsender
Sets the value of the avsender property.- Parameters:
value- allowed object isSDPAvsender
-
getHoveddokument
Gets the value of the hoveddokument property.- Specified by:
getHoveddokumentin interfaceHarHoveddokumentOgVedlegg<SDPDokument>- Returns:
- possible object is
SDPDokument
-
setHoveddokument
Sets the value of the hoveddokument property.- Parameters:
value- allowed object isSDPDokument
-
getVedleggs
Gets the value of the vedleggs property.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
setmethod for the vedleggs property.For example, to add a new item, do as follows:
getVedleggs().add(newItem);Objects of the following type(s) are allowed in the list
SDPDokument- Specified by:
getVedleggsin interfaceHarHoveddokumentOgVedlegg<SDPDokument>
-
getLenke
Gets the value of the lenke property.- Returns:
- possible object is
SDPLenke
-
setLenke
Sets the value of the lenke property.- Parameters:
value- allowed object isSDPLenke
-
setVedleggs
-
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
equals
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) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode() -
withMottaker
-
withAvsender
-
withHoveddokument
-
withVedleggs
-
withVedleggs
-
withLenke
-
withVedleggs
-