Class CaptureHistorySpec

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

public final class CaptureHistorySpec extends Object implements Serializable

Represents the captureHistorySpec complex type.

The following schema snippet specifies its contents:


 <xs:complexType name="captureHistorySpec">
   <xs:all>
     <xs:element name="captureHistory" type="yesNoType" minOccurs="0" maxOccurs="1" />
     <xs:element name="captureHistoryDetailed" type="yesNoType" minOccurs="0" maxOccurs="1" />
   </xs:all>
 </xs:complexType>
 
See Also:
  • Constructor Details

    • CaptureHistorySpec

      public CaptureHistorySpec(YesNoType captureHistory, YesNoType captureHistoryDetailed)
      Constructs a new instance of the CaptureHistorySpec class with the specified values.
      Parameters:
      captureHistory - the capture history flag, which indicates whether capture history is enabled or not. The value should be of type YesNoType.
      captureHistoryDetailed - the detailed capture history flag, which specifies whether detailed capture history is enabled or not. The value should be of type YesNoType.
    • CaptureHistorySpec

      public CaptureHistorySpec()
      Default constructor for the CaptureHistorySpec class.

      Creates an instance of CaptureHistorySpec with no initial values set. This constructor is primarily used when no specific initialization is required or when values will be set manually after object creation.

  • Method Details

    • getCaptureHistory

      public YesNoType getCaptureHistory()
      Retrieves the captureHistory value.
      Returns:
      the capture history flag, which indicates whether capture history is enabled or not.
    • setCaptureHistory

      public void setCaptureHistory(YesNoType captureHistory)
      Sets the capture history flag, which indicates whether capture history should be enabled or not.
      Parameters:
      captureHistory - the capture history flag, represented as a YesNoType. Acceptable values include "yes", "no", "true", or "false".
    • getCaptureHistoryDetailed

      public YesNoType getCaptureHistoryDetailed()
      Retrieves the detailed capture history flag.
      Returns:
      the detailed capture history flag, indicating whether detailed capture history is enabled or not.
    • setCaptureHistoryDetailed

      public void setCaptureHistoryDetailed(YesNoType captureHistoryDetailed)
      Sets the detailed capture history flag, specifying whether detailed capture history is enabled or not.
      Parameters:
      captureHistoryDetailed - the detailed capture history flag, represented as a YesNoType. Acceptable values are "yes", "no", "true", or "false".
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object