public abstract class Selector extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Description |
description |
protected String |
id |
protected boolean |
multiple |
protected boolean |
required |
protected String |
template |
protected String |
title |
| Modifier | Constructor and Description |
|---|---|
protected |
Selector()
Null constructor.
|
protected |
Selector(String id,
String title,
String template,
boolean required,
boolean multiple,
Description description)
Full constructor.
|
protected |
Selector(String id,
String title,
String template,
Description description)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Description |
getDescription()
Get the description for this selector.
|
String |
getId()
Get the id of this selector.
|
String |
getTemplate()
Get the template of this selector.
|
String |
getTitle()
Get the title of this selector.
|
boolean |
isMultiple()
Check whether multiple selections can be made on this selector.
|
boolean |
isRequired()
Check if this selector is required for a valid query.
|
void |
setDescription(String description) |
protected void |
setId(String id)
Set the id of this selector.
|
void |
setMultiple(boolean multiple)
Set whether multiple selections can be made on this selector.
|
void |
setRequired(boolean required)
Set whether this selector is required for a valid query.
|
protected void |
setTemplate(String template)
Set the template of this selector.
|
void |
setTitle(String title)
Set the title of this selector.
|
abstract Selection |
validateSelection(Selection selection) |
protected String id
protected String title
protected String template
protected boolean required
protected boolean multiple
protected Description description
protected Selector()
protected Selector(String id, String title, String template, boolean required, boolean multiple, Description description)
protected Selector(String id, String title, String template, Description description)
public String getId()
public String getTitle()
public String getTemplate()
public boolean isRequired()
public boolean isMultiple()
public Description getDescription()
protected void setId(String id)
public void setTitle(String title)
protected void setTemplate(String template)
public void setRequired(boolean required)
public void setMultiple(boolean multiple)
public void setDescription(String description)
Copyright © 1999-2013 UCAR/Unidata. All Rights Reserved.