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

public final class LaunchSpec extends Object implements Serializable

Represents the launchSpec complex type.

The following schema snippet specifies its contents:


 <xs:complexType name="launchSpec">
   <xs:all>
     <xs:element name="sco" type="launchType" minOccurs="0" maxOccurs="1" />
     <xs:element name="player" type="launchType" minOccurs="0" maxOccurs="1" />
     <xs:element name="wrapScoWindowWithApi" type="yesNoType" minOccurs="0" maxOccurs="1" />
   </xs:all>
 </xs:complexType>
 
See Also:
  • Constructor Details

    • LaunchSpec

      public LaunchSpec(LaunchType sco, LaunchType player, YesNoType wrapScoWindowWithApi)
      Constructs a new instance of the LaunchSpec class.
      Parameters:
      sco - the launch type for the Sharable Content Object (SCO), specified as an instance of LaunchType
      player - the launch type for the player, specified as an instance of LaunchType
      wrapScoWindowWithApi - a YesNoType value indicating whether the SCO window should be wrapped with an API
    • LaunchSpec

      public LaunchSpec()
      Constructs a new instance of the LaunchSpec class with no initial values.

      This default constructor performs no additional initialization and is intended for use in scenarios where the instance will be configured post-construction.

  • Method Details

    • getSco

      public LaunchType getSco()
      Retrieves the SCO (Sharable Content Object) launch type.
      Returns:
      an instance of LaunchType representing the SCO launch type, or null if not set.
    • setSco

      public void setSco(LaunchType sco)
      Sets the SCO (Sharable Content Object) launch type.
      Parameters:
      sco - the SCO launch type to be set; an instance of LaunchType representing how the SCO should be launched
    • getPlayer

      public LaunchType getPlayer()
      Retrieves the player launch type.
      Returns:
      an instance of LaunchType representing the player launch type, or null if not set.
    • setPlayer

      public void setPlayer(LaunchType player)
      Sets the player launch type.
      Parameters:
      player - the player launch type to be set; an instance of LaunchType representing how the player should be launched
    • getWrapScoWindowWithApi

      public YesNoType getWrapScoWindowWithApi()
      Retrieves the value that indicates whether the SCO window should be wrapped with an API.
      Returns:
      an instance of YesNoType representing the configuration for wrapping the SCO window with an API.
    • setWrapScoWindowWithApi

      public void setWrapScoWindowWithApi(YesNoType wrapScoWindowWithApi)
      Sets the value that specifies whether the SCO (Sharable Content Object) window should be wrapped with an API.
      Parameters:
      wrapScoWindowWithApi - an instance of YesNoType that determines whether the SCO window should be wrapped with an API. 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