|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.external.val.partier.impl.SwedenElectionRegion
@Entity(name="SwedenElectionRegion") public class SwedenElectionRegion
Java class for SwedenElectionRegion complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SwedenElectionRegion"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="lan_id" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="kommun_id" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="namn" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="parti" type="{http://partier.val.external.model.cia.hack23.com/impl}SwedenPoliticalParty" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected String |
countyId
|
protected Long |
hjid
|
protected String |
municipalId
|
protected String |
name
|
protected List<SwedenPoliticalParty> |
parties
|
Constructor Summary | |
---|---|
SwedenElectionRegion()
|
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 |
getCountyId()
Gets the value of the countyId property. |
Long |
getHjid()
Gets the value of the hjid property. |
String |
getMunicipalId()
Gets the value of the municipalId property. |
String |
getName()
Gets the value of the name property. |
List<SwedenPoliticalParty> |
getParties()
Gets the value of the parties property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
void |
setCountyId(String value)
Sets the value of the countyId property. |
void |
setHjid(Long value)
Sets the value of the hjid property. |
void |
setMunicipalId(String value)
Sets the value of the municipalId property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setParties(List<SwedenPoliticalParty> parties)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String countyId
protected String municipalId
protected String name
protected List<SwedenPoliticalParty> parties
protected Long hjid
Constructor Detail |
---|
public SwedenElectionRegion()
Method Detail |
---|
public String getCountyId()
String
public void setCountyId(String value)
value
- allowed object is
String
public String getMunicipalId()
String
public void setMunicipalId(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public List<SwedenPoliticalParty> getParties()
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 parties property.
For example, to add a new item, do as follows:
getParties().add(newItem);
Objects of the following type(s) are allowed in the list
SwedenPoliticalParty
public void setParties(List<SwedenPoliticalParty> parties)
public Long getHjid()
Long
public void setHjid(Long value)
value
- allowed object is
Long
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public boolean equals(Object object)
equals
in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |