Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.history.records
Class HistoryRecord

java.lang.Object
  extended by net.java.sip.communicator.service.history.records.HistoryRecord

public class HistoryRecord
extends Object

Author:
Alexander Pelov

Constructor Summary
HistoryRecord(HistoryRecordStructure entryStructure, String[] propertyValues)
          Constructs an entry containing multiple name-value pairs, where the names are taken from the defined structure.
HistoryRecord(HistoryRecordStructure entryStructure, String[] propertyValues, long timestamp)
          Constructs an entry containing multiple name-value pairs, where the names are taken from the defined structure.
HistoryRecord(String[] propertyNames, String[] propertyValues)
          Constructs an entry containing multiple name-value pairs, where the name is not unique.
HistoryRecord(String[] propertyNames, String[] propertyValues, long timestamp)
          Constructs an entry containing multiple name-value pairs, where the name is not unique.
 
Method Summary
 String[] getPropertyNames()
           
 String[] getPropertyValues()
           
 long getTimestamp()
           
 String toString()
          Returns the String representation of this HistoryRecord.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistoryRecord

public HistoryRecord(HistoryRecordStructure entryStructure,
                     String[] propertyValues)
Constructs an entry containing multiple name-value pairs, where the names are taken from the defined structure. The timestamp is set to the time this object is created.

Parameters:
entryStructure -
propertyValues -

HistoryRecord

public HistoryRecord(String[] propertyNames,
                     String[] propertyValues)
Constructs an entry containing multiple name-value pairs, where the name is not unique. The timestamp is set to the time this object is created.

Parameters:
propertyNames -
propertyValues -

HistoryRecord

public HistoryRecord(HistoryRecordStructure entryStructure,
                     String[] propertyValues,
                     long timestamp)
Constructs an entry containing multiple name-value pairs, where the names are taken from the defined structure.

Parameters:
entryStructure -
propertyValues -
timestamp -

HistoryRecord

public HistoryRecord(String[] propertyNames,
                     String[] propertyValues,
                     long timestamp)
Constructs an entry containing multiple name-value pairs, where the name is not unique.

Parameters:
propertyNames -
propertyValues -
timestamp -
Method Detail

getPropertyNames

public String[] getPropertyNames()

getPropertyValues

public String[] getPropertyValues()

getTimestamp

public long getTimestamp()

toString

public String toString()
Returns the String representation of this HistoryRecord.

Overrides:
toString in class Object
Returns:
the String representation of this HistoryRecord

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.