[Cherbot-commit] SF.net SVN: cherbot: [97] trunk/src/net/sf/cherbot/Clan.java
Status: Alpha
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2007-06-24 21:40:42
|
Revision: 97
http://svn.sourceforge.net/cherbot/?rev=97&view=rev
Author: christianhujer
Date: 2007-06-24 14:40:39 -0700 (Sun, 24 Jun 2007)
Log Message:
-----------
Added Clan class.
Added Paths:
-----------
trunk/src/net/sf/cherbot/Clan.java
Added: trunk/src/net/sf/cherbot/Clan.java
===================================================================
--- trunk/src/net/sf/cherbot/Clan.java (rev 0)
+++ trunk/src/net/sf/cherbot/Clan.java 2007-06-24 21:40:39 UTC (rev 97)
@@ -0,0 +1,68 @@
+/*
+ * Copyright © 2007, Christian Hujer and the CherBot developers. All Rights Reserved.
+ * License: GNU General Public License v2.0 or newer.
+ * See file COPYING in the root directory of this project.
+ */
+
+package net.sf.cherbot;
+
+import org.jetbrains.annotations.NotNull;
+
+/**
+ * Created by IntelliJ IDEA.
+ * @author <a href="mailto:ch...@ri...">Christian Hujer</a>
+ */
+public class Clan {
+
+ /** Id of this clan. */
+ private int id;
+
+ /** Server of this clan. */
+ private int serverId;
+
+ /** Name of this clan. */
+ @NotNull private String name;
+
+ /** Returns the id of this clan.
+ * @return The id of this clan.
+ */
+ public int getId() {
+ return id;
+ }
+
+ /** Sets the id of this clan.
+ * @param id The id of this clan.
+ */
+ public void setId(final int id) {
+ this.id = id;
+ }
+
+ /** Returns the server of this clan.
+ * @return The server of this clan.
+ */
+ public int getServerId() {
+ return serverId;
+ }
+
+ /** Sets the server of this clan.
+ * @param serverId The server of this clan.
+ */
+ public void setServerId(final int serverId) {
+ this.serverId = serverId;
+ }
+
+ /** Returns the name of this clan.
+ * @return The name of this clan.
+ */
+ @NotNull public String getName() {
+ return name;
+ }
+
+ /** Sets the name of this clan.
+ * @param name The name of this clan.
+ */
+ public void setName(@NotNull final String name) {
+ this.name = name;
+ }
+
+} // class Clan
Property changes on: trunk/src/net/sf/cherbot/Clan.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ LF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|