Class BallotContainer
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.votering.impl.BallotContainer
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="BallotContainer") public class BallotContainer extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class BallotContainer.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BallotDocumentData
ballotDocumentData
The ballot document data.protected BallotDocumentElement
ballotDocumentElement
The ballot document element.protected java.lang.Long
hjid
The hjid.
-
Constructor Summary
Constructors Constructor Description BallotContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
BallotDocumentData
getBallotDocumentData()
Gets the ballot document data.BallotDocumentElement
getBallotDocumentElement()
Gets the ballot document element.java.lang.Long
getHjid()
Gets the hjid.int
hashCode()
void
setBallotDocumentData(BallotDocumentData value)
Sets the ballot document data.void
setBallotDocumentElement(BallotDocumentElement value)
Sets the ballot document element.void
setHjid(java.lang.Long value)
Sets the hjid.java.lang.String
toString()
BallotContainer
withBallotDocumentData(BallotDocumentData value)
With ballot document data.BallotContainer
withBallotDocumentElement(BallotDocumentElement value)
With ballot document element.
-
-
-
Field Detail
-
ballotDocumentData
protected BallotDocumentData ballotDocumentData
The ballot document data.
-
ballotDocumentElement
protected BallotDocumentElement ballotDocumentElement
The ballot document element.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getBallotDocumentData
public BallotDocumentData getBallotDocumentData()
Gets the ballot document data.- Returns:
- the ballot document data
-
setBallotDocumentData
public void setBallotDocumentData(BallotDocumentData value)
Sets the ballot document data.- Parameters:
value
- the new ballot document data
-
getBallotDocumentElement
public BallotDocumentElement getBallotDocumentElement()
Gets the ballot document element.- Returns:
- the ballot document element
-
setBallotDocumentElement
public void setBallotDocumentElement(BallotDocumentElement value)
Sets the ballot document element.- Parameters:
value
- the new ballot document element
-
withBallotDocumentData
public BallotContainer withBallotDocumentData(BallotDocumentData value)
With ballot document data.- Parameters:
value
- the value- Returns:
- the ballot container
-
withBallotDocumentElement
public BallotContainer withBallotDocumentElement(BallotDocumentElement value)
With ballot document element.- Parameters:
value
- the value- Returns:
- the ballot container
-
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 object)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-