Class VoteListContainerElement
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.voteringlista.impl.VoteListContainerElement
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="VoteListContainerElement") public class VoteListContainerElement extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class VoteListContainerElement.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
condition
The condition.protected java.lang.String
grouping
The grouping.protected java.lang.Long
hjid
The hjid.protected java.lang.String
numberValue
The number value.protected java.util.List<BallotDocumentElement>
votering
The votering.
-
Constructor Summary
Constructors Constructor Description VoteListContainerElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getCondition()
Gets the condition.java.lang.String
getGrouping()
Gets the grouping.java.lang.Long
getHjid()
Gets the hjid.java.lang.String
getNumberValue()
Gets the number value.java.util.List<BallotDocumentElement>
getVotering()
Gets the votering.int
hashCode()
void
setCondition(java.lang.String value)
Sets the condition.void
setGrouping(java.lang.String value)
Sets the grouping.void
setHjid(java.lang.Long value)
Sets the hjid.void
setNumberValue(java.lang.String value)
Sets the number value.void
setVotering(java.util.List<BallotDocumentElement> votering)
Sets the votering.java.lang.String
toString()
VoteListContainerElement
withCondition(java.lang.String value)
With condition.VoteListContainerElement
withGrouping(java.lang.String value)
With grouping.VoteListContainerElement
withNumberValue(java.lang.String value)
With number value.VoteListContainerElement
withVotering(java.util.List<BallotDocumentElement> votering)
With votering.
-
-
-
Field Detail
-
votering
protected java.util.List<BallotDocumentElement> votering
The votering.
-
grouping
protected java.lang.String grouping
The grouping.
-
condition
protected java.lang.String condition
The condition.
-
numberValue
protected java.lang.String numberValue
The number value.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getVotering
public java.util.List<BallotDocumentElement> getVotering()
Gets the votering.- Returns:
- the votering
-
setVotering
public void setVotering(java.util.List<BallotDocumentElement> votering)
Sets the votering.- Parameters:
votering
- the new votering
-
getGrouping
public java.lang.String getGrouping()
Gets the grouping.- Returns:
- the grouping
-
setGrouping
public void setGrouping(java.lang.String value)
Sets the grouping.- Parameters:
value
- the new grouping
-
getCondition
public java.lang.String getCondition()
Gets the condition.- Returns:
- the condition
-
setCondition
public void setCondition(java.lang.String value)
Sets the condition.- Parameters:
value
- the new condition
-
getNumberValue
public java.lang.String getNumberValue()
Gets the number value.- Returns:
- the number value
-
setNumberValue
public void setNumberValue(java.lang.String value)
Sets the number value.- Parameters:
value
- the new number value
-
withVotering
public VoteListContainerElement withVotering(java.util.List<BallotDocumentElement> votering)
With votering.- Parameters:
votering
- the votering- Returns:
- the vote list container element
-
withGrouping
public VoteListContainerElement withGrouping(java.lang.String value)
With grouping.- Parameters:
value
- the value- Returns:
- the vote list container element
-
withCondition
public VoteListContainerElement withCondition(java.lang.String value)
With condition.- Parameters:
value
- the value- Returns:
- the vote list container element
-
withNumberValue
public VoteListContainerElement withNumberValue(java.lang.String value)
With number value.- Parameters:
value
- the value- Returns:
- the vote list container element
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHjid
public java.lang.Long getHjid()
Gets the hjid.- Returns:
- the hjid
-
setHjid
public void setHjid(java.lang.Long value)
Sets the hjid.- Parameters:
value
- the new hjid
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-