SmsRecords

public class SmsRecords implements Serializable

SMS audit records from the database. Represents a subset of all records.

Constructors

SmsRecords

public SmsRecords()

Constructs an instance with no records and a total count of zero.

SmsRecords

public SmsRecords(int count, List<SmsRecord> records)

Constructs an instance from the given records and count.

Parameters:
  • count – the total count of records in this context
  • records – the subset of records

Methods

getCount

public int getCount()
Returns:the total number of SMS records in the current context

getRecords

public List<SmsRecord> getRecords()
Returns:the actual subset of records

setCount

public void setCount(int count)
Parameters:
  • count – the total number of SMS records in the current context

setRecords

public void setRecords(List<SmsRecord> records)
Parameters:
  • records – the actual subset of records