|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.clients.wcasclient.model.SelectionEntry
represents an entry of a users selectin of catalog entries. An entry is described by its ID, title, the catalog it is completly described at and the bounding box that bases the resaerch where the entry was found.
Field Summary | |
private int[] |
availability
|
private GM_Envelope |
bbox
|
private java.lang.String |
catalog
|
static int |
DOWNLOAD
|
private java.lang.String |
id
|
private boolean |
selected
|
private java.lang.String |
title
|
static int |
UNKNOWN
|
static int |
VIEW
|
Constructor Summary | |
SelectionEntry(java.lang.String id,
java.lang.String title,
java.lang.String catalog,
GM_Envelope bbox,
int[] availability)
Creates a new SelectionEntry object. |
Method Summary | |
int[] |
getAvailability()
returns a list of service types that offer the dataset assigned to this entry |
GM_Envelope |
getBoundingBox()
returns the bounding box that bases the request the entry was find at |
java.lang.String |
getCatalog()
returns the name of the catalog the catalog/selection entry belongs to |
java.lang.String |
getId()
returns the id of the catalog/selection entry |
java.lang.String |
getTitle()
returns the title of the catalog/selection entry |
boolean |
isSelected()
returns true if the entry is marked as selected |
void |
setAvailability(int[] availability)
set a list of service types that offer the dataset assigned to this entry |
void |
setSelected(boolean selected)
sets the entry to 'selected' or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int UNKNOWN
public static int VIEW
public static int DOWNLOAD
private GM_Envelope bbox
private java.lang.String catalog
private java.lang.String id
private java.lang.String title
private boolean selected
private int[] availability
Constructor Detail |
public SelectionEntry(java.lang.String id, java.lang.String title, java.lang.String catalog, GM_Envelope bbox, int[] availability)
id
- unique identifier of a catalog entrytitle
- title of the catalog entrycatalog
- name of the catalog the entry belongs tobbox
- bbox that bases the request the entry was find atMethod Detail |
public java.lang.String getId()
public java.lang.String getTitle()
public java.lang.String getCatalog()
public GM_Envelope getBoundingBox()
public boolean isSelected()
public void setSelected(boolean selected)
public int[] getAvailability()
public void setAvailability(int[] availability)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |