com.hack23.cia.model.external.itsyourparliament.votes.impl
Class VotesEuData

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

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

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="vote" type="{http://votes.itsyourparliament.external.model.cia.hack23.com/impl}VoteEuData" maxOccurs="unbounded"/>
         <element name="year" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Long hjid
           
protected  List<VoteEuData> vote
           
protected  int year
           
 
Constructor Summary
VotesEuData()
           
 
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)
           
 Long getHjid()
          Gets the value of the hjid property.
 List<VoteEuData> getVote()
          Gets the value of the vote property.
 int getYear()
          Gets the value of the year property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setVote(List<VoteEuData> vote)
           
 void setYear(int value)
          Sets the value of the year property.
 VotesEuData withVote(Collection<VoteEuData> values)
           
 VotesEuData withVote(List<VoteEuData> vote)
           
 VotesEuData withVote(VoteEuData... values)
           
 VotesEuData withYear(int value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vote

protected List<VoteEuData> vote

year

protected int year

hjid

protected Long hjid
Constructor Detail

VotesEuData

public VotesEuData()
Method Detail

getVote

public List<VoteEuData> getVote()
Gets the value of the vote 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 set method for the vote property.

For example, to add a new item, do as follows:

    getVote().add(newItem);
 

Objects of the following type(s) are allowed in the list VoteEuData


setVote

public void setVote(List<VoteEuData> vote)

getYear

public int getYear()
Gets the value of the year property.


setYear

public void setYear(int value)
Sets the value of the year property.


withVote

public VotesEuData withVote(VoteEuData... values)

withVote

public VotesEuData withVote(Collection<VoteEuData> values)

withVote

public VotesEuData withVote(List<VoteEuData> vote)

withYear

public VotesEuData withYear(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.