com.hack23.cia.model.external.riksdagen.voteringlista.impl
Class BallotDocumentElement

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

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

Java class for BallotDocumentElement complex type.

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

 <complexType name="BallotDocumentElement">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="votering_id" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Ja" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Nej" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Frånvarande" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Avstår" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  int absentVotes
           
protected  int abstainedVotes
           
protected  String ballotId
           
protected  Long hjid
           
protected  int noVotes
           
protected  int yesVotes
           
 
Constructor Summary
BallotDocumentElement()
           
 
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)
           
 int getAbsentVotes()
          Gets the value of the absentVotes property.
 int getAbstainedVotes()
          Gets the value of the abstainedVotes property.
 String getBallotId()
          Gets the value of the ballotId property.
 Long getHjid()
          Gets the value of the hjid property.
 int getNoVotes()
          Gets the value of the noVotes property.
 int getYesVotes()
          Gets the value of the yesVotes property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setAbsentVotes(int value)
          Sets the value of the absentVotes property.
 void setAbstainedVotes(int value)
          Sets the value of the abstainedVotes property.
 void setBallotId(String value)
          Sets the value of the ballotId property.
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setNoVotes(int value)
          Sets the value of the noVotes property.
 void setYesVotes(int value)
          Sets the value of the yesVotes property.
 BallotDocumentElement withAbsentVotes(int value)
           
 BallotDocumentElement withAbstainedVotes(int value)
           
 BallotDocumentElement withBallotId(String value)
           
 BallotDocumentElement withNoVotes(int value)
           
 BallotDocumentElement withYesVotes(int value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ballotId

protected String ballotId

yesVotes

protected int yesVotes

noVotes

protected int noVotes

absentVotes

protected int absentVotes

abstainedVotes

protected int abstainedVotes

hjid

protected Long hjid
Constructor Detail

BallotDocumentElement

public BallotDocumentElement()
Method Detail

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

getYesVotes

public int getYesVotes()
Gets the value of the yesVotes property.


setYesVotes

public void setYesVotes(int value)
Sets the value of the yesVotes property.


getNoVotes

public int getNoVotes()
Gets the value of the noVotes property.


setNoVotes

public void setNoVotes(int value)
Sets the value of the noVotes property.


getAbsentVotes

public int getAbsentVotes()
Gets the value of the absentVotes property.


setAbsentVotes

public void setAbsentVotes(int value)
Sets the value of the absentVotes property.


getAbstainedVotes

public int getAbstainedVotes()
Gets the value of the abstainedVotes property.


setAbstainedVotes

public void setAbstainedVotes(int value)
Sets the value of the abstainedVotes property.


withBallotId

public BallotDocumentElement withBallotId(String value)

withYesVotes

public BallotDocumentElement withYesVotes(int value)

withNoVotes

public BallotDocumentElement withNoVotes(int value)

withAbsentVotes

public BallotDocumentElement withAbsentVotes(int value)

withAbstainedVotes

public BallotDocumentElement withAbstainedVotes(int value)

getHjid

public Long getHjid()
Gets the value of the hjid property.

Returns:
possible object is Long

setHjid

public void setHjid(Long value)
Sets the value of the hjid property.

Parameters:
value - allowed object is Long

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.