com.tenduke.types
Interface SerializableObject

All Known Subinterfaces:
ConditionalStatement, DataSourceQuery<T>, DataSourceWriter<T>, EventFilter, JdbcDataSourceQuery<T>, JdbcDataSourceWriter<T>
All Known Implementing Classes:
AbstractBindableObject, AbstractConditionalStatement, AbstractEndpoint, AbstractEventRecipientConfiguration, AbstractReportEntry, AbstractValueByTypeSetter, Account, Actor, AddEntryToEntrySet, AddEntryToEntrySetResult, AgeRange, AlwaysTrueCondition, AmountRelation, Article, AudioAudioSet, AudioEntry, AudioEntrySet, AudioInfo, Batch, BigDecimalTypeSetter, BooleanTypeSetter, Category, ChangePassword, ChangePasswordResult, CheckShortIdsNotReserved, CheckShortIdsNotReservedResult, Command, CommandOperationResult, Comment, Company, CompanyFormHandlerResult, Condition, ConditionalConfiguration, ConditionalXmlConfiguration, Contact, ContactDetailObject, ContactDetails, CreateOrUpdateMedia, CreateOrUpdateObject, CreateOrUpdateObjectResult, CreditAccount, CreditAccountEntry, Delete, DeleteObject, DeleteResult, DeleteUser, DeleteUserResult, DependencyManyToManyObject, DocumentDocumentSet, DocumentEntry, DocumentEntrySet, DocumentInfo, DoubleTypeSetter, EmailAddress, EmailEvent, EndUserReportEntry, Entry, EntryEntrySet, EntrySet, EntryTreeNode, Event, EventCategoryTypeConfiguration, EventFilterByClassPath, EventHandlingConfiguration, EventObjectChangedFieldsContain, EventObjectConditionalStatement, EventObjectFieldValueDecreased, EventObjectFieldValueIncreased, EventRecipientFeed, Feature, FeatureBase, FieldValidatingOperationResult, FieldValueValidationResult, FieldValueValidationResultCollection, Forum, ForumPost, ForumTopic, GenerateShortIds, GenerateShortIdsResult, Genre, GlobalPeer, GraphResult, Group, HttpEndpoint, ImageEntry, ImageEntrySet, ImageImageSet, ImageInfo, IncrementEntryConsumptionCount, IncrementEntryConsumptionCountResult, InetAddressTypeSetter, IntegerTypeSetter, JdbcBindObject, JdbcQueryDefinition, JdbcWriteDefinition, JGroupsEndpoint, JGroupsPeer, License, LicensedItem, Link, LongTypeSetter, MatchConditionalStatement, Media, MediaInfo, MediaReportEntry, MediaResult, Member, MetaEventRecipientConfiguration, MobileMessageEvent, NullTypeSetter, ObjectCommand, ObjectCommandResult, ObjectConsumption, ObjectCount, ObjectEventRecipientConfiguration, ObjectFormParserResult, ObjectModelCommand, ObjectModelFormParserResult, ObjectTypeSetter, OperationResult, OrderedRelation, PageEvent, Peer, Permission, PermissionActionsManyToManyObject, Ping, PingResult, Placemark, PostalAddress, ProcessMedia, ProcessMediaResult, Profile, ProfileCommand, ProfileCommandResult, ProfileProfile, ProfileProfileSet, ProfileReportEntry, ProfileSet, ProfileSettings, ProfileStatus, Property, Query, QueryDefinition, QueryObject, QueryObjectResult, QueryResult, RegisterUser, RegisterUserResult, Relation, RelationQuery, Report, ReportDefinition, ReportEntries, ReportEntriesResult, ReportEntriesWrapper, RequestPasswordChange, RequestPasswordChangeResult, RequestUserActivation, RequestUserActivationResult, ResetPassword, ResetPasswordResult, Response, Role, SequentialQueryDefinition, SessionEvent, SetTags, SetTagsResult, ShortId, SqlAccount, SqlAgeRange, SqlArticle, SqlAudioEntry, SqlAudioEntrySet, SqlAudioInfo, SqlCategory, SqlComment, SqlCompany, SqlContact, SqlContactDetails, SqlCount, SqlCreditAccount, SqlCreditAccountEntry, SqlDefaultBindObject, SqlDefaultManyToManyBindObject, SqlDocumentEntry, SqlDocumentEntrySet, SqlDocumentInfo, SqlEmailAddress, SqlEntry, SqlEntrySet, SqlEntryTreeNode, SqlEvent, SqlFeature, SqlForum, SqlForumPost, SqlForumTopic, SqlGenre, SqlImageEntry, SqlImageEntrySet, SqlImageInfo, SqlLicensedItem, SqlLicensedItemOrder, SqlLink, SqlMedia, SqlMediaInfo, SqlMediaReportEntry, SqlObjectConsumption, SqlOrderedRelation, SqlPageEvent, SqlPermission, SqlPermissionActionsManyToMany, SqlPlacemark, SqlPostalAddress, SqlProfile, SqlProfileProfile, SqlProfileProfileSet, SqlProfileReportEntry, SqlProfileSet, SqlProfileSettings, SqlProfileStatus, SqlProperty, SqlRelation, SqlReport, SqlReportDefinition, SqlRole, SqlSessionEvent, SqlShortId, SqlSubscription, SqlTag, SqlTelephoneNumber, SqlUserAccountReportEntry, SqlUserSession, SqlVideoEntry, SqlVideoEntrySet, SqlVideoInfo, SqlVote, StartHsqlDatabaseServer, StartHsqlDatabaseServerResult, StorageOperationResult, StoredObjectInformation, StringTypeSetter, Subscription, Tag, TelephoneNumber, TendukeObject, TendukeSetObject, TimestampTypeSetter, TimeUnitTypeSetter, TranscodeAudio, TranscodeBase, TranscodeVideo, TreeGroupNode, UpdateProfileLastLogin, UpdateProfileLastLoginResult, UpdateProfileRoles, UpdateProfileRolesResult, UpdateRelations, UpdateRelationsResult, UpdateReportEntry, UpdateRolePermissions, UpdateRolePermissionsResult, UpdateSetObjectIndex, UpdateSetObjectIndexResult, UpdateUser, UpdateUserResult, UserAccountReportEntry, UserSession, UserSessionResult, UUIDTypeSetter, ValidateUser, ValidateUserResult, VideoEntry, VideoEntrySet, VideoInfo, VideoVideoSet, Vote, WebLogEntry, Write, WriteChanges, WriteChangesResult, WriteDefinition, WriteEventToXmlFeeds, WriteEventToXmlFeedsResult, WriteResult

public interface SerializableObject

Interface implemented by classes that support hierarchical model serialization. Typically used together with SerializableField annotations, that describe fields and relations / hierarchy of the object model.

See Also:
SerializableClass, SerializableField

Method Summary
 java.util.UUID getId()
          Gets unique id of the object.
 SerializableObject getParentNode()
          Gets parent of the object in current hierarchy of objects, dependent on dynamic situation where objects are organized hierarchically.
 void setId(java.util.UUID id)
          Sets unique id of the object.
 void setParentNode(SerializableObject parent)
          Sets parent of the object in current hierarchy of objects, dependent on dynamic situation where objects are organized hierarchically.
 

Method Detail

getId

java.util.UUID getId()
Gets unique id of the object.

Returns:
Unique id of the object.

getParentNode

SerializableObject getParentNode()
Gets parent of the object in current hierarchy of objects, dependent on dynamic situation where objects are organized hierarchically.

Returns:
Parent object, i.e. object that aggregates this object in the current object hierarchy. Null if there is currently no parent object.

setId

void setId(java.util.UUID id)
Sets unique id of the object.

Parameters:
id - Unique id to set for the object.

setParentNode

void setParentNode(SerializableObject parent)
Sets parent of the object in current hierarchy of objects, dependent on dynamic situation where objects are organized hierarchically.

Parameters:
parent - Parent object, i.e. object that aggregates this object in the current object hierarchy. Null if there is currently no parent object.