org.apache.jmeter.protocol.ldap.config.gui

Class LDAPArgument

Implemented Interfaces:
Cloneable, Serializable, TestElement

public class LDAPArgument
extends AbstractTestElement
implements Serializable

Class representing an argument. Each argument consists of a name/value and opcode combination, as well as (optional) metadata. author Dolf Smits(Dolf.Smits@Siemens.com) created Aug 09 2003 11:00 AM company Siemens Netherlands N.V.. Based on the work of: author Michael Stover author Mark Walsh

Fields inherited from interface org.apache.jmeter.testelement.TestElement

COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS

Constructor Summary

LDAPArgument()
Create a new Argument without a name, value, or metadata.
LDAPArgument(String name, String value, String opcode)
Create a new Argument with the specified name and value, and no metadata.
LDAPArgument(String name, String value, String opcode, String metadata)
Create a new Argument with the specified name, value, and metadata.

Method Summary

String
getMetaData()
Gets the Meta Data attribute of the Argument.
String
getName()
Get the name of the Argument.
String
getOpcode()
Gets the opcode of the Argument object.
String
getValue()
Gets the value of the Argument object.
void
setMetaData(String newMetaData)
Sets the Meta Data attribute of the Argument.
void
setName(String newName)
Set the name of the Argument.
void
setOpcode(String newOpcode)
Sets the opcode of the Argument.
void
setValue(String newValue)
Sets the value of the Argument.

Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement

addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty

Constructor Details

LDAPArgument

public LDAPArgument()
Create a new Argument without a name, value, or metadata.

LDAPArgument

public LDAPArgument(String name,
                    String value,
                    String opcode)
Create a new Argument with the specified name and value, and no metadata.
Parameters:
name - the argument name
value - the argument value

LDAPArgument

public LDAPArgument(String name,
                    String value,
                    String opcode,
                    String metadata)
Create a new Argument with the specified name, value, and metadata.
Parameters:
name - the argument name
value - the argument value
metadata - the argument metadata

Method Details

getMetaData

public String getMetaData()
Gets the Meta Data attribute of the Argument.
Returns:
the MetaData value

getName

public String getName()
Get the name of the Argument.
Specified by:
getName in interface TestElement
Overrides:
getName in interface AbstractTestElement
Returns:
the attribute's name

getOpcode

public String getOpcode()
Gets the opcode of the Argument object.
Returns:
the attribute's value

getValue

public String getValue()
Gets the value of the Argument object.
Returns:
the attribute's value

setMetaData

public void setMetaData(String newMetaData)
Sets the Meta Data attribute of the Argument.
Parameters:
newMetaData - the new metadata

setName

public void setName(String newName)
Set the name of the Argument.
Specified by:
setName in interface TestElement
Overrides:
setName in interface AbstractTestElement
Parameters:
newName - the new name

setOpcode

public void setOpcode(String newOpcode)
Sets the opcode of the Argument.
Parameters:
newOpcode - the new value

setValue

public void setValue(String newValue)
Sets the value of the Argument.
Parameters:
newValue - the new value

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.