edu.wisc.my.portlets.bookmarks.domain
Class Bookmark

java.lang.Object
  extended by edu.wisc.my.portlets.bookmarks.domain.Entry
      extended by edu.wisc.my.portlets.bookmarks.domain.Bookmark
All Implemented Interfaces:
java.io.Serializable

public class Bookmark
extends Entry

A bookmark tracks a URL and if the URL should be opened in a new window.

Version:
$Revision: 12140 $
Author:
Eric Dalquist eric.dalquist@doit.wisc.edu
See Also:
Serialized Form

Constructor Summary
Bookmark()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.String getUrl()
           
 int hashCode()
           
 boolean isNewWindow()
           
 void setNewWindow(boolean newWindow)
           
 void setUrl(java.lang.String url)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.wisc.my.portlets.bookmarks.domain.Entry
getCreated, getId, getModified, getName, getNote, getNoteLines, setCreated, setId, setModified, setName, setNote
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bookmark

public Bookmark()
Method Detail

isNewWindow

public boolean isNewWindow()
Returns:
Returns the newWindow.

setNewWindow

public void setNewWindow(boolean newWindow)
Parameters:
newWindow - The newWindow to set.

getUrl

public java.lang.String getUrl()
Returns:
Returns the url.

setUrl

public void setUrl(java.lang.String url)
Parameters:
url - The url to set.

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class Entry
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Entry
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Overrides:
toString in class Entry
See Also:
Object.toString()


Copyright © 1998-2007 Java Architectures Special Interest Group. All Rights Reserved.