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

## Class LDAPArgument

- java.lang.Object
- - org.apache.jmeter.testelement.AbstractTestElement
  - - org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Searchable, TestElement

      public class LDAPArgument
      extends AbstractTestElement
      implements java.io.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:
    Serialized Form

- - ### Field Summary

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

      `COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LDAPArgument()` Create a new Argument without a name, value, or metadata.
    `LDAPArgument(java.lang.String name, java.lang.String value, java.lang.String opcode)` Create a new Argument with the specified name and value, and no metadata.
    `LDAPArgument(java.lang.String name, java.lang.String value, java.lang.String opcode, java.lang.String metadata)` Create a new Argument with the specified name, value, and metadata.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getMetaData()` Gets the Meta Data attribute of the Argument.
    `java.lang.String` | `getName()` Get the name of the Argument.
    `java.lang.String` | `getOpcode()` Gets the opcode of the Argument object.
    `java.lang.String` | `getValue()` Gets the value of the Argument object.
    `void` | `setMetaData(java.lang.String newMetaData)` Sets the Meta Data attribute of the Argument.
    `void` | `setName(java.lang.String newName)` Set the name of the Argument.
    `void` | `setOpcode(java.lang.String newOpcode)` Sets the opcode of the Argument.
    `void` | `setValue(java.lang.String newValue)` Sets the value of the Argument.

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

      `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`

    - ### Methods inherited from class java.lang.Object

      `finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.jmeter.testelement.TestElement

      `removed`

- - ### Constructor Detail

    - #### LDAPArgument

          public LDAPArgument()

      Create a new Argument without a name, value, or metadata.

    - #### LDAPArgument

          public LDAPArgument(java.lang.String name,
                              java.lang.String value,
                              java.lang.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(java.lang.String name,
                              java.lang.String value,
                              java.lang.String opcode,
                              java.lang.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 Detail

    - #### setName

          public void setName(java.lang.String newName)

      Set the name of the Argument.
      Specified by:
        `setName` in interface `TestElement`
      Overrides:
        `setName` in class `AbstractTestElement`
      Parameters:
        `newName` - the new name

    - #### getName

          public java.lang.String getName()

      Get the name of the Argument.
      Specified by:
        `getName` in interface `TestElement`
      Overrides:
        `getName` in class `AbstractTestElement`
      Returns:
        the attribute's name

    - #### setValue

          public void setValue(java.lang.String newValue)

      Sets the value of the Argument.
      Parameters:
        `newValue` - the new value

    - #### getValue

          public java.lang.String getValue()

      Gets the value of the Argument object.
      Returns:
        the attribute's value

    - #### setOpcode

          public void setOpcode(java.lang.String newOpcode)

      Sets the opcode of the Argument.
      Parameters:
        `newOpcode` - the new value

    - #### getOpcode

          public java.lang.String getOpcode()

      Gets the opcode of the Argument object.
      Returns:
        the attribute's value

    - #### setMetaData

          public void setMetaData(java.lang.String newMetaData)

      Sets the Meta Data attribute of the Argument.
      Parameters:
        `newMetaData` - the new metadata

    - #### getMetaData

          public java.lang.String getMetaData()

      Gets the Meta Data attribute of the Argument.
      Returns:
        the MetaData value

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