|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.DataSourceDescriptor
public class DataSourceDescriptor
A class to hold the descriptive metadata about a DataSource
| Field Summary | |
|---|---|
protected boolean |
doesMultiples
flag for accepting multiple data references |
protected Class |
factoryClass
The factory class |
protected boolean |
fileSelection
flag for fileseletion |
protected String |
id
Id for this DataSourceDescriptor |
protected String |
label
label to display |
protected DataManager |
manager
The data manager |
protected String |
patterns
pattern string |
protected Hashtable |
properties
Properties table |
| Constructor Summary | |
|---|---|
DataSourceDescriptor()
Default constructor; does nothing |
|
DataSourceDescriptor(String id,
String label,
DataManager manager,
Class factory,
String patterns,
boolean fileSelection,
boolean doesMultiples,
Hashtable props)
Create a DataSourceDescriptor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
See if the object in question is equal to this DataSourceDescriptor |
DataContext |
getDataContext()
Get the context for this data. |
DataManager |
getDataManager()
Get the DataManager for this DataSourceDescriptor |
boolean |
getDoesMultiples()
Set the does multiples property |
Class |
getFactoryClass()
Get the factory class for this DatSourceDescriptor |
FileFilter |
getFilePatternFilter()
Get the file pattern filter for this Descriptor |
boolean |
getFileSelection()
Get the file selection property |
String |
getId()
Get the id for this DataSourceDescriptor. |
String |
getLabel()
Get the label for this DataSourceDescriptor |
String |
getNcmlTemplate()
Get the NcmlTemplate property. |
PatternFileFilter |
getPatternFileFilter()
Get the file pattern filter for this Descriptor |
String |
getPatterns()
Get the Patterns property. |
Hashtable |
getProperties()
Get any properties associated with this |
String |
getProperty(String property)
Get the property. |
boolean |
getStandalone()
Get the Standalone property. |
int |
hashCode()
Return the hashcode for this DataSourceDescription 8 |
void |
setDataManager(DataManager m)
Set the DataManager for this DataSourceDescriptor |
void |
setDoesMultiples(boolean value)
Set the does multiples property |
void |
setFileSelection(boolean fileSelection)
Set the file selection property |
void |
setId(String id)
Set the id for this DataSourceDescriptor. |
void |
setLabel(String label)
Get the label for this DataSourceDescriptor |
void |
setNcmlTemplate(String value)
Set the NcmlTemplate property. |
void |
setPatterns(String value)
Set the Patterns property. |
void |
setProperties(Hashtable p)
Set the properties. |
void |
setStandalone(boolean value)
Set the Standalone property. |
String |
toString()
Return a string representation of this DataSourceDescriptor 8 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String id
protected DataManager manager
protected Class factoryClass
protected Hashtable properties
protected String label
protected boolean fileSelection
protected boolean doesMultiples
protected String patterns
| Constructor Detail |
|---|
public DataSourceDescriptor()
public DataSourceDescriptor(String id,
String label,
DataManager manager,
Class factory,
String patterns,
boolean fileSelection,
boolean doesMultiples,
Hashtable props)
id - id for thislabel - text for a labelmanager - Associated DataManagerfactory - the factory classpatterns - set of patternsfileSelection - true if this supports file selectiondoesMultiples - true if this handles multiple idsprops - extra properties| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objecto - Object in question
8
public DataContext getDataContext()
public String getId()
public void setId(String id)
id - new idpublic void setDoesMultiples(boolean value)
value - true to handle, false to notpublic boolean getDoesMultiples()
public DataManager getDataManager()
public void setDataManager(DataManager m)
m - The DataManagerpublic String getLabel()
public void setLabel(String label)
label - The labelpublic boolean getFileSelection()
public void setFileSelection(boolean fileSelection)
fileSelection - true to set up for file selectionpublic Class getFactoryClass()
public Hashtable getProperties()
nullpublic void setProperties(Hashtable p)
p - new propertiespublic String getProperty(String property)
property - key for property
public String toString()
toString in class Objectpublic FileFilter getFilePatternFilter()
public PatternFileFilter getPatternFileFilter()
public void setPatterns(String value)
value - The new value for Patternspublic String getPatterns()
public void setNcmlTemplate(String value)
value - The new value for NcmlTemplatepublic String getNcmlTemplate()
public void setStandalone(boolean value)
value - The new value for Standalonepublic boolean getStandalone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||