com.hack23.cia.model.external.val.partier.impl
Class SwedenElectionType

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

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

Java class for SwedenElectionType complex type.

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

 <complexType name="SwedenElectionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="valtyp" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="region" type="{http://partier.val.external.model.cia.hack23.com/impl}SwedenElectionRegion"/>
         <element name="valbeteckning" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String electionCode
           
protected  String electionType
           
protected  Long hjid
           
protected  SwedenElectionRegion region
           
 
Constructor Summary
SwedenElectionType()
           
 
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 getElectionCode()
          Gets the value of the electionCode property.
 String getElectionType()
          Gets the value of the electionType property.
 Long getHjid()
          Gets the value of the hjid property.
 SwedenElectionRegion getRegion()
          Gets the value of the region property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setElectionCode(String value)
          Sets the value of the electionCode property.
 void setElectionType(String value)
          Sets the value of the electionType property.
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setRegion(SwedenElectionRegion value)
          Sets the value of the region property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

electionType

protected String electionType

region

protected SwedenElectionRegion region

electionCode

protected String electionCode

hjid

protected Long hjid
Constructor Detail

SwedenElectionType

public SwedenElectionType()
Method Detail

getElectionType

public String getElectionType()
Gets the value of the electionType property.

Returns:
possible object is String

setElectionType

public void setElectionType(String value)
Sets the value of the electionType property.

Parameters:
value - allowed object is String

getRegion

public SwedenElectionRegion getRegion()
Gets the value of the region property.

Returns:
possible object is SwedenElectionRegion

setRegion

public void setRegion(SwedenElectionRegion value)
Sets the value of the region property.

Parameters:
value - allowed object is SwedenElectionRegion

getElectionCode

public String getElectionCode()
Gets the value of the electionCode property.

Returns:
possible object is String

setElectionCode

public void setElectionCode(String value)
Sets the value of the electionCode property.

Parameters:
value - allowed object is String

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.