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

public final class ExitTypesSpec extends Object implements Serializable

Represents the exitTypesSpec complex type.

The following schema snippet specifies its contents:


 <xs:complexType name="exitTypesSpec">
   <xs:all>
     <xs:element name="normal" type="exitActionType" minOccurs="0" maxOccurs="1" />
     <xs:element name="suspend" type="exitActionType" minOccurs="0" maxOccurs="1" />
     <xs:element name="timeout" type="exitActionType" minOccurs="0" maxOccurs="1" />
     <xs:element name="logout" type="exitActionType" minOccurs="0" maxOccurs="1" />
   </xs:all>
 </xs:complexType>
 
See Also:
  • Constructor Details

    • ExitTypesSpec

      public ExitTypesSpec(ExitActionType normal, ExitActionType suspend, ExitActionType timeout, ExitActionType logout)
      Constructs an instance of ExitTypesSpec with the specified exit action types for different scenarios: normal, suspend, timeout, and logout.
      Parameters:
      normal - the exit action type associated with a normal exit
      suspend - the exit action type associated with the suspend operation
      timeout - the exit action type associated with the timeout operation
      logout - the exit action type associated with the logout operation
    • ExitTypesSpec

      public ExitTypesSpec()
      Default constructor for the ExitTypesSpec class.

      Creates an instance of ExitTypesSpec with no predefined exit action types. This constructor initializes the object to a default state with no set values for normal, suspend, timeout, or logout exit types.

  • Method Details

    • getNormal

      public ExitActionType getNormal()
      Retrieves the exit action type associated with a normal exit.
      Returns:
      the exit action type for normal exit, or null if not defined
    • setNormal

      public void setNormal(ExitActionType normal)
      Sets the exit action type associated with a normal exit.
      Parameters:
      normal - the exit action type for normal exit
    • getSuspend

      public ExitActionType getSuspend()
      Retrieves the exit action type associated with the suspend operation.
      Returns:
      the exit action type for suspend operation, or null if not defined
    • setSuspend

      public void setSuspend(ExitActionType suspend)
      Sets the exit action type associated with the suspend operation.
      Parameters:
      suspend - the exit action type for suspend operation
    • getTimeout

      public ExitActionType getTimeout()
      Retrieves the exit action type associated with the timeout operation.
      Returns:
      the exit action type for timeout operation, or null if not defined
    • setTimeout

      public void setTimeout(ExitActionType timeout)
      Sets the exit action type associated with the timeout operation.
      Parameters:
      timeout - the exit action type for timeout operation
    • getLogout

      public ExitActionType getLogout()
      Retrieves the exit action type associated with the logout operation.
      Returns:
      the exit action type for logout operation, or null if not defined
    • setLogout

      public void setLogout(ExitActionType logout)
      Sets the exit action type associated with the logout operation.
      Parameters:
      logout - the exit action type for the logout operation
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object