Class LaunchSpec
java.lang.Object
dev.jcputney.elearning.parser.input.lom.properties.LaunchSpec
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionConstructs a new instance of theLaunchSpecclass with no initial values.LaunchSpec(LaunchType sco, LaunchType player, YesNoType wrapScoWindowWithApi) Constructs a new instance of theLaunchSpecclass. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the player launch type.getSco()Retrieves the SCO (Sharable Content Object) launch type.Retrieves the value that indicates whether the SCO window should be wrapped with an API.inthashCode()voidsetPlayer(LaunchType player) Sets the player launch type.voidsetSco(LaunchType sco) Sets the SCO (Sharable Content Object) launch type.voidsetWrapScoWindowWithApi(YesNoType wrapScoWindowWithApi) Sets the value that specifies whether the SCO (Sharable Content Object) window should be wrapped with an API.
-
Constructor Details
-
LaunchSpec
Constructs a new instance of theLaunchSpecclass.- Parameters:
sco- the launch type for the Sharable Content Object (SCO), specified as an instance ofLaunchTypeplayer- the launch type for the player, specified as an instance ofLaunchTypewrapScoWindowWithApi- aYesNoTypevalue indicating whether the SCO window should be wrapped with an API
-
LaunchSpec
public LaunchSpec()Constructs a new instance of theLaunchSpecclass 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
Retrieves the SCO (Sharable Content Object) launch type.- Returns:
- an instance of
LaunchTyperepresenting the SCO launch type, ornullif not set.
-
setSco
Sets the SCO (Sharable Content Object) launch type.- Parameters:
sco- the SCO launch type to be set; an instance ofLaunchTyperepresenting how the SCO should be launched
-
getPlayer
Retrieves the player launch type.- Returns:
- an instance of
LaunchTyperepresenting the player launch type, ornullif not set.
-
setPlayer
Sets the player launch type.- Parameters:
player- the player launch type to be set; an instance ofLaunchTyperepresenting how the player should be launched
-
getWrapScoWindowWithApi
Retrieves the value that indicates whether the SCO window should be wrapped with an API.- Returns:
- an instance of
YesNoTyperepresenting the configuration for wrapping the SCO window with an API.
-
setWrapScoWindowWithApi
Sets the value that specifies whether the SCO (Sharable Content Object) window should be wrapped with an API.- Parameters:
wrapScoWindowWithApi- an instance ofYesNoTypethat determines whether the SCO window should be wrapped with an API. Acceptable values areYES,NO,TRUE, orFALSE.
-
equals
-
hashCode
public int hashCode()
-