com.hack23.cia.model.external.riksdagen.votering.impl
Class VoteData

Package class diagram package VoteData
java.lang.Object
  extended by com.hack23.cia.model.external.riksdagen.votering.impl.VoteData
All Implemented Interfaces:
ModelObject, Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

@Entity(name="VoteData")
public class VoteData
extends Object
implements Serializable, ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

Java class for VoteData complex type.

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

 <complexType name="VoteData">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="avser" type="{http://votering.riksdagen.external.model.cia.hack23.com/impl}VoteIssueType"/>
         <element name="banknummer" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="beteckning" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="efternamn" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="fodd" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="fornamn" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="intressent_id" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="iort" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="kon" type="{http://votering.riksdagen.external.model.cia.hack23.com/impl}SexType"/>
         <element name="namn" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="parti" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="punkt" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="rm" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="rost" type="{http://votering.riksdagen.external.model.cia.hack23.com/impl}VoteDecision"/>
         <element name="votering" type="{http://votering.riksdagen.external.model.cia.hack23.com/impl}BallotType"/>
         <element name="valkrets" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="valkretsnummer" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="votering_id" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String ballotId
           
protected  BallotType ballotType
           
protected  String bankNumber
           
protected  int bornYear
           
protected  VoteIssueType concern
           
protected  String electoralRegion
           
protected  BigInteger electoralRegionNumber
           
protected  String firstName
           
protected  SexType gender
           
protected  String intressentId
           
protected  String issue
           
protected  String label
           
protected  String lastName
           
protected  String name
           
protected  String party
           
protected  String place
           
protected  String rm
           
protected  VoteDecision vote
           
 
Constructor Summary
VoteData()
           
 
Method Summary
 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 getBallotId()
          Gets the value of the ballotId property.
 BallotType getBallotType()
          Gets the value of the ballotType property.
 String getBankNumber()
          Gets the value of the bankNumber property.
 int getBornYear()
          Gets the value of the bornYear property.
 VoteIssueType getConcern()
          Gets the value of the concern property.
 String getElectoralRegion()
          Gets the value of the electoralRegion property.
 BigInteger getElectoralRegionNumber()
          Gets the value of the electoralRegionNumber property.
 String getFirstName()
          Gets the value of the firstName property.
 SexType getGender()
          Gets the value of the gender property.
 String getIntressentId()
          Gets the value of the intressentId property.
 String getIssue()
          Gets the value of the issue property.
 String getLabel()
          Gets the value of the label property.
 String getLastName()
          Gets the value of the lastName property.
 String getName()
          Gets the value of the name property.
 String getParty()
          Gets the value of the party property.
 String getPlace()
          Gets the value of the place property.
 String getRm()
          Gets the value of the rm property.
 VoteDecision getVote()
          Gets the value of the vote property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setBallotId(String value)
          Sets the value of the ballotId property.
 void setBallotType(BallotType value)
          Sets the value of the ballotType property.
 void setBankNumber(String value)
          Sets the value of the bankNumber property.
 void setBornYear(int value)
          Sets the value of the bornYear property.
 void setConcern(VoteIssueType value)
          Sets the value of the concern property.
 void setElectoralRegion(String value)
          Sets the value of the electoralRegion property.
 void setElectoralRegionNumber(BigInteger value)
          Sets the value of the electoralRegionNumber property.
 void setFirstName(String value)
          Sets the value of the firstName property.
 void setGender(SexType value)
          Sets the value of the gender property.
 void setIntressentId(String value)
          Sets the value of the intressentId property.
 void setIssue(String value)
          Sets the value of the issue property.
 void setLabel(String value)
          Sets the value of the label property.
 void setLastName(String value)
          Sets the value of the lastName property.
 void setName(String value)
          Sets the value of the name property.
 void setParty(String value)
          Sets the value of the party property.
 void setPlace(String value)
          Sets the value of the place property.
 void setRm(String value)
          Sets the value of the rm property.
 void setVote(VoteDecision value)
          Sets the value of the vote property.
 VoteData withBallotId(String value)
           
 VoteData withBallotType(BallotType value)
           
 VoteData withBankNumber(String value)
           
 VoteData withBornYear(int value)
           
 VoteData withConcern(VoteIssueType value)
           
 VoteData withElectoralRegion(String value)
           
 VoteData withElectoralRegionNumber(BigInteger value)
           
 VoteData withFirstName(String value)
           
 VoteData withGender(SexType value)
           
 VoteData withIntressentId(String value)
           
 VoteData withIssue(String value)
           
 VoteData withLabel(String value)
           
 VoteData withLastName(String value)
           
 VoteData withName(String value)
           
 VoteData withParty(String value)
           
 VoteData withPlace(String value)
           
 VoteData withRm(String value)
           
 VoteData withVote(VoteDecision value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

concern

protected VoteIssueType concern

bankNumber

protected String bankNumber

label

protected String label

lastName

protected String lastName

bornYear

protected int bornYear

firstName

protected String firstName

intressentId

protected String intressentId

place

protected String place

gender

protected SexType gender

name

protected String name

party

protected String party

issue

protected String issue

rm

protected String rm

vote

protected VoteDecision vote

ballotType

protected BallotType ballotType

electoralRegion

protected String electoralRegion

electoralRegionNumber

protected BigInteger electoralRegionNumber

ballotId

protected String ballotId
Constructor Detail

VoteData

public VoteData()
Method Detail

getConcern

public VoteIssueType getConcern()
Gets the value of the concern property.

Returns:
possible object is VoteIssueType

setConcern

public void setConcern(VoteIssueType value)
Sets the value of the concern property.

Parameters:
value - allowed object is VoteIssueType

getBankNumber

public String getBankNumber()
Gets the value of the bankNumber property.

Returns:
possible object is String

setBankNumber

public void setBankNumber(String value)
Sets the value of the bankNumber property.

Parameters:
value - allowed object is String

getLabel

public String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(String value)
Sets the value of the label property.

Parameters:
value - allowed object is String

getLastName

public String getLastName()
Gets the value of the lastName property.

Returns:
possible object is String

setLastName

public void setLastName(String value)
Sets the value of the lastName property.

Parameters:
value - allowed object is String

getBornYear

public int getBornYear()
Gets the value of the bornYear property.


setBornYear

public void setBornYear(int value)
Sets the value of the bornYear property.


getFirstName

public String getFirstName()
Gets the value of the firstName property.

Returns:
possible object is String

setFirstName

public void setFirstName(String value)
Sets the value of the firstName property.

Parameters:
value - allowed object is String

getIntressentId

public String getIntressentId()
Gets the value of the intressentId property.

Returns:
possible object is String

setIntressentId

public void setIntressentId(String value)
Sets the value of the intressentId property.

Parameters:
value - allowed object is String

getPlace

public String getPlace()
Gets the value of the place property.

Returns:
possible object is String

setPlace

public void setPlace(String value)
Sets the value of the place property.

Parameters:
value - allowed object is String

getGender

public SexType getGender()
Gets the value of the gender property.

Returns:
possible object is SexType

setGender

public void setGender(SexType value)
Sets the value of the gender property.

Parameters:
value - allowed object is SexType

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getParty

public String getParty()
Gets the value of the party property.

Returns:
possible object is String

setParty

public void setParty(String value)
Sets the value of the party property.

Parameters:
value - allowed object is String

getIssue

public String getIssue()
Gets the value of the issue property.

Returns:
possible object is String

setIssue

public void setIssue(String value)
Sets the value of the issue property.

Parameters:
value - allowed object is String

getRm

public String getRm()
Gets the value of the rm property.

Returns:
possible object is String

setRm

public void setRm(String value)
Sets the value of the rm property.

Parameters:
value - allowed object is String

getVote

public VoteDecision getVote()
Gets the value of the vote property.

Returns:
possible object is VoteDecision

setVote

public void setVote(VoteDecision value)
Sets the value of the vote property.

Parameters:
value - allowed object is VoteDecision

getBallotType

public BallotType getBallotType()
Gets the value of the ballotType property.

Returns:
possible object is BallotType

setBallotType

public void setBallotType(BallotType value)
Sets the value of the ballotType property.

Parameters:
value - allowed object is BallotType

getElectoralRegion

public String getElectoralRegion()
Gets the value of the electoralRegion property.

Returns:
possible object is String

setElectoralRegion

public void setElectoralRegion(String value)
Sets the value of the electoralRegion property.

Parameters:
value - allowed object is String

getElectoralRegionNumber

public BigInteger getElectoralRegionNumber()
Gets the value of the electoralRegionNumber property.

Returns:
possible object is BigInteger

setElectoralRegionNumber

public void setElectoralRegionNumber(BigInteger value)
Sets the value of the electoralRegionNumber property.

Parameters:
value - allowed object is BigInteger

getBallotId

public String getBallotId()
Gets the value of the ballotId property.

Returns:
possible object is String

setBallotId

public void setBallotId(String value)
Sets the value of the ballotId property.

Parameters:
value - allowed object is String

withConcern

public VoteData withConcern(VoteIssueType value)

withBankNumber

public VoteData withBankNumber(String value)

withLabel

public VoteData withLabel(String value)

withLastName

public VoteData withLastName(String value)

withBornYear

public VoteData withBornYear(int value)

withFirstName

public VoteData withFirstName(String value)

withIntressentId

public VoteData withIntressentId(String value)

withPlace

public VoteData withPlace(String value)

withGender

public VoteData withGender(SexType value)

withName

public VoteData withName(String value)

withParty

public VoteData withParty(String value)

withIssue

public VoteData withIssue(String value)

withRm

public VoteData withRm(String value)

withVote

public VoteData withVote(VoteDecision value)

withBallotType

public VoteData withBallotType(BallotType value)

withElectoralRegion

public VoteData withElectoralRegion(String value)

withElectoralRegionNumber

public VoteData withElectoralRegionNumber(BigInteger value)

withBallotId

public VoteData withBallotId(String value)

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.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

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.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.