Package deltix.util.security
Class EntitlementIDComposer<T extends EntitlementIDComposer>
- java.lang.Object
-
- deltix.util.security.EntitlementIDComposer<T>
-
- All Implemented Interfaces:
EntitlementID
- Direct Known Subclasses:
DACEntitlementIDComposer
public class EntitlementIDComposer<T extends EntitlementIDComposer> extends java.lang.Object implements EntitlementID
-
-
Field Summary
Fields Modifier and Type Field Description protected rtmath.containers.BinaryArray
content
protected int
entriesOffset
protected boolean
isNull
-
Constructor Summary
Constructors Constructor Description EntitlementIDComposer()
EntitlementIDComposer(int entriesOffset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description T
appendAllEntries(T from)
T
appendEntry(byte[] entry)
T
appendEntry(byte[] entry, int offset, int length)
rtmath.containers.interfaces.BinaryArrayReadOnly
content()
int
entryLength(int entryIndex)
int
entryOffset(int entryIndex)
boolean
isNull()
int
numberOfEntries()
T
reset()
protected void
resetContent()
protected static void
setSafely(rtmath.containers.BinaryArray content, int index, byte value)
java.lang.String
toString()
-
-
-
Method Detail
-
reset
public T reset()
-
appendEntry
public T appendEntry(byte[] entry)
-
appendEntry
public T appendEntry(byte[] entry, int offset, int length)
-
isNull
public boolean isNull()
- Specified by:
isNull
in interfaceEntitlementID
-
content
public rtmath.containers.interfaces.BinaryArrayReadOnly content()
- Specified by:
content
in interfaceEntitlementID
-
numberOfEntries
public int numberOfEntries()
- Specified by:
numberOfEntries
in interfaceEntitlementID
-
entryOffset
public int entryOffset(int entryIndex)
- Specified by:
entryOffset
in interfaceEntitlementID
-
entryLength
public int entryLength(int entryIndex)
- Specified by:
entryLength
in interfaceEntitlementID
-
resetContent
protected void resetContent()
-
setSafely
protected static void setSafely(rtmath.containers.BinaryArray content, int index, byte value)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-