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,Control
public class TransactionSpecificationImpl extends 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 org.apache.directory.api.ldap.extras.controls.transaction.TransactionSpecification
OID
-
-
Constructor Summary
Constructors Constructor Description TransactionSpecificationImpl()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)byte[]getIdentifier()inthashCode()voidsetIdentifier(byte[] identifier)Set the transaction IDStringtoString()Return a String representing a Control-
Methods inherited from class org.apache.directory.api.ldap.model.message.controls.AbstractControl
getOid, isCritical, setCritical
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
-
-
-
Method Detail
-
getIdentifier
public byte[] getIdentifier()
- 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 classAbstractControl- See Also:
Object.hashCode()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractControl- See Also:
Object.equals(Object)
-
toString
public String toString()
Description copied from class:AbstractControlReturn a String representing a Control- Overrides:
toStringin classAbstractControl- See Also:
Object.toString()
-
-