Class ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId
- java.lang.Object
-
- com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Embeddable public class ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
Java class for ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="year" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="group_against" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
groupAgainst
protected int
year
-
Constructor Summary
Constructors Constructor Description ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getGroupAgainst()
Gets the value of the groupAgainst property.int
getYear()
Gets the value of the year property.int
hashCode()
void
setGroupAgainst(java.lang.String value)
Sets the value of the groupAgainst property.void
setYear(int value)
Sets the value of the year property.java.lang.String
toString()
ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId
withGroupAgainst(java.lang.String value)
ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId
withYear(int value)
-
-
-
Method Detail
-
getYear
public int getYear()
Gets the value of the year property.
-
setYear
public void setYear(int value)
Sets the value of the year property.
-
getGroupAgainst
public java.lang.String getGroupAgainst()
Gets the value of the groupAgainst property.- Returns:
- possible object is
String
-
setGroupAgainst
public void setGroupAgainst(java.lang.String value)
Sets the value of the groupAgainst property.- Parameters:
value
- allowed object isString
-
withYear
public ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId withYear(int value)
-
withGroupAgainst
public ViewRiksdagenPartyCoalationAgainstAnnualSummaryEmbeddedId withGroupAgainst(java.lang.String value)
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-