Record Class RecordingCall

java.lang.Object
java.lang.Record
org.exoplatform.webconferencing.model.RecordingCall
Record Components:
callId - the call id
providerType - the call's provider type, or null when the stamp does not hold it
ownerType - the type of the call's owner, such as space_event for the call of an agenda event, or null
startedDate - when the recording started, read from its file name, or null
recordedDate - when the recording was saved, or null

public record RecordingCall(String callId, String providerType, String ownerType, Date startedDate, Date recordedDate) extends Record
The call a recording file was made in, as the file's stamp records it.
  • Constructor Details

    • RecordingCall

      public RecordingCall(String callId, String providerType, String ownerType, Date startedDate, Date recordedDate)
      Creates an instance of a RecordingCall record class.
      Parameters:
      callId - the value for the callId record component
      providerType - the value for the providerType record component
      ownerType - the value for the ownerType record component
      startedDate - the value for the startedDate record component
      recordedDate - the value for the recordedDate record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • callId

      public String callId()
      Returns the value of the callId record component.
      Returns:
      the value of the callId record component
    • providerType

      public String providerType()
      Returns the value of the providerType record component.
      Returns:
      the value of the providerType record component
    • ownerType

      public String ownerType()
      Returns the value of the ownerType record component.
      Returns:
      the value of the ownerType record component
    • startedDate

      public Date startedDate()
      Returns the value of the startedDate record component.
      Returns:
      the value of the startedDate record component
    • recordedDate

      public Date recordedDate()
      Returns the value of the recordedDate record component.
      Returns:
      the value of the recordedDate record component