|
||||||||||
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.VoteMetaData
@Entity public class VoteMetaData
The Class VoteMetaData.
Nested Class Summary | |
---|---|
static class |
VoteMetaData.Outcome
The Enum Outcome. |
static class |
VoteMetaData.PoliticalPartyBehavior
The Enum PoliticalPartyBehavior. |
static class |
VoteMetaData.ProffessionalBehavior
The Enum ProffessionalBehavior. |
Constructor Summary | |
---|---|
VoteMetaData()
Instantiates a new vote meta data. |
Method Summary | |
---|---|
Long |
getId()
Gets the id. |
VoteMetaData.Outcome |
getOutcome()
Gets the outcome. |
VoteMetaData.PoliticalPartyBehavior |
getPoliticalPartyBehavior()
Gets the political party behavior. |
VoteMetaData.ProffessionalBehavior |
getProffessionalBehavior()
Gets the proffessional behavior. |
ResourceType |
getResourceType()
Gets the resource type. |
Long |
getVersion()
Gets the version. |
void |
setId(Long id)
Sets the id. |
void |
setOutcome(VoteMetaData.Outcome outcome)
Sets the outcome. |
void |
setPoliticalPartyBehavior(VoteMetaData.PoliticalPartyBehavior politicalPartyBehavior)
Sets the political party behavior. |
void |
setProffessionalBehavior(VoteMetaData.ProffessionalBehavior proffessionalBehavior)
Sets the proffessional behavior. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setVersion(Long version)
Sets the version. |
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 |
Constructor Detail |
---|
public VoteMetaData()
Method Detail |
---|
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public VoteMetaData.Outcome getOutcome()
public VoteMetaData.PoliticalPartyBehavior getPoliticalPartyBehavior()
public VoteMetaData.ProffessionalBehavior getProffessionalBehavior()
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setOutcome(VoteMetaData.Outcome outcome)
outcome
- the new outcomepublic void setPoliticalPartyBehavior(VoteMetaData.PoliticalPartyBehavior politicalPartyBehavior)
politicalPartyBehavior
- the new political party behaviorpublic void setProffessionalBehavior(VoteMetaData.ProffessionalBehavior proffessionalBehavior)
proffessionalBehavior
- the new proffessional behaviorpublic void setResourceType(ResourceType resourceType)
Resource
setResourceType
in interface Resource
resourceType
- the new resource typepublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |