org.deltava.beans
Interface AuthoredBean

All Known Implementing Classes:
ConnectionEntry, CourseComment, CourseProgress, DispatchConnectionEntry, DispatchRoute, DispatchScheduleEntry, Entry, ExternalDispatchRoute, FileEntry, GetCoolerChannels.LastPostMessage, IndexableMessage, Issue, Issue, IssueComment, Message, MessageThread, News, Notice, Resource, StatusUpdate, TextMessage, ThreadUpdate, TrainingVideo, Video, Vote

public interface AuthoredBean

A database bean with an author.

Since:
1.0
Version:
1.0
Author:
Luke

Method Summary
 int getAuthorID()
          Returns the Author of this bean.
 void setAuthorID(int id)
          Updates the author of this bean.
 

Method Detail

getAuthorID

int getAuthorID()
Returns the Author of this bean.

Returns:
the author's database ID
See Also:
setAuthorID(int)

setAuthorID

void setAuthorID(int id)
Updates the author of this bean.

Parameters:
id - the author's database ID.
Throws:
IllegalArgumentException - if id is negative
See Also:
getAuthorID()


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.