|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.impl.common.BaseEntity com.hack23.cia.model.impl.sweden.content.VoteMetaData
@Entity public class VoteMetaData extends BaseEntity implements VoteMetaDataData
The Class VoteMetaData.
Modifier and Type | Interface and Description |
---|
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.content.VoteMetaDataData |
---|
VoteMetaDataData.Outcome, VoteMetaDataData.PoliticalPartyBehavior, VoteMetaDataData.ProffessionalBehavior |
Constructor and Description |
---|
VoteMetaData()
Instantiates a new vote meta data. |
Modifier and Type | Method and Description |
---|---|
protected TypeContext |
getApplicationTypeContext()
Gets the application type context. |
Date |
getCreatedDate()
Gets the created date. |
Long |
getId()
Gets the id. |
VoteMetaDataData.Outcome |
getOutcome()
Gets the outcome. |
VoteMetaDataData.PoliticalPartyBehavior |
getPoliticalPartyBehavior()
Gets the political party behavior. |
VoteMetaDataData.ProffessionalBehavior |
getProffessionalBehavior()
Gets the proffessional behavior. |
ResourceType |
getResourceType()
Gets the resource type. |
Long |
getVersion()
Gets the version. |
void |
setCreatedDate(Date createdDate)
Sets the created date. |
void |
setId(Long id)
Sets the id. |
void |
setOutcome(VoteMetaDataData.Outcome outcome)
Sets the outcome. |
void |
setPoliticalPartyBehavior(VoteMetaDataData.PoliticalPartyBehavior politicalPartyBehavior)
Sets the political party behavior. |
void |
setProffessionalBehavior(VoteMetaDataData.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.impl.common.BaseEntity |
---|
equals, getTypeContext, 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.api.common.PersistedModelObject |
---|
getTypeContext, isNew |
Constructor Detail |
---|
public VoteMetaData()
Method Detail |
---|
protected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext
in class BaseEntity
public Date getCreatedDate()
ParliamentMetaData
getCreatedDate
in interface ParliamentMetaData
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public VoteMetaDataData.Outcome getOutcome()
public VoteMetaDataData.PoliticalPartyBehavior getPoliticalPartyBehavior()
public VoteMetaDataData.ProffessionalBehavior getProffessionalBehavior()
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setCreatedDate(Date createdDate)
createdDate
- the new created datepublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setOutcome(VoteMetaDataData.Outcome outcome)
VoteMetaDataData
setOutcome
in interface VoteMetaDataData
outcome
- the new outcomepublic void setPoliticalPartyBehavior(VoteMetaDataData.PoliticalPartyBehavior politicalPartyBehavior)
VoteMetaDataData
setPoliticalPartyBehavior
in interface VoteMetaDataData
politicalPartyBehavior
- the new political party behaviorpublic void setProffessionalBehavior(VoteMetaDataData.ProffessionalBehavior proffessionalBehavior)
VoteMetaDataData
setProffessionalBehavior
in interface VoteMetaDataData
proffessionalBehavior
- the new proffessional behaviorpublic void setResourceType(ResourceType resourceType)
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 |