public class SDPDokument extends Object implements DokumentpakkeFil, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for Dokument complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Dokument">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="tittel" type="{http://begrep.difi.no/sdp/schema_v10}Tittel" minOccurs="0"/>
<element name="data" type="{http://begrep.difi.no/sdp/schema_v10}DokumentData" minOccurs="0"/>
</sequence>
<attribute name="href" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="4"/>
<maxLength value="100"/>
</restriction>
</simpleType>
</attribute>
<attribute name="mime" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<maxLength value="100"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected SDPDokumentData |
data |
protected String |
href |
protected String |
mime |
protected SDPTittel |
tittel |
| Constructor and Description |
|---|
SDPDokument()
Default no-arg constructor
|
SDPDokument(SDPTittel tittel,
SDPDokumentData data,
String href,
String mime)
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) |
SDPDokumentData |
getData()
Gets the value of the data property.
|
String |
getHref()
Gets the value of the href property.
|
String |
getMime()
Gets the value of the mime property.
|
SDPTittel |
getTittel()
Gets the value of the tittel property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setData(SDPDokumentData value)
Sets the value of the data property.
|
void |
setHref(String value)
Sets the value of the href property.
|
void |
setMime(String value)
Sets the value of the mime property.
|
void |
setTittel(SDPTittel value)
Sets the value of the tittel property.
|
String |
toString() |
SDPDokument |
withData(SDPDokumentData value) |
SDPDokument |
withHref(String value) |
SDPDokument |
withMime(String value) |
SDPDokument |
withTittel(SDPTittel value) |
protected SDPTittel tittel
protected SDPDokumentData data
protected String href
protected String mime
public SDPDokument()
public SDPDokument(SDPTittel tittel, SDPDokumentData data, String href, String mime)
public SDPTittel getTittel()
getTittel in interface DokumentpakkeFilSDPTittelpublic void setTittel(SDPTittel value)
value - allowed object is
SDPTittelpublic SDPDokumentData getData()
SDPDokumentDatapublic void setData(SDPDokumentData value)
value - allowed object is
SDPDokumentDatapublic String getHref()
getHref in interface DokumentpakkeFilStringpublic void setHref(String value)
value - allowed object is
Stringpublic String getMime()
getMime in interface DokumentpakkeFilStringpublic void setMime(String value)
value - allowed object is
Stringpublic 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.ToString2public 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.ToString2public 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.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public SDPDokument withTittel(SDPTittel value)
public SDPDokument withData(SDPDokumentData value)
public SDPDokument withHref(String value)
public SDPDokument withMime(String value)
Copyright © 2019 Digipost. All rights reserved.