Class Scorm2004Organization
java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.cp.Scorm2004Organization
- All Implemented Interfaces:
Serializable
Represents a single organization within the content package. Each organization may contain
multiple items structured hierarchically.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the Scorm2004Organization class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the identifier for the organization.getItems()Retrieves the list of SCORM 2004 items associated with the organization.Retrieves the SCORM 2004 metadata associated with the organization.Retrieves the sequencing associated with the SCORM 2004 organization.Retrieves the structure of the SCORM 2004 organization.getTitle()Retrieves the title of the SCORM 2004 organization.inthashCode()booleanDetermines whether the objectives in the SCORM 2004 organization are global to the system.booleanDetermines whether the shared data within the SCORM 2004 organization is global to the system.voidsetIdentifier(String identifier) Sets the identifier for the SCORM 2004 organization.voidsetItems(List<Scorm2004Item> items) Sets the list of SCORM 2004 items associated with the organization.voidsetMetadata(Scorm2004SubMetadata metadata) Sets the metadata for the SCORM 2004 organization.voidsetObjectivesGlobalToSystem(boolean objectivesGlobalToSystem) Sets whether the objectives in the SCORM 2004 organization are global to the system.voidsetSequencing(Sequencing sequencing) Sets the sequencing configuration for the SCORM 2004 organization.voidsetSharedDataGlobalToSystem(boolean sharedDataGlobalToSystem) Sets whether the shared data in the SCORM 2004 organization is global to the system.voidsetStructure(String structure) Sets the structure for the SCORM 2004 organization.voidSets the title for the SCORM 2004 organization.
-
Constructor Details
-
Scorm2004Organization
public Scorm2004Organization()Default constructor for the Scorm2004Organization class. Initializes a new instance of the Scorm2004Organization without setting any fields or properties.
-
-
Method Details
-
getIdentifier
Retrieves the identifier for the organization.- Returns:
- the identifier as a string
-
setIdentifier
Sets the identifier for the SCORM 2004 organization.- Parameters:
identifier- the identifier to be set for the organization
-
getStructure
Retrieves the structure of the SCORM 2004 organization.- Returns:
- the structure as a string
-
setStructure
Sets the structure for the SCORM 2004 organization.- Parameters:
structure- the structure to be set for the organization
-
getTitle
Retrieves the title of the SCORM 2004 organization.- Returns:
- the title as a string
-
setTitle
Sets the title for the SCORM 2004 organization.- Parameters:
title- the title to be set for the organization
-
getItems
Retrieves the list of SCORM 2004 items associated with the organization.- Returns:
- a list of Scorm2004Item objects representing the items in the organization
-
setItems
Sets the list of SCORM 2004 items associated with the organization.- Parameters:
items- the list of Scorm2004Item objects to be set for the organization
-
isObjectivesGlobalToSystem
public boolean isObjectivesGlobalToSystem()Determines whether the objectives in the SCORM 2004 organization are global to the system.- Returns:
- true if the objectives are global to the system, false otherwise
-
setObjectivesGlobalToSystem
public void setObjectivesGlobalToSystem(boolean objectivesGlobalToSystem) Sets whether the objectives in the SCORM 2004 organization are global to the system.- Parameters:
objectivesGlobalToSystem- a boolean value wheretrueindicates that the objectives are global to the system, andfalseindicates that they are not.
-
getMetadata
Retrieves the SCORM 2004 metadata associated with the organization.- Returns:
- an instance of
Scorm2004SubMetadatarepresenting the metadata
-
setMetadata
Sets the metadata for the SCORM 2004 organization.- Parameters:
metadata- an instance ofScorm2004SubMetadatarepresenting the metadata to be associated with the organization
-
getSequencing
Retrieves the sequencing associated with the SCORM 2004 organization.- Returns:
- an instance of
Sequencingrepresenting the sequencing configuration
-
setSequencing
Sets the sequencing configuration for the SCORM 2004 organization.- Parameters:
sequencing- an instance ofSequencingrepresenting the sequencing configuration to be associated with the organization
-
equals
-
hashCode
public int hashCode()
-