net.anidb
Class Group

java.lang.Object
  extended by net.anidb.Group

public class Group
extends java.lang.Object

A group.

Version:
1.0, 19.12.2009
Author:
grizzlyxp (http://anidb.net/perl-bin/animedb.pl?show=userpage&uid=63935)

Constructor Summary
Group()
          Creates a group.
Group(java.lang.Long groupId, java.lang.Long rating, java.lang.Long votes, java.lang.Long animeCount, java.lang.Long fileCount, java.lang.String name, java.lang.String shortName, java.lang.String ircChannel, java.lang.String ircServer, java.lang.String url, java.lang.String picname)
          Creates a group.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Long getAnimeCount()
          Returns the anime count.
 java.lang.Long getFileCount()
          Returns the file count.
 java.lang.Long getGroupId()
          Returns the group Id.
 java.lang.String getIrcChannel()
          Returns the IRC channel.
 java.lang.String getIrcServer()
          Returns the IRC server.
 java.lang.String getName()
          Returns the name.
 java.lang.String getPicname()
          Returns the picname.
 java.lang.Long getRating()
          Returns the rating.
 java.lang.String getShortName()
          Returns the short name.
 java.lang.String getUrl()
          Returns the URL.
 java.lang.Long getVotes()
          Returns the votes.
 int hashCode()
           
 void setAnimeCount(java.lang.Long animeCount)
          Sets the anime count.
 void setFileCount(java.lang.Long fileCount)
          Sets the file count.
 void setGroupId(java.lang.Long groupId)
          Sets the group Id.
 void setIrcChannel(java.lang.String ircChannel)
          Sets the IRC channel.
 void setIrcServer(java.lang.String ircServer)
          Sets the IRC server.
 void setName(java.lang.String name)
          Sets the name.
 void setPicname(java.lang.String picname)
          Sets the picname.
 void setRating(java.lang.Long rating)
          Sets the rating.
 void setShortName(java.lang.String shortName)
          Sets the short name.
 void setUrl(java.lang.String url)
          Sets the URL.
 void setVotes(java.lang.Long votes)
          Sets the votes.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group

public Group()
Creates a group.


Group

public Group(java.lang.Long groupId,
             java.lang.Long rating,
             java.lang.Long votes,
             java.lang.Long animeCount,
             java.lang.Long fileCount,
             java.lang.String name,
             java.lang.String shortName,
             java.lang.String ircChannel,
             java.lang.String ircServer,
             java.lang.String url,
             java.lang.String picname)
Creates a group.

Parameters:
groupId - The group Id.
rating - The rating.
votes - The votes.
animeCount - The anime count.
fileCount - The file count.
name - The name.
shortName - The short name.
ircChannel - The IRC channel.
ircServer - The IRC server.
url - The URL.
picname - The picname.
Method Detail

getGroupId

public java.lang.Long getGroupId()
Returns the group Id.

Returns:
The group Id or null, if the group Id isn't set.

setGroupId

public void setGroupId(java.lang.Long groupId)
Sets the group Id.

Parameters:
groupId - The group Id.

getRating

public java.lang.Long getRating()
Returns the rating.

Returns:
The rating or null, if the rating isn't set.

setRating

public void setRating(java.lang.Long rating)
Sets the rating.

Parameters:
rating - The rating.

getVotes

public java.lang.Long getVotes()
Returns the votes.

Returns:
The votes or null, if the votes aren't set.

setVotes

public void setVotes(java.lang.Long votes)
Sets the votes.

Parameters:
votes - The votes.

getAnimeCount

public java.lang.Long getAnimeCount()
Returns the anime count.

Returns:
The anime count or null, if the anime count isn't set.

setAnimeCount

public void setAnimeCount(java.lang.Long animeCount)
Sets the anime count.

Parameters:
animeCount - The anime count.

getFileCount

public java.lang.Long getFileCount()
Returns the file count.

Returns:
The file count or null, if the file count isn't set.

setFileCount

public void setFileCount(java.lang.Long fileCount)
Sets the file count.

Parameters:
fileCount - The file count.

getName

public java.lang.String getName()
Returns the name.

Returns:
The name or null, if the name isn't set.

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - The name.

getShortName

public java.lang.String getShortName()
Returns the short name.

Returns:
The short name or null, if the name isn't set.

setShortName

public void setShortName(java.lang.String shortName)
Sets the short name.

Parameters:
shortName - The short name.

getIrcChannel

public java.lang.String getIrcChannel()
Returns the IRC channel.

Returns:
The IRC channel or null, if the IRC channel isn't set.

setIrcChannel

public void setIrcChannel(java.lang.String ircChannel)
Sets the IRC channel.

Parameters:
ircChannel - The IRC channel.

getIrcServer

public java.lang.String getIrcServer()
Returns the IRC server.

Returns:
The IRC server or null, if the IRC server isn't set.

setIrcServer

public void setIrcServer(java.lang.String ircServer)
Sets the IRC server.

Parameters:
ircServer - The IRC server.

getUrl

public java.lang.String getUrl()
Returns the URL.

Returns:
The URL or null, if the URL isn't set.

setUrl

public void setUrl(java.lang.String url)
Sets the URL.

Parameters:
url - The URL.

getPicname

public java.lang.String getPicname()
Returns the picname.

Returns:
The picname or null, if the picname isn't set.

setPicname

public void setPicname(java.lang.String picname)
Sets the picname.

Parameters:
picname - The picname.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object