|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.DataOperand
public class DataOperand
This class holds a name/value pair that represents an operand for the DerivedDataChoice
| Field Summary | |
|---|---|
static String |
PROP_LEVEL
The level property |
| Constructor Summary | |
|---|---|
DataOperand(String name)
Create a new DataOperand with null data |
|
DataOperand(String name,
Object data)
Create a new DataOperand |
|
DataOperand(String name,
String description,
List categories,
boolean multiple)
ctor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Check to see if the object in question is equal to this. |
List |
getCategories()
Get the list of DataCategorys that are defined by the categories property |
Object |
getData()
Get the data. |
String |
getDataSourceName()
DOes this operand have a datasource property |
String |
getDescription()
Get the description from the properties |
String |
getLabel()
Get the name used for the label in the gui |
boolean |
getMultiple()
Get the multiple property |
String |
getName()
Get the name. |
String |
getParamName()
Get just the param name, strip off the categories |
String |
getPattern()
Get the pattern from the properties |
String |
getProperty(String name)
Get the named property |
List |
getTimeIndices()
Get the list of time (Integer) indices defined with the times property |
String |
getUserDefault()
Get the default user value |
int |
hashCode()
Return the hashcode for this DataOperand. |
boolean |
isBound()
See if this a bound operand or not (has data) |
boolean |
isPersistent()
Is this operand persistent |
boolean |
isUser()
Is this operand an end user defined value |
static void |
main(String[] argv)
Test |
String |
makeLegalJython()
Remove all of the special IDV characters in the given jython operand. |
void |
putCategories(List categories)
Set the categories |
void |
putDescription(String desc)
Put the description in the properties |
void |
putMultiple(boolean b)
Put the multiple property |
void |
putPattern(String pattern)
Put the pattern into the properties |
void |
setData(Object value)
Set the data. |
void |
setName(String value)
Set the name. |
String |
toString()
Return a string representation of this DataOperand. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_LEVEL
| Constructor Detail |
|---|
public DataOperand(String name)
name - name for this object
public DataOperand(String name,
Object data)
name - name for this objectdata - associated data
public DataOperand(String name,
String description,
List categories,
boolean multiple)
name - namedescription - descriptioncategories - categoriesmultiple - supports multiples| Method Detail |
|---|
public void putDescription(String desc)
desc - descriptionpublic String getDescription()
public void putPattern(String pattern)
pattern - the patternpublic String getPattern()
public boolean equals(Object o)
equals in class Objecto - Object in question
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic void putCategories(List categories)
categories - catgegoriespublic List getCategories()
DataCategorys that are defined by the categories property
public void setName(String value)
value - name for this objectpublic String getName()
public void setData(Object value)
value - the datapublic Object getData()
public boolean isBound()
public void putMultiple(boolean b)
b - multiplepublic boolean getMultiple()
public boolean isPersistent()
public boolean isUser()
public String getDataSourceName()
public String getUserDefault()
public String getProperty(String name)
name - property name
public String getParamName()
public String getLabel()
public String makeLegalJython()
public List getTimeIndices()
public static void main(String[] argv)
argv - Cmd line args
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||