Class CommunicationsSpec
java.lang.Object
dev.jcputney.elearning.parser.input.lom.properties.CommunicationsSpec
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the commit frequency for the current instance.Retrieves the maximum number of failed submissions allowed.inthashCode()voidsetCommitFrequency(Integer commitFrequency) Sets the commit frequency for the current instance.voidsetMaxFailedSubmissions(Integer maxFailedSubmissions) Sets the maximum number of failed submissions allowed.
-
Constructor Details
-
CommunicationsSpec
public CommunicationsSpec()Default constructor for theCommunicationsSpecclass.Initializes a new instance of the
CommunicationsSpecclass with default values. This constructor performs no specific operation.
-
-
Method Details
-
getMaxFailedSubmissions
Retrieves the maximum number of failed submissions allowed.- Returns:
- the maximum number of failed submissions, or null if not specified.
-
setMaxFailedSubmissions
Sets the maximum number of failed submissions allowed.- Parameters:
maxFailedSubmissions- the maximum number of failed submissions, or null to indicate no limit.
-
getCommitFrequency
Retrieves the commit frequency for the current instance.- Returns:
- the frequency of commits, or null if not specified.
-
setCommitFrequency
Sets the commit frequency for the current instance.- Parameters:
commitFrequency- the frequency of commits, or null to indicate no specific frequency.
-
equals
-
hashCode
public int hashCode()
-