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>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorSDPDokument(SDPTittel tittel, SDPDokumentData data, String href, String mime) 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) getData()Gets the value of the data property.getHref()Gets the value of the href property.getMime()Gets the value of the mime property.Gets the value of the tittel property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetData(SDPDokumentData value) Sets the value of the data property.voidSets the value of the href property.voidSets the value of the mime property.voidSets the value of the tittel property.toString()withData(SDPDokumentData value) withTittel(SDPTittel value)
-
Field Details
-
tittel
-
data
-
href
-
mime
-
-
Constructor Details
-
SDPDokument
public SDPDokument()Default no-arg constructor -
SDPDokument
Fully-initialising value constructor
-
-
Method Details
-
getTittel
Gets the value of the tittel property.- Specified by:
getTittelin interfaceDokumentpakkeFil- Returns:
- possible object is
SDPTittel
-
setTittel
Sets the value of the tittel property.- Parameters:
value- allowed object isSDPTittel
-
getData
Gets the value of the data property.- Returns:
- possible object is
SDPDokumentData
-
setData
Sets the value of the data property.- Parameters:
value- allowed object isSDPDokumentData
-
getHref
Gets the value of the href property.- Specified by:
getHrefin interfaceDokumentpakkeFil- Returns:
- possible object is
String
-
setHref
Sets the value of the href property.- Parameters:
value- allowed object isString
-
getMime
Gets the value of the mime property.- Specified by:
getMimein interfaceDokumentpakkeFil- Returns:
- possible object is
String
-
setMime
Sets the value of the mime property.- Parameters:
value- allowed object isString
-
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() -
withTittel
-
withData
-
withHref
-
withMime
-