Interface DirectoryHeader
public interface DirectoryHeader
Calypso DF metadata.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Gets a reference to access conditions.byteGets the DF status.byte[]Gets a reference to keys indexes.bytegetKif(WriteAccessLevel writeAccessLevel) Gets the KIF associated to the provided write access level.bytegetKvc(WriteAccessLevel writeAccessLevel) Gets the KVC associated to the provided write access level.shortgetLid()Gets the associated LID.
-
Method Details
-
getLid
short getLid()Gets the associated LID.- Returns:
- The LID.
- Since:
- 1.0.0
-
getDfStatus
byte getDfStatus()Gets the DF status.- Returns:
- The DF status byte.
- Since:
- 1.0.0
-
getAccessConditions
byte[] getAccessConditions()Gets a reference to access conditions.- Returns:
- A not empty byte array.
- Since:
- 1.0.0
-
getKeyIndexes
byte[] getKeyIndexes()Gets a reference to keys indexes.- Returns:
- A not empty byte array.
- Since:
- 1.0.0
-
getKif
Gets the KIF associated to the provided write access level.- Parameters:
writeAccessLevel- The write access level (should be not null).- Returns:
- The KIF value.
- Throws:
IllegalArgumentException- if writeAccessLevel is null.- Since:
- 1.0.0
-
getKvc
Gets the KVC associated to the provided write access level.- Parameters:
writeAccessLevel- The write access level (should be not null).- Returns:
- The KVC value.
- Throws:
IllegalArgumentException- if writeAccessLevel is null.- Since:
- 1.0.0
-