com.hack23.cia.model.api.common
Interface PersistedModelObject

Package class diagram package PersistedModelObject
All Superinterfaces:
ModelObject, Serializable
All Known Subinterfaces:
ActionEvent, Actor, ActorRoleResourceContainer, AgencyData, AgentOperation, ApplicationData, ApplicationEnvironment, ApplicationErrorEventData, ApplicationGroup, ApplicationResource, BallotData, BallotResultData, BaseBallotResultData, BinaryContent, CommitteeData, CommitteeReportData, Configuration, Content, Data, DecisionStrategy, DepartmentData, ElectionData, Environment, Event, EventData, GovernmentAuthorityData, GovernmentBillData, GovernmentData, GovernmentGroup, GovernmentMappedData, GovernmentMetaData, GovernmentMinisterData, GovernmentRole, Group, ImportedData, LanguageContentData, LanguageData, MetaData, MonarchData, ParliamentData, ParliamentDocumentTypeData, ParliamentEnvironment, ParliamentEvent, ParliamentGroup, ParliamentMappedData, ParliamentMemberBallotRecordData, ParliamentMemberData, ParliamentMemberProposalData, ParliamentMemberVoteCompareResultData, ParliamentMetaData, ParliamentRole, ParliamentYearData, PartyBallotResultData, PoliticalPartyData, PoliticianData, PortalData, ProposalData, RegisterInformationData, Resource, Role, TextContent, UsageOrder, UserData, UserGeneratedMetaData, UserRole, UserSessionData, VoteData, VoteMetaDataData
All Known Implementing Classes:
AbstractActionEvent, AbstractAgencyConfiguration, AbstractApplicationResource, AbstractBallotMetaData, AbstractBallotResult, AbstractResource, Agency, AgencyActionEvent, AgentDeploymentActionEvent, AgentOperationActionEvent, ApplicationActionEvent, ApplicationErrorActionEvent, Ballot, BallotActionEvent, BallotResult, BaseEntity, Committee, CommitteeReport, CommitteeReportActionEvent, CommitteeReportsActionEvent, Election, ExternalUrlActionEvent, GameBoard, ImageContent, Language, LanguageAgencyActionEvent, LanguageContent, LanguageContentActionEvent, MonitorActionEvent, Parliament, ParliamentDocumentType, ParliamentMember, ParliamentMemberActionEvent, ParliamentMemberBallotRecord, ParliamentMemberVoteCompareResult, ParliamentYear, PartyActionEvent, PartyBallotResult, Person, Player, PoliticalGame, PoliticalParty, Politician, Portal, PortalActionEvent, RegisteredUser, RegisterInformation, SearchActionEvent, SoftwareAgentOperation, TopListActionEvent, User, UserAccountActionEvent, UserActionEvent, UserSession, Vote, VoteMetaData

public interface PersistedModelObject
extends ModelObject, Serializable

The Interface PersistedModelObject.


Method Summary
Modifier and Type Method and Description
 Long getId()
          Gets the id.
 TypeContext getTypeContext()
          Gets the type context.
 Long getVersion()
          Gets the version.
 boolean isNew()
          Checks if is new.
 void setId(Long id)
          Sets the id.
 void setVersion(Long version)
          Sets the version.
 

Method Detail

getId

Long getId()
Gets the id.

Returns:
the id

getTypeContext

TypeContext getTypeContext()
Gets the type context.

Returns:
the type context

getVersion

Long getVersion()
Gets the version.

Returns:
the version

isNew

boolean isNew()
Checks if is new.

Returns:
true, if is new

setId

void setId(Long id)
Sets the id.

Parameters:
id - the new id

setVersion

void setVersion(Long version)
Sets the version.

Parameters:
version - the new version


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