Class CommunicationsSpec

java.lang.Object
dev.jcputney.elearning.parser.input.lom.properties.CommunicationsSpec
All Implemented Interfaces:
Serializable

public final class CommunicationsSpec extends Object implements Serializable

Represents the communicationsSpec complex type.

The following schema snippet specifies its contents:


 <xs:complexType name="communicationsSpec">
   <xs:all>
     <xs:element name="maxFailedSubmissions" type="xs:int" minOccurs="0" maxOccurs="1" />
     <xs:element name="commitFrequency" type="xs:int" minOccurs="0" maxOccurs="1" />
   </xs:all>
 </xs:complexType>
 
See Also:
  • Constructor Details

    • CommunicationsSpec

      public CommunicationsSpec()
      Default constructor for the CommunicationsSpec class.

      Initializes a new instance of the CommunicationsSpec class with default values. This constructor performs no specific operation.

  • Method Details

    • getMaxFailedSubmissions

      public Integer getMaxFailedSubmissions()
      Retrieves the maximum number of failed submissions allowed.
      Returns:
      the maximum number of failed submissions, or null if not specified.
    • setMaxFailedSubmissions

      public void setMaxFailedSubmissions(Integer maxFailedSubmissions)
      Sets the maximum number of failed submissions allowed.
      Parameters:
      maxFailedSubmissions - the maximum number of failed submissions, or null to indicate no limit.
    • getCommitFrequency

      public Integer getCommitFrequency()
      Retrieves the commit frequency for the current instance.
      Returns:
      the frequency of commits, or null if not specified.
    • setCommitFrequency

      public void setCommitFrequency(Integer commitFrequency)
      Sets the commit frequency for the current instance.
      Parameters:
      commitFrequency - the frequency of commits, or null to indicate no specific frequency.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object