com.hack23.cia.model.impl.sweden.content
Class VoteMetaData

Package class diagram package VoteMetaData
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.sweden.content.VoteMetaData
All Implemented Interfaces:
Data, MetaData, ModelObject, PersistedModelObject, Resource, ParliamentMetaData, VoteMetaDataData, Serializable

@Entity
public class VoteMetaData
extends BaseEntity
implements VoteMetaDataData

The Class VoteMetaData.

See Also:
Serialized Form

Nested Class Summary
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 Summary
Constructor and Description
VoteMetaData()
          Instantiates a new vote meta data.
 
Method Summary
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

VoteMetaData

public VoteMetaData()
Instantiates a new vote meta data.

Method Detail

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application type context.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application type context

getCreatedDate

public Date getCreatedDate()
Description copied from interface: ParliamentMetaData
Gets the created date.

Specified by:
getCreatedDate in interface ParliamentMetaData
Returns:
the created date

getId

public Long getId()
Description copied from class: BaseEntity
Gets the id.

Specified by:
getId in interface PersistedModelObject
Specified by:
getId in class BaseEntity
Returns:
the id

getOutcome

public VoteMetaDataData.Outcome getOutcome()
Gets the outcome.

Returns:
the outcome

getPoliticalPartyBehavior

public VoteMetaDataData.PoliticalPartyBehavior getPoliticalPartyBehavior()
Gets the political party behavior.

Returns:
the political party behavior

getProffessionalBehavior

public VoteMetaDataData.ProffessionalBehavior getProffessionalBehavior()
Gets the proffessional behavior.

Returns:
the proffessional behavior

getResourceType

public ResourceType getResourceType()
Description copied from interface: Resource
Gets the resource type.

Specified by:
getResourceType in interface Resource
Returns:
the resource type

getVersion

public Long getVersion()
Description copied from class: BaseEntity
Gets the version.

Specified by:
getVersion in interface PersistedModelObject
Specified by:
getVersion in class BaseEntity
Returns:
the version

setCreatedDate

public void setCreatedDate(Date createdDate)
Sets the created date.

Parameters:
createdDate - the new created date

setId

public void setId(Long id)
Description copied from interface: PersistedModelObject
Sets the id.

Specified by:
setId in interface PersistedModelObject
Parameters:
id - the new id

setOutcome

public void setOutcome(VoteMetaDataData.Outcome outcome)
Description copied from interface: VoteMetaDataData
Sets the outcome.

Specified by:
setOutcome in interface VoteMetaDataData
Parameters:
outcome - the new outcome

setPoliticalPartyBehavior

public void setPoliticalPartyBehavior(VoteMetaDataData.PoliticalPartyBehavior politicalPartyBehavior)
Description copied from interface: VoteMetaDataData
Sets the political party behavior.

Specified by:
setPoliticalPartyBehavior in interface VoteMetaDataData
Parameters:
politicalPartyBehavior - the new political party behavior

setProffessionalBehavior

public void setProffessionalBehavior(VoteMetaDataData.ProffessionalBehavior proffessionalBehavior)
Description copied from interface: VoteMetaDataData
Sets the proffessional behavior.

Specified by:
setProffessionalBehavior in interface VoteMetaDataData
Parameters:
proffessionalBehavior - the new proffessional behavior

setResourceType

public void setResourceType(ResourceType resourceType)
Sets the resource type.

Parameters:
resourceType - the new resource type

setVersion

public void setVersion(Long version)
Description copied from interface: PersistedModelObject
Sets the version.

Specified by:
setVersion in interface PersistedModelObject
Parameters:
version - the new version


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.