Class SDPBevis
- java.lang.Object
-
- no.difi.begrep.sdp.utvidelser.bevis.SDPBevis
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class SDPBevis extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for Bevis complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Bevis"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="utsteder-visningsnavn" type="{http://begrep.difi.no/sdp/utvidelser/bevis}UtstederVisningsnavn" minOccurs="0"/> <element name="bakgrunnsfarge" type="{http://begrep.difi.no/sdp/utvidelser/bevis}HexFargeKode" minOccurs="0"/> <element name="utstedt-tidspunkt" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="gyldighetsperiode" type="{http://begrep.difi.no/sdp/utvidelser/bevis}Gyldighetsperiode" minOccurs="0"/> <element name="bevisholder" type="{http://begrep.difi.no/sdp/utvidelser/bevis}Bruker"/> <element name="tittel" type="{http://begrep.difi.no/sdp/utvidelser/bevis}Tittel"/> <element name="bevis-id-navn" type="{http://begrep.difi.no/sdp/utvidelser/bevis}BevisIdNavn" minOccurs="0"/> <element name="bevis-id-verdi" type="{http://begrep.difi.no/sdp/utvidelser/bevis}String100" minOccurs="0"/> <element name="attributt" type="{http://begrep.difi.no/sdp/utvidelser/bevis}Attributt" maxOccurs="5" minOccurs="0"/> <element name="info" type="{http://begrep.difi.no/sdp/utvidelser/bevis}Info" maxOccurs="3" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SDPAttributt>attributtsprotected Stringbakgrunnsfargeprotected SDPBrukerbevisholderprotected SDPBevisIdNavnbevisIdNavnprotected StringbevisIdVerdiprotected SDPGyldighetsperiodegyldighetsperiodeprotected List<SDPInfo>infosprotected SDPTitteltittelprotected SDPUtstederVisningsnavnutstederVisningsnavnprotected ZonedDateTimeutstedtTidspunkt
-
Constructor Summary
Constructors Constructor Description SDPBevis()Default no-arg constructorSDPBevis(SDPUtstederVisningsnavn utstederVisningsnavn, String bakgrunnsfarge, ZonedDateTime utstedtTidspunkt, SDPGyldighetsperiode gyldighetsperiode, SDPBruker bevisholder, SDPTittel tittel, SDPBevisIdNavn bevisIdNavn, String bevisIdVerdi, List<SDPAttributt> attributts, List<SDPInfo> infos)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)List<SDPAttributt>getAttributts()Gets the value of the attributts property.StringgetBakgrunnsfarge()Gets the value of the bakgrunnsfarge property.SDPBrukergetBevisholder()Gets the value of the bevisholder property.SDPBevisIdNavngetBevisIdNavn()Gets the value of the bevisIdNavn property.StringgetBevisIdVerdi()Gets the value of the bevisIdVerdi property.SDPGyldighetsperiodegetGyldighetsperiode()Gets the value of the gyldighetsperiode property.List<SDPInfo>getInfos()Gets the value of the infos property.SDPTittelgetTittel()Gets the value of the tittel property.SDPUtstederVisningsnavngetUtstederVisningsnavn()Gets the value of the utstederVisningsnavn property.ZonedDateTimegetUtstedtTidspunkt()Gets the value of the utstedtTidspunkt property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAttributts(List<SDPAttributt> value)voidsetBakgrunnsfarge(String value)Sets the value of the bakgrunnsfarge property.voidsetBevisholder(SDPBruker value)Sets the value of the bevisholder property.voidsetBevisIdNavn(SDPBevisIdNavn value)Sets the value of the bevisIdNavn property.voidsetBevisIdVerdi(String value)Sets the value of the bevisIdVerdi property.voidsetGyldighetsperiode(SDPGyldighetsperiode value)Sets the value of the gyldighetsperiode property.voidsetInfos(List<SDPInfo> value)voidsetTittel(SDPTittel value)Sets the value of the tittel property.voidsetUtstederVisningsnavn(SDPUtstederVisningsnavn value)Sets the value of the utstederVisningsnavn property.voidsetUtstedtTidspunkt(ZonedDateTime value)Sets the value of the utstedtTidspunkt property.StringtoString()SDPBeviswithAttributts(Collection<SDPAttributt> values)SDPBeviswithAttributts(List<SDPAttributt> value)SDPBeviswithAttributts(SDPAttributt... values)SDPBeviswithBakgrunnsfarge(String value)SDPBeviswithBevisholder(SDPBruker value)SDPBeviswithBevisIdNavn(SDPBevisIdNavn value)SDPBeviswithBevisIdVerdi(String value)SDPBeviswithGyldighetsperiode(SDPGyldighetsperiode value)SDPBeviswithInfos(Collection<SDPInfo> values)SDPBeviswithInfos(List<SDPInfo> value)SDPBeviswithInfos(SDPInfo... values)SDPBeviswithTittel(SDPTittel value)SDPBeviswithUtstederVisningsnavn(SDPUtstederVisningsnavn value)SDPBeviswithUtstedtTidspunkt(ZonedDateTime value)
-
-
-
Field Detail
-
utstederVisningsnavn
protected SDPUtstederVisningsnavn utstederVisningsnavn
-
bakgrunnsfarge
protected String bakgrunnsfarge
-
utstedtTidspunkt
protected ZonedDateTime utstedtTidspunkt
-
gyldighetsperiode
protected SDPGyldighetsperiode gyldighetsperiode
-
bevisholder
protected SDPBruker bevisholder
-
tittel
protected SDPTittel tittel
-
bevisIdNavn
protected SDPBevisIdNavn bevisIdNavn
-
bevisIdVerdi
protected String bevisIdVerdi
-
attributts
protected List<SDPAttributt> attributts
-
-
Constructor Detail
-
SDPBevis
public SDPBevis()
Default no-arg constructor
-
SDPBevis
public SDPBevis(SDPUtstederVisningsnavn utstederVisningsnavn, String bakgrunnsfarge, ZonedDateTime utstedtTidspunkt, SDPGyldighetsperiode gyldighetsperiode, SDPBruker bevisholder, SDPTittel tittel, SDPBevisIdNavn bevisIdNavn, String bevisIdVerdi, List<SDPAttributt> attributts, List<SDPInfo> infos)
Fully-initialising value constructor
-
-
Method Detail
-
getUtstederVisningsnavn
public SDPUtstederVisningsnavn getUtstederVisningsnavn()
Gets the value of the utstederVisningsnavn property.- Returns:
- possible object is
SDPUtstederVisningsnavn
-
setUtstederVisningsnavn
public void setUtstederVisningsnavn(SDPUtstederVisningsnavn value)
Sets the value of the utstederVisningsnavn property.- Parameters:
value- allowed object isSDPUtstederVisningsnavn
-
getBakgrunnsfarge
public String getBakgrunnsfarge()
Gets the value of the bakgrunnsfarge property.- Returns:
- possible object is
String
-
setBakgrunnsfarge
public void setBakgrunnsfarge(String value)
Sets the value of the bakgrunnsfarge property.- Parameters:
value- allowed object isString
-
getUtstedtTidspunkt
public ZonedDateTime getUtstedtTidspunkt()
Gets the value of the utstedtTidspunkt property.- Returns:
- possible object is
String
-
setUtstedtTidspunkt
public void setUtstedtTidspunkt(ZonedDateTime value)
Sets the value of the utstedtTidspunkt property.- Parameters:
value- allowed object isString
-
getGyldighetsperiode
public SDPGyldighetsperiode getGyldighetsperiode()
Gets the value of the gyldighetsperiode property.- Returns:
- possible object is
SDPGyldighetsperiode
-
setGyldighetsperiode
public void setGyldighetsperiode(SDPGyldighetsperiode value)
Sets the value of the gyldighetsperiode property.- Parameters:
value- allowed object isSDPGyldighetsperiode
-
getBevisholder
public SDPBruker getBevisholder()
Gets the value of the bevisholder property.- Returns:
- possible object is
SDPBruker
-
setBevisholder
public void setBevisholder(SDPBruker value)
Sets the value of the bevisholder property.- Parameters:
value- allowed object isSDPBruker
-
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 isSDPTittel
-
getBevisIdNavn
public SDPBevisIdNavn getBevisIdNavn()
Gets the value of the bevisIdNavn property.- Returns:
- possible object is
SDPBevisIdNavn
-
setBevisIdNavn
public void setBevisIdNavn(SDPBevisIdNavn value)
Sets the value of the bevisIdNavn property.- Parameters:
value- allowed object isSDPBevisIdNavn
-
getBevisIdVerdi
public String getBevisIdVerdi()
Gets the value of the bevisIdVerdi property.- Returns:
- possible object is
String
-
setBevisIdVerdi
public void setBevisIdVerdi(String value)
Sets the value of the bevisIdVerdi property.- Parameters:
value- allowed object isString
-
getAttributts
public List<SDPAttributt> getAttributts()
Gets the value of the attributts property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the attributts property.For example, to add a new item, do as follows:
getAttributts().add(newItem);Objects of the following type(s) are allowed in the list
SDPAttributt
-
getInfos
public List<SDPInfo> getInfos()
Gets the value of the infos property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the infos property.For example, to add a new item, do as follows:
getInfos().add(newItem);Objects of the following type(s) are allowed in the list
SDPInfo
-
setAttributts
public void setAttributts(List<SDPAttributt> value)
-
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
-
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
-
withUtstederVisningsnavn
public SDPBevis withUtstederVisningsnavn(SDPUtstederVisningsnavn value)
-
withUtstedtTidspunkt
public SDPBevis withUtstedtTidspunkt(ZonedDateTime value)
-
withGyldighetsperiode
public SDPBevis withGyldighetsperiode(SDPGyldighetsperiode value)
-
withBevisIdNavn
public SDPBevis withBevisIdNavn(SDPBevisIdNavn value)
-
withAttributts
public SDPBevis withAttributts(SDPAttributt... values)
-
withAttributts
public SDPBevis withAttributts(Collection<SDPAttributt> values)
-
withInfos
public SDPBevis withInfos(Collection<SDPInfo> values)
-
withAttributts
public SDPBevis withAttributts(List<SDPAttributt> value)
-
-