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
Fields Modifier and Type Field Description protected SDPAvsenderavsenderprotected SDPDokumenthoveddokumentprotected SDPLenkelenkeprotected SDPMottakermottakerprotected List<SDPDokument>vedleggs
-
Constructor Summary
Constructors Constructor Description SDPManifest()Default no-arg constructorSDPManifest(SDPMottaker mottaker, SDPAvsender avsender, SDPDokument hoveddokument, List<SDPDokument> vedleggs, SDPLenke lenke)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)SDPAvsendergetAvsender()Gets the value of the avsender property.SDPDokumentgetHoveddokument()Gets the value of the hoveddokument property.SDPLenkegetLenke()Gets the value of the lenke property.SDPMottakergetMottaker()Gets the value of the mottaker property.List<SDPDokument>getVedleggs()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.voidsetLenke(SDPLenke value)Sets the value of the lenke property.voidsetMottaker(SDPMottaker value)Sets the value of the mottaker property.voidsetVedleggs(List<SDPDokument> value)StringtoString()SDPManifestwithAvsender(SDPAvsender value)SDPManifestwithHoveddokument(SDPDokument value)SDPManifestwithLenke(SDPLenke value)SDPManifestwithMottaker(SDPMottaker value)SDPManifestwithVedleggs(Collection<SDPDokument> values)SDPManifestwithVedleggs(List<SDPDokument> value)SDPManifestwithVedleggs(SDPDokument... values)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface no.digipost.xsd.types.HarHoveddokumentOgVedlegg
alleDokumenter
-
-
-
-
Field Detail
-
mottaker
protected SDPMottaker mottaker
-
avsender
protected SDPAvsender avsender
-
hoveddokument
protected SDPDokument hoveddokument
-
vedleggs
protected List<SDPDokument> vedleggs
-
lenke
protected SDPLenke lenke
-
-
Constructor Detail
-
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 Detail
-
getMottaker
public SDPMottaker getMottaker()
Gets the value of the mottaker property.- Returns:
- possible object is
SDPMottaker
-
setMottaker
public void setMottaker(SDPMottaker value)
Sets the value of the mottaker property.- Parameters:
value- allowed object isSDPMottaker
-
getAvsender
public SDPAvsender getAvsender()
Gets the value of the avsender property.- Returns:
- possible object is
SDPAvsender
-
setAvsender
public void setAvsender(SDPAvsender value)
Sets the value of the avsender property.- Parameters:
value- allowed object isSDPAvsender
-
getHoveddokument
public SDPDokument getHoveddokument()
Gets the value of the hoveddokument property.- Specified by:
getHoveddokumentin interfaceHarHoveddokumentOgVedlegg<SDPDokument>- Returns:
- possible object is
SDPDokument
-
setHoveddokument
public void setHoveddokument(SDPDokument value)
Sets the value of the hoveddokument property.- Parameters:
value- allowed object isSDPDokument
-
getVedleggs
public List<SDPDokument> 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
public SDPLenke getLenke()
Gets the value of the lenke property.- Returns:
- possible object is
SDPLenke
-
setLenke
public void setLenke(SDPLenke value)
Sets the value of the lenke property.- Parameters:
value- allowed object isSDPLenke
-
setVedleggs
public void setVedleggs(List<SDPDokument> value)
-
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
-
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
-
withMottaker
public SDPManifest withMottaker(SDPMottaker value)
-
withAvsender
public SDPManifest withAvsender(SDPAvsender value)
-
withHoveddokument
public SDPManifest withHoveddokument(SDPDokument value)
-
withVedleggs
public SDPManifest withVedleggs(SDPDokument... values)
-
withVedleggs
public SDPManifest withVedleggs(Collection<SDPDokument> values)
-
withLenke
public SDPManifest withLenke(SDPLenke value)
-
withVedleggs
public SDPManifest withVedleggs(List<SDPDokument> value)
-
-