hoplugins.transfers.vo
Class Bookmark

java.lang.Object
  extended byhoplugins.transfers.vo.Bookmark

public class Bookmark
extends java.lang.Object

Value Object representing a bookmark.

Author:
Boy van der Werf

Field Summary
static int PLAYER
          Player bookmark
static int TEAM
          Team bookmark
 
Constructor Summary
Bookmark(int type, int id, java.lang.String name)
          Creates an instance of Bookmark representing a bookmark of an item.
 
Method Summary
 int getId()
          Gets the id of the bookmark.
 java.lang.String getName()
          Gets the name of the bookmark.
 int getType()
          Gets the type of the bookmark.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEAM

public static final int TEAM
Team bookmark

See Also:
Constant Field Values

PLAYER

public static final int PLAYER
Player bookmark

See Also:
Constant Field Values
Constructor Detail

Bookmark

public Bookmark(int type,
                int id,
                java.lang.String name)
Creates an instance of Bookmark representing a bookmark of an item.

Parameters:
type - Type of the bookmark
id - Id of the bookmarked item
name - name of the bookmark
Method Detail

getId

public final int getId()
Gets the id of the bookmark.

Returns:
Id of the bookmark

getName

public final java.lang.String getName()
Gets the name of the bookmark.

Returns:
Name of the bookmark

getType

public final int getType()
Gets the type of the bookmark.

Returns:
Type of the bookmark


Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.