public class SDPDokument extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, 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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
href |
protected String |
mime |
protected SDPTittel |
tittel |
| Constructor and Description |
|---|
SDPDokument()
Default no-arg constructor
|
SDPDokument(SDPTittel tittel,
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.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy 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.EqualsStrategy 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.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
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) |
protected SDPTittel tittel
protected String href
protected String mime
public SDPTittel getTittel()
SDPTittelpublic void setTittel(SDPTittel value)
value - allowed object is
SDPTittelpublic String getHref()
Stringpublic void setHref(String value)
value - allowed object is
Stringpublic String getMime()
Stringpublic 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.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic SDPDokument withTittel(SDPTittel value)
public SDPDokument withHref(String value)
public SDPDokument withMime(String value)
Copyright © 2017 Digipost. All Rights Reserved.