public class DataOperand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_LEVEL
The level property
|
Constructor and Description |
---|
DataOperand(java.lang.String name)
Create a new DataOperand with null data
|
DataOperand(java.lang.String name,
java.lang.Object data)
Create a new DataOperand
|
DataOperand(java.lang.String name,
java.lang.String description,
java.util.List categories,
boolean multiple)
ctor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Check to see if the object in question is equal to this.
|
java.util.List |
getCategories()
Get the list of
DataCategory s that are defined by the categories property |
java.lang.Object |
getData()
Get the data.
|
java.lang.String |
getDataSourceName()
DOes this operand have a datasource property
|
java.lang.String |
getDescription()
Get the description from the properties
|
java.lang.String |
getLabel()
Get the name used for the label in the gui
|
boolean |
getMultiple()
Get the multiple property
|
java.lang.String |
getName()
Get the name.
|
java.lang.String |
getParamName()
Get just the param name, strip off the categories
|
java.lang.String |
getPattern()
Get the pattern from the properties
|
java.lang.String |
getProperty(java.lang.String name)
Get the named property
|
java.util.List |
getTimeIndices()
Get the list of time (Integer) indices defined with the times property
|
java.lang.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(java.lang.String[] argv)
Test
|
java.lang.String |
makeLegalJython()
Remove all of the special IDV characters in the given jython operand.
|
void |
putCategories(java.util.List categories)
Set the categories
|
void |
putDescription(java.lang.String desc)
Put the description in the properties
|
void |
putMultiple(boolean b)
Put the multiple property
|
void |
putPattern(java.lang.String pattern)
Put the pattern into the properties
|
void |
setData(java.lang.Object value)
Set the data.
|
void |
setName(java.lang.String value)
Set the name.
|
java.lang.String |
toString()
Return a string representation of this DataOperand.
|
public static final java.lang.String PROP_LEVEL
public DataOperand(java.lang.String name)
name
- name for this objectpublic DataOperand(java.lang.String name, java.lang.Object data)
name
- name for this objectdata
- associated datapublic DataOperand(java.lang.String name, java.lang.String description, java.util.List categories, boolean multiple)
name
- namedescription
- descriptioncategories
- categoriesmultiple
- supports multiplespublic void putDescription(java.lang.String desc)
desc
- descriptionpublic java.lang.String getDescription()
public void putPattern(java.lang.String pattern)
pattern
- the patternpublic java.lang.String getPattern()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object in questionpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void putCategories(java.util.List categories)
categories
- catgegoriespublic java.util.List getCategories()
DataCategory
s that are defined by the categories propertypublic void setName(java.lang.String value)
value
- name for this objectpublic java.lang.String getName()
public void setData(java.lang.Object value)
value
- the datapublic java.lang.Object getData()
public boolean isBound()
public void putMultiple(boolean b)
b
- multiplepublic boolean getMultiple()
public boolean isPersistent()
public boolean isUser()
public java.lang.String getDataSourceName()
public java.lang.String getUserDefault()
public java.lang.String getProperty(java.lang.String name)
name
- property namepublic java.lang.String getParamName()
public java.lang.String getLabel()
public java.lang.String makeLegalJython()
public java.util.List getTimeIndices()
public static void main(java.lang.String[] argv)
argv
- Cmd line args