Class SDPStrekkode
java.lang.Object
no.difi.begrep.sdp.utvidelser.arrangement.SDPStrekkode
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class SDPStrekkode
extends Object
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for Strekkode complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Strekkode">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="tittel" type="{http://begrep.difi.no/sdp/utvidelser/arrangement}Tittel" minOccurs="0"/>
<element name="verdi" type="{http://begrep.difi.no/sdp/utvidelser/arrangement}Strekkodeverdi"/>
<element name="type" type="{http://begrep.difi.no/sdp/utvidelser/arrangement}Strekkodetype"/>
<element name="tekst" type="{http://begrep.difi.no/sdp/utvidelser/arrangement}Beskrivelse" minOccurs="0"/>
<element name="vis-verdi" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SDPBeskrivelseprotected SDPTittelprotected SDPStrekkodetypeprotected Stringprotected Boolean -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorSDPStrekkode(SDPTittel tittel, String verdi, SDPStrekkodetype type, SDPBeskrivelse tekst, Boolean visVerdi) 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) getTekst()Gets the value of the tekst property.Gets the value of the tittel property.getType()Gets the value of the type property.getVerdi()Gets the value of the verdi property.Gets the value of the visVerdi property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetTekst(SDPBeskrivelse value) Sets the value of the tekst property.voidSets the value of the tittel property.voidsetType(SDPStrekkodetype value) Sets the value of the type property.voidSets the value of the verdi property.voidsetVisVerdi(Boolean value) Sets the value of the visVerdi property.toString()withTekst(SDPBeskrivelse value) withTittel(SDPTittel value) withType(SDPStrekkodetype value) withVisVerdi(Boolean value)
-
Field Details
-
tittel
-
verdi
-
type
-
tekst
-
visVerdi
-
-
Constructor Details
-
SDPStrekkode
public SDPStrekkode()Default no-arg constructor -
SDPStrekkode
public SDPStrekkode(SDPTittel tittel, String verdi, SDPStrekkodetype type, SDPBeskrivelse tekst, Boolean visVerdi) Fully-initialising value constructor
-
-
Method Details
-
getTittel
Gets the value of the tittel property.- Returns:
- possible object is
SDPTittel
-
setTittel
Sets the value of the tittel property.- Parameters:
value- allowed object isSDPTittel
-
getVerdi
Gets the value of the verdi property.- Returns:
- possible object is
String
-
setVerdi
Sets the value of the verdi property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
SDPStrekkodetype
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSDPStrekkodetype
-
getTekst
Gets the value of the tekst property.- Returns:
- possible object is
SDPBeskrivelse
-
setTekst
Sets the value of the tekst property.- Parameters:
value- allowed object isSDPBeskrivelse
-
getVisVerdi
Gets the value of the visVerdi property.- Returns:
- possible object is
Boolean
-
setVisVerdi
Sets the value of the visVerdi property.- Parameters:
value- allowed object isBoolean
-
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
-
withVerdi
-
withType
-
withTekst
-
withVisVerdi
-