Package no.difi.begrep.sdp.schema_v10
Class SDPDokument
- java.lang.Object
-
- no.difi.begrep.sdp.schema_v10.SDPDokument
-
- All Implemented Interfaces:
DokumentpakkeFil
,org.jvnet.jaxb2_commons.lang.Equals2
,org.jvnet.jaxb2_commons.lang.HashCode2
,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
-
Constructor Summary
Constructors Constructor Description SDPDokument()
Default no-arg constructorSDPDokument(SDPTittel tittel, SDPDokumentData data, String href, String mime)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
tittel
protected SDPTittel tittel
-
data
protected SDPDokumentData data
-
href
protected String href
-
mime
protected String mime
-
-
Constructor Detail
-
SDPDokument
public SDPDokument()
Default no-arg constructor
-
SDPDokument
public SDPDokument(SDPTittel tittel, SDPDokumentData data, String href, String mime)
Fully-initialising value constructor
-
-
Method Detail
-
getTittel
public SDPTittel getTittel()
Gets the value of the tittel property.- Specified by:
getTittel
in interfaceDokumentpakkeFil
- Returns:
- possible object is
SDPTittel
-
setTittel
public void setTittel(SDPTittel value)
Sets the value of the tittel property.- Parameters:
value
- allowed object isSDPTittel
-
getData
public SDPDokumentData getData()
Gets the value of the data property.- Returns:
- possible object is
SDPDokumentData
-
setData
public void setData(SDPDokumentData value)
Sets the value of the data property.- Parameters:
value
- allowed object isSDPDokumentData
-
getHref
public String getHref()
Gets the value of the href property.- Specified by:
getHref
in interfaceDokumentpakkeFil
- Returns:
- possible object is
String
-
setHref
public void setHref(String value)
Sets the value of the href property.- Parameters:
value
- allowed object isString
-
getMime
public String getMime()
Gets the value of the mime property.- Specified by:
getMime
in interfaceDokumentpakkeFil
- Returns:
- possible object is
String
-
setMime
public void setMime(String value)
Sets the value of the mime property.- Parameters:
value
- allowed object isString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
append
in 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:
appendFields
in 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:
equals
in 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:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
withTittel
public SDPDokument withTittel(SDPTittel value)
-
withData
public SDPDokument withData(SDPDokumentData value)
-
withHref
public SDPDokument withHref(String value)
-
withMime
public SDPDokument withMime(String value)
-
-