LDAP Classes
Implements Java LDAP

com.novell.ldap.events.edir.eventdata
Class DebugParameter

java.lang.Object
  extended bycom.novell.ldap.events.edir.eventdata.DebugParameter

public class DebugParameter
extends java.lang.Object

This class represents the data for Debug Event. The parameter has the following encoding:-

DebugParameter ::= CHOICE {
    entryDN [1] LDAPDN,
    stringValue [2] OCTET STRING,
    rawData [3] OCTET STRING,
    integerValue [4] INTEGER,
    address [5] ReferralAddress,
    timeStamp [6] DSETimeStamp,
    timeVector [7] SEQUENCE{
      count INTEGER,
      SEQUENCE OF DSETimeStamp
        }     }

Note: Please refer the JLDAP SDK Documentation at http://developer.novell.com/ndk/jldap.htm for details of all the properties.


Constructor Summary
DebugParameter(ASN1Tagged dseobject)
          Default Constructor
 
Method Summary
 java.lang.Object getData()
          Returns the Contained Data as Object.
 int getType()
          Returns the Type of Data Contained in this class.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DebugParameter

public DebugParameter(ASN1Tagged dseobject)
               throws java.io.IOException
Default Constructor

Parameters:
dseobject - ASN1Object containing the encoded data as String.
Throws:
java.io.IOException - When decoding of message fails.
Method Detail

getType

public int getType()
Returns the Type of Data Contained in this class. The Type is defined by the constants defined in EdirEventConstant.

Returns:
Type as integer.
See Also:
EdirEventConstant.DB_PARAM_TYPE_ENTRYID, EdirEventConstant.DB_PARAM_TYPE_STRING, EdirEventConstant.DB_PARAM_TYPE_BINARY, EdirEventConstant.DB_PARAM_TYPE_INTEGER, EdirEventConstant.DB_PARAM_TYPE_ADDRESS, EdirEventConstant.DB_PARAM_TYPE_TIMESTAMP, EdirEventConstant.DB_PARAM_TYPE_TIMEVECTOR

toString

public java.lang.String toString()
Returns a string representation of the object.

Returns:
a string representation of the object.
See Also:
Object.toString()

getData

public java.lang.Object getData()
Returns the Contained Data as Object. The Type of Data is controlled by getType().

Returns:
Data as Object.

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000