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 boolean
equals(Object o)
byte[]
getIdentifier()
int
hashCode()
void
setIdentifier(byte[] identifier)
Set the transaction IDString
toString()
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 interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
-
-
-
Constructor Detail
-
TransactionSpecificationImpl
public TransactionSpecificationImpl()
Default constructor
-
-
Method Detail
-
getIdentifier
public byte[] getIdentifier()
- Specified by:
getIdentifier
in interfaceTransactionSpecification
- Returns:
- The transaction identifier
-
setIdentifier
public void setIdentifier(byte[] identifier)
Set the transaction ID- Specified by:
setIdentifier
in interfaceTransactionSpecification
- Parameters:
identifier
- The transaction identifier, an opaque byte array
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractControl
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractControl
- See Also:
Object.equals(Object)
-
toString
public String toString()
Description copied from class:AbstractControl
Return a String representing a Control- Overrides:
toString
in classAbstractControl
- See Also:
Object.toString()
-
-