Class SDPDokumentData

java.lang.Object
no.difi.begrep.sdp.schema_v10.SDPDokumentData
All Implemented Interfaces:
DokumentpakkeFil, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class SDPDokumentData 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 DokumentData complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="DokumentData">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <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 Details

  • Constructor Details

    • SDPDokumentData

      public SDPDokumentData()
      Default no-arg constructor
    • SDPDokumentData

      public SDPDokumentData(String href, String mime)
      Fully-initialising value constructor
  • Method Details

    • getHref

      public String getHref()
      Gets the value of the href property.
      Specified by:
      getHref in interface DokumentpakkeFil
      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.
      Specified by:
      getMime in interface DokumentpakkeFil
      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.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.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 interface org.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 interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • withHref

      public SDPDokumentData withHref(String value)
    • withMime

      public SDPDokumentData withMime(String value)