Class AgainstProposalData
- java.lang.Object
-
- com.hack23.cia.model.external.riksdagen.utskottsforslag.impl.AgainstProposalData
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="AgainstProposalData") public class AgainstProposalData extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class AgainstProposalData.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
header
The header.protected java.lang.Long
hjid
The hjid.protected java.math.BigInteger
numberValue
The number value.protected java.lang.String
parties
The parties.protected java.math.BigInteger
proposalIssueNumber
The proposal issue number.protected java.lang.String
proposalType
The proposal type.
-
Constructor Summary
Constructors Constructor Description AgainstProposalData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object object)
java.lang.String
getHeader()
Gets the header.java.lang.Long
getHjid()
Gets the hjid.java.math.BigInteger
getNumberValue()
Gets the number value.java.lang.String
getParties()
Gets the parties.java.math.BigInteger
getProposalIssueNumber()
Gets the proposal issue number.java.lang.String
getProposalType()
Gets the proposal type.int
hashCode()
void
setHeader(java.lang.String value)
Sets the header.void
setHjid(java.lang.Long value)
Sets the hjid.void
setNumberValue(java.math.BigInteger value)
Sets the number value.void
setParties(java.lang.String value)
Sets the parties.void
setProposalIssueNumber(java.math.BigInteger value)
Sets the proposal issue number.void
setProposalType(java.lang.String value)
Sets the proposal type.java.lang.String
toString()
AgainstProposalData
withHeader(java.lang.String value)
With header.AgainstProposalData
withNumberValue(java.math.BigInteger value)
With number value.AgainstProposalData
withParties(java.lang.String value)
With parties.AgainstProposalData
withProposalIssueNumber(java.math.BigInteger value)
With proposal issue number.AgainstProposalData
withProposalType(java.lang.String value)
With proposal type.
-
-
-
Field Detail
-
numberValue
protected java.math.BigInteger numberValue
The number value.
-
header
protected java.lang.String header
The header.
-
proposalType
protected java.lang.String proposalType
The proposal type.
-
parties
protected java.lang.String parties
The parties.
-
proposalIssueNumber
protected java.math.BigInteger proposalIssueNumber
The proposal issue number.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getNumberValue
public java.math.BigInteger getNumberValue()
Gets the number value.- Returns:
- the number value
-
setNumberValue
public void setNumberValue(java.math.BigInteger value)
Sets the number value.- Parameters:
value
- the new number value
-
getHeader
public java.lang.String getHeader()
Gets the header.- Returns:
- the header
-
setHeader
public void setHeader(java.lang.String value)
Sets the header.- Parameters:
value
- the new header
-
getProposalType
public java.lang.String getProposalType()
Gets the proposal type.- Returns:
- the proposal type
-
setProposalType
public void setProposalType(java.lang.String value)
Sets the proposal type.- Parameters:
value
- the new proposal type
-
getParties
public java.lang.String getParties()
Gets the parties.- Returns:
- the parties
-
setParties
public void setParties(java.lang.String value)
Sets the parties.- Parameters:
value
- the new parties
-
getProposalIssueNumber
public java.math.BigInteger getProposalIssueNumber()
Gets the proposal issue number.- Returns:
- the proposal issue number
-
setProposalIssueNumber
public void setProposalIssueNumber(java.math.BigInteger value)
Sets the proposal issue number.- Parameters:
value
- the new proposal issue number
-
withNumberValue
public AgainstProposalData withNumberValue(java.math.BigInteger value)
With number value.- Parameters:
value
- the value- Returns:
- the against proposal data
-
withHeader
public AgainstProposalData withHeader(java.lang.String value)
With header.- Parameters:
value
- the value- Returns:
- the against proposal data
-
withProposalType
public AgainstProposalData withProposalType(java.lang.String value)
With proposal type.- Parameters:
value
- the value- Returns:
- the against proposal data
-
withParties
public AgainstProposalData withParties(java.lang.String value)
With parties.- Parameters:
value
- the value- Returns:
- the against proposal data
-
withProposalIssueNumber
public AgainstProposalData withProposalIssueNumber(java.math.BigInteger value)
With proposal issue number.- Parameters:
value
- the value- Returns:
- the against proposal data
-
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
-
-