Package opencard.opt.database

Interface Summary
DatabaseCardService This interface defines the features that are necessary for a CardService to be able to access smartcards that provide database functionalities as defined by ISO 7816-7.
DatabaseCardService.Constants The Constants inner interface allows to use standardized constants.
It provides constants used to deal with database smartcards such as constants which describes SCQL operation or code used to manage SCQL exceptions.
 

Class Summary
BasicDatabase This class is designed as a basic default class which allows programmers to access ISO 7816-7-compliant smartcards.
BasicDatabaseFactory This class is the implementation of a CardServiceFactory that provides access to a BasicDatabase CardService for a smartcard that is compliant with ISO7816-7.
DataObject  
SecurityAttribute A SecurityAttribute is a wrapper for a byte array that holds a security attribute (DO, or Data Object) to be passed as parameter to some functions of a DatabaseCardService (such as createTable, createView, or presentUser).
 

Exception Summary
CommandNotAllowedException A CommandNotAllowedException is thrown when the user is not allowed to perform an operation.
EndOfTableReachedException An EndOfTableReachedException is thrown when the end of a table is reached when performing a fetchNext command for example.
IncorrectParameterInDataFieldException An IncorrectParameterInDataFieldException is thrown when the data field of the command sent to the smartcard contains bad parameter(s).
InstructionCodeNotSupportedException An InstructionCodeNotSupportedException is thrown when attempting to perform an unsupported instruction by the smartcard.
MemoryFailureError A MemoryFailureError is thrown when a memory failure occurs while performing an operation into the smartcard.
NotEnoughMemorySpaceException A NotEnoughMemorySpaceException is thrown when there is not enough memory space to perform an operation into the smartcard
ObjectAlreadyExistsException An ObjectAlreadyExistsException is thrown when trying to create an object that has already be defined before.
OperationNotSupportedException An OperationNotSupportedException is thrown when the attempted operation is not supported by the smartcard.
ReferencedObjectNotFoundException A ReferencedObjectNotFoundException is thrown when attempting to perform an operation on an object that does not exists.
RequiredPrecedentCommandNotPerformedException A RequiredPrecedentCommandNotPerformedException is thrown when trying to perform an operation on the smartcard without having performed a necessary operation before.
SCQLError A SCQLError exception is thrown when an error of execution occurs while a database smartcard is used.
SCQLException This class which extends the Java objectException object class, is the most general exception of the database package.
WrongLengthException A WrongLengthException is thrown when the size of the data that was sent to the smartcard is invalid.