Class TransactionSpecificationImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.controls.AbstractControl
org.apache.directory.api.ldap.extras.controls.transaction.TransactionSpecificationImpl
- All Implemented Interfaces:
TransactionSpecification, org.apache.directory.api.ldap.model.message.Control
public class TransactionSpecificationImpl
extends org.apache.directory.api.ldap.model.message.controls.AbstractControl
implements TransactionSpecification
The Transaction Specification control. It's defined in RFC 5805.
This control is sent with every update once a transaction is started.
It contains the Transaction ID.
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from interface TransactionSpecification
OID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]Get the transaction identifierinthashCode()voidsetIdentifier(byte[] identifier) Set the transaction IDtoString()Methods inherited from class org.apache.directory.api.ldap.model.message.controls.AbstractControl
getOid, isCritical, setCriticalMethods inherited from interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
Constructor Details
-
TransactionSpecificationImpl
public TransactionSpecificationImpl()Default constructor
-
-
Method Details
-
getIdentifier
public byte[] getIdentifier()Get the transaction identifier- Specified by:
getIdentifierin interfaceTransactionSpecification- Returns:
- The transaction identifier
-
setIdentifier
public void setIdentifier(byte[] identifier) Set the transaction ID- Specified by:
setIdentifierin interfaceTransactionSpecification- Parameters:
identifier- The transaction identifier, an opaque byte array
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.apache.directory.api.ldap.model.message.controls.AbstractControl- See Also:
-
equals
- Overrides:
equalsin classorg.apache.directory.api.ldap.model.message.controls.AbstractControl- See Also:
-
toString
- Overrides:
toStringin classorg.apache.directory.api.ldap.model.message.controls.AbstractControl- See Also:
-