Class LDAPArgument

java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument
All Implemented Interfaces:
Serializable, Cloneable, Searchable, org.apache.jmeter.testelement.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
See Also:
  • 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
      opcode - the operation to perform, may be one of add, delete, remove or modify.
    • 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
      opcode - the operation to perform, may be one of add, delete, remove or modify.
      metadata - the argument metadata
  • Method Details

    • setName

      public void setName(String newName)
      Set the name of the Argument.
      Specified by:
      setName in interface org.apache.jmeter.testelement.TestElement
      Overrides:
      setName in class AbstractTestElement
      Parameters:
      newName - the new name
    • getName

      public String getName()
      Get the name of the Argument.
      Specified by:
      getName in interface org.apache.jmeter.testelement.TestElement
      Overrides:
      getName in class AbstractTestElement
      Returns:
      the attribute's name
    • setValue

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

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

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

      public String getOpcode()
      Gets the opcode 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
    • getMetaData

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