com.hack23.cia.model.external.val.landstingvalkrets.impl
Class SwedenCountyElectoralRegion

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

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

Java class for SwedenCountyElectoralRegion complex type.

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

 <complexType name="SwedenCountyElectoralRegion">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="landstingskod" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="landstingsnamn" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="valkretsmandat" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="landstingsvalkrets" type="{http://landstingvalkrets.val.external.model.cia.hack23.com/impl}SwedenCountyElectoralArea" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  BigInteger code
           
protected  Long hjid
           
protected  List<SwedenCountyElectoralArea> landstingsvalkrets
           
protected  String name
           
protected  BigInteger seats
           
 
Constructor Summary
SwedenCountyElectoralRegion()
           
 
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)
           
 BigInteger getCode()
          Gets the value of the code property.
 Long getHjid()
          Gets the value of the hjid property.
 List<SwedenCountyElectoralArea> getLandstingsvalkrets()
          Gets the value of the landstingsvalkrets property.
 String getName()
          Gets the value of the name property.
 BigInteger getSeats()
          Gets the value of the seats property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCode(BigInteger value)
          Sets the value of the code property.
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setLandstingsvalkrets(List<SwedenCountyElectoralArea> landstingsvalkrets)
           
 void setName(String value)
          Sets the value of the name property.
 void setSeats(BigInteger value)
          Sets the value of the seats property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected BigInteger code

name

protected String name

seats

protected BigInteger seats

landstingsvalkrets

protected List<SwedenCountyElectoralArea> landstingsvalkrets

hjid

protected Long hjid
Constructor Detail

SwedenCountyElectoralRegion

public SwedenCountyElectoralRegion()
Method Detail

getCode

public BigInteger getCode()
Gets the value of the code property.

Returns:
possible object is BigInteger

setCode

public void setCode(BigInteger value)
Sets the value of the code property.

Parameters:
value - allowed object is BigInteger

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

getSeats

public BigInteger getSeats()
Gets the value of the seats property.

Returns:
possible object is BigInteger

setSeats

public void setSeats(BigInteger value)
Sets the value of the seats property.

Parameters:
value - allowed object is BigInteger

getLandstingsvalkrets

public List<SwedenCountyElectoralArea> getLandstingsvalkrets()
Gets the value of the landstingsvalkrets 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 landstingsvalkrets property.

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

    getLandstingsvalkrets().add(newItem);
 

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


setLandstingsvalkrets

public void setLandstingsvalkrets(List<SwedenCountyElectoralArea> landstingsvalkrets)

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.