Serializable
, Cloneable
, Searchable
, TestElement
public class JMSProperty extends AbstractTestElement implements Serializable
Modifier and Type | Field | Description |
---|---|---|
static String |
PROP_NAME |
Name used to store the JmsProperty's name.
|
static String |
PROP_TYPE |
Name used to store the JmsProperty's description.
|
static String |
PROP_VALUE |
Name used to store the JmsProperty's value.
|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor | Description |
---|---|
JMSProperty() |
Create a new JmsProperty without a name, value, or metadata.
|
JMSProperty(String name,
String value) |
Create a new JmsProperty with the specified name and value, and String type.
|
JMSProperty(String name,
String value,
String type) |
Create a new JmsProperty with the specified name and value, and String type.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getName() |
Get the name of the JmsProperty.
|
String |
getType() |
Gets the Meta Data attribute of the JmsProperty.
|
String |
getValue() |
Gets the value of the JmsProperty object.
|
Object |
getValueAsObject() |
|
void |
setName(String newName) |
Set the name of the JmsProperty.
|
void |
setType(String type) |
Sets the Meta Data attribute of the JmsProperty.
|
void |
setValue(String newValue) |
Sets the value of the JmsProperty.
|
String |
toString() |
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
public static final String PROP_NAME
public static final String PROP_VALUE
public static final String PROP_TYPE
public JMSProperty()
public JMSProperty(String name, String value)
name
- the prop namevalue
- the prop valuepublic void setName(String newName)
setName
in interface TestElement
setName
in class AbstractTestElement
newName
- the new namepublic String getName()
getName
in interface TestElement
getName
in class AbstractTestElement
public void setValue(String newValue)
newValue
- the new valuepublic String getValue()
public void setType(String type)
type
- the new typepublic String getType()
public Object getValueAsObject()
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.