com.hack23.cia.model.impl.sweden
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.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
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.VoteMetaDataData
VoteMetaDataData.Outcome, VoteMetaDataData.PoliticalPartyBehavior, VoteMetaDataData.ProffessionalBehavior
 
Constructor Summary
VoteMetaData()
          Instantiates a new vote meta data.
 
Method Summary
protected  TypeContext getApplicationTypeContext()
          Gets the application group specification.
 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

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

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application group specification.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application group specification


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