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

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

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

Java class for VoteListContainerElement complex type.

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

 <complexType name="VoteListContainerElement">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="votering" type="{http://voteringlista.riksdagen.external.model.cia.hack23.com/impl}BallotDocumentElement" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="gruppering" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="villkor" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="antal" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String condition
           
protected  String grouping
           
protected  Long hjid
           
protected  String number
           
protected  List<BallotDocumentElement> votering
           
 
Constructor Summary
VoteListContainerElement()
           
 
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 getCondition()
          Gets the value of the condition property.
 String getGrouping()
          Gets the value of the grouping property.
 Long getHjid()
          Gets the value of the hjid property.
 String getNumber()
          Gets the value of the number property.
 List<BallotDocumentElement> getVotering()
          Gets the value of the votering property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCondition(String value)
          Sets the value of the condition property.
 void setGrouping(String value)
          Sets the value of the grouping property.
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setNumber(String value)
          Sets the value of the number property.
 void setVotering(List<BallotDocumentElement> votering)
           
 VoteListContainerElement withCondition(String value)
           
 VoteListContainerElement withGrouping(String value)
           
 VoteListContainerElement withNumber(String value)
           
 VoteListContainerElement withVotering(BallotDocumentElement... values)
           
 VoteListContainerElement withVotering(Collection<BallotDocumentElement> values)
           
 VoteListContainerElement withVotering(List<BallotDocumentElement> votering)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

votering

protected List<BallotDocumentElement> votering

grouping

protected String grouping

condition

protected String condition

number

protected String number

hjid

protected Long hjid
Constructor Detail

VoteListContainerElement

public VoteListContainerElement()
Method Detail

getVotering

public List<BallotDocumentElement> getVotering()
Gets the value of the votering 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 votering property.

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

    getVotering().add(newItem);
 

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


setVotering

public void setVotering(List<BallotDocumentElement> votering)

getGrouping

public String getGrouping()
Gets the value of the grouping property.

Returns:
possible object is String

setGrouping

public void setGrouping(String value)
Sets the value of the grouping property.

Parameters:
value - allowed object is String

getCondition

public String getCondition()
Gets the value of the condition property.

Returns:
possible object is String

setCondition

public void setCondition(String value)
Sets the value of the condition property.

Parameters:
value - allowed object is String

getNumber

public String getNumber()
Gets the value of the number property.

Returns:
possible object is String

setNumber

public void setNumber(String value)
Sets the value of the number property.

Parameters:
value - allowed object is String

withVotering

public VoteListContainerElement withVotering(BallotDocumentElement... values)

withVotering

public VoteListContainerElement withVotering(Collection<BallotDocumentElement> values)

withVotering

public VoteListContainerElement withVotering(List<BallotDocumentElement> votering)

withGrouping

public VoteListContainerElement withGrouping(String value)

withCondition

public VoteListContainerElement withCondition(String value)

withNumber

public VoteListContainerElement withNumber(String 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.