net.sourceforge.squirrel_sql.plugins.sqlbookmark
Class Bookmark

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.sqlbookmark.Bookmark

public class Bookmark
extends Object

A class encapsulating an SQL Bookmark.

Author:
Joseph Mocker

Field Summary
protected  String _name
          The name of the bookmark
protected  String _sql
          The SQL for the bookmark
 
Constructor Summary
Bookmark()
           
Bookmark(String name, String description, String sql)
           
 
Method Summary
 String getDescription()
           
 String getName()
           
 String getSql()
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setSql(String sql)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_name

protected String _name
The name of the bookmark


_sql

protected String _sql
The SQL for the bookmark

Constructor Detail

Bookmark

public Bookmark()

Bookmark

public Bookmark(String name,
                String description,
                String sql)
Method Detail

getName

public String getName()

getDescription

public String getDescription()

getSql

public String getSql()

setName

public void setName(String name)

setDescription

public void setDescription(String description)

setSql

public void setSql(String sql)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2010. All Rights Reserved.