no.difi.begrep.sdp.schema_v10
Class SDPDokument

java.lang.Object
  extended by no.difi.begrep.sdp.schema_v10.SDPDokument
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class SDPDokument
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

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"/>
       </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
protected  String href
           
protected  String mime
           
protected  SDPTittel tittel
           
 
Constructor Summary
SDPDokument()
          Default no-arg constructor
SDPDokument(SDPTittel tittel, String href, String mime)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 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.
 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 withHref(String value)
           
 SDPDokument withMime(String value)
           
 SDPDokument withTittel(SDPTittel value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tittel

protected SDPTittel tittel

href

protected String href

mime

protected String mime
Constructor Detail

SDPDokument

public SDPDokument()
Default no-arg constructor


SDPDokument

public SDPDokument(SDPTittel tittel,
                   String href,
                   String mime)
Fully-initialising value constructor

Method Detail

getTittel

public SDPTittel getTittel()
Gets the value of the tittel property.

Returns:
possible object is SDPTittel

setTittel

public void setTittel(SDPTittel value)
Sets the value of the tittel property.

Parameters:
value - allowed object is SDPTittel

getHref

public String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getMime

public String getMime()
Gets the value of the mime property.

Returns:
possible object is String

setMime

public void setMime(String value)
Sets the value of the mime property.

Parameters:
value - allowed object is String

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withTittel

public SDPDokument withTittel(SDPTittel value)

withHref

public SDPDokument withHref(String value)

withMime

public SDPDokument withMime(String value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.