public class JMSProperty extends AbstractTestElement implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_NAME
Name used to store the JmsProperty's name.
|
static java.lang.String |
PROP_TYPE
Name used to store the JmsProperty's description.
|
static java.lang.String |
PROP_VALUE
Name used to store the JmsProperty's value.
|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
JMSProperty()
Create a new JmsProperty without a name, value, or metadata.
|
JMSProperty(java.lang.String name,
java.lang.String value)
Create a new JmsProperty with the specified name and value, and String type.
|
JMSProperty(java.lang.String name,
java.lang.String value,
java.lang.String type)
Create a new JmsProperty with the specified name and value, and String type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of the JmsProperty.
|
java.lang.String |
getType()
Gets the Meta Data attribute of the JmsProperty.
|
java.lang.String |
getValue()
Gets the value of the JmsProperty object.
|
java.lang.Object |
getValueAsObject() |
void |
setName(java.lang.String newName)
Set the name of the JmsProperty.
|
void |
setType(java.lang.String type)
Sets the Meta Data attribute of the JmsProperty.
|
void |
setValue(java.lang.String newValue)
Sets the value of the JmsProperty.
|
java.lang.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
finalize, getClass, notify, notifyAll, wait, wait, wait
removed
public static final java.lang.String PROP_NAME
public static final java.lang.String PROP_VALUE
public static final java.lang.String PROP_TYPE
public JMSProperty()
public JMSProperty(java.lang.String name, java.lang.String value)
name
- the prop namevalue
- the prop valuepublic JMSProperty(java.lang.String name, java.lang.String value, java.lang.String type)
name
- the prop namevalue
- the prop valuetype
- the type typepublic void setName(java.lang.String newName)
setName
in interface TestElement
setName
in class AbstractTestElement
newName
- the new namepublic java.lang.String getName()
getName
in interface TestElement
getName
in class AbstractTestElement
public void setValue(java.lang.String newValue)
newValue
- the new valuepublic java.lang.String getValue()
public void setType(java.lang.String type)
type
- the new typepublic java.lang.String getType()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getValueAsObject()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.