Class DocumentProposalContainer
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentProposalContainer
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="DocumentProposalContainer") public class DocumentProposalContainer extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class DocumentProposalContainer.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Long
hjid
The hjid.protected DocumentProposalData
proposal
The proposal.
-
Constructor Summary
Constructors Constructor Description DocumentProposalContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.Long
getHjid()
Gets the hjid.DocumentProposalData
getProposal()
Gets the proposal.int
hashCode()
void
setHjid(java.lang.Long value)
Sets the hjid.void
setProposal(DocumentProposalData value)
Sets the proposal.java.lang.String
toString()
DocumentProposalContainer
withProposal(DocumentProposalData value)
With proposal.
-
-
-
Field Detail
-
proposal
protected DocumentProposalData proposal
The proposal.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getProposal
public DocumentProposalData getProposal()
Gets the proposal.- Returns:
- the proposal
-
setProposal
public void setProposal(DocumentProposalData value)
Sets the proposal.- Parameters:
value
- the new proposal
-
withProposal
public DocumentProposalContainer withProposal(DocumentProposalData value)
With proposal.- Parameters:
value
- the value- Returns:
- the document proposal 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
-
-