Class 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 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.
    • Constructor Detail

      • BallotContainer

        public BallotContainer()
    • 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 class java.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 class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object