|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.common.impl.BaseEntity com.hack23.cia.model.sweden.impl.ParliamentMemberVoteCompareResult
@Entity public class ParliamentMemberVoteCompareResult
The Class ParliamentMemberVoteCompareResult.
Field Summary | |
---|---|
static float |
NO_RESULT
The Constant NO_RESULT. |
Constructor Summary | |
---|---|
ParliamentMemberVoteCompareResult()
Instantiates a new parliament member vote compare result. |
|
ParliamentMemberVoteCompareResult(Date datum,
int votesCompared,
float result,
ParliamentMember parliamentMember,
ParliamentMember opponentParliamentMember)
Instantiates a new parliament member vote compare result. |
Method Summary | |
---|---|
Date |
getDatum()
Gets the datum. |
Long |
getId()
Gets the id. |
ParliamentMember |
getOpponentParliamentMember()
Gets the opponent parliament member. |
ParliamentMember |
getParliamentMember()
Gets the parliament member. |
ResourceType |
getResourceType()
Gets the resource type. |
float |
getResult()
Gets the result. |
Long |
getVersion()
Gets the version. |
int |
getVotesCompared()
Gets the votes compared. |
void |
setDatum(Date datum)
Sets the datum. |
void |
setId(Long id)
Sets the id. |
void |
setOpponentParliamentMember(ParliamentMember opponentParliamentMember)
Sets the opponent parliament member. |
void |
setParliamentMember(ParliamentMember parliamentMember)
Sets the parliament member. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setResult(float result)
Sets the result. |
void |
setVersion(Long version)
Sets the version. |
void |
setVotesCompared(int votesCompared)
Sets the votes compared. |
Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity |
---|
equals, hashCode, isNew |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject |
---|
isNew |
Field Detail |
---|
public static final float NO_RESULT
Constructor Detail |
---|
public ParliamentMemberVoteCompareResult()
public ParliamentMemberVoteCompareResult(Date datum, int votesCompared, float result, ParliamentMember parliamentMember, ParliamentMember opponentParliamentMember)
datum
- the datumvotesCompared
- the votes comparedresult
- the resultparliamentMember
- the parliament memberopponentParliamentMember
- the opponent parliament memberMethod Detail |
---|
public Date getDatum()
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public ParliamentMember getOpponentParliamentMember()
public ParliamentMember getParliamentMember()
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public float getResult()
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public int getVotesCompared()
public void setDatum(Date datum)
datum
- the new datumpublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setOpponentParliamentMember(ParliamentMember opponentParliamentMember)
opponentParliamentMember
- the new opponent parliament memberpublic void setParliamentMember(ParliamentMember parliamentMember)
parliamentMember
- the new parliament memberpublic void setResourceType(ResourceType resourceType)
Resource
setResourceType
in interface Resource
resourceType
- the new resource typepublic void setResult(float result)
result
- the new resultpublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new versionpublic void setVotesCompared(int votesCompared)
votesCompared
- the new votes compared
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |