Class DisplayStageSpec
java.lang.Object
dev.jcputney.elearning.parser.input.lom.properties.DisplayStageSpec
- All Implemented Interfaces:
Serializable
Represents the displayStageSpec complex type.
The following schema snippet specifies its contents:
<xs:complexType name="displayStageSpec">
<xs:all>
<xs:element name="required" type="stageSpec" minOccurs="0" maxOccurs="1" />
<xs:element name="desired" type="stageSpec" minOccurs="0" maxOccurs="1" />
</xs:all>
</xs:complexType>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves thedesiredelement, which specifies the desired display stage.Retrieves therequiredelement, which specifies the required display stage.inthashCode()voidsetDesired(StageSpec desired) Sets thedesiredelement, which specifies the desired display stage.voidsetRequired(StageSpec required) Sets therequiredelement, which specifies the required display stage.
-
Constructor Details
-
DisplayStageSpec
public DisplayStageSpec()Default constructor for the DisplayStageSpec class. Initializes a new instance of the class without setting any properties. This constructor is intended for frameworks or tools that require a no-argument constructor for deserialization or instantiation purposes.
-
-
Method Details
-
getRequired
Retrieves therequiredelement, which specifies the required display stage.- Returns:
- the
StageSpecinstance representing the required stage, or null if not set.
-
setRequired
Sets therequiredelement, which specifies the required display stage.- Parameters:
required- an instance ofStageSpecrepresenting the required display stage.
-
getDesired
Retrieves thedesiredelement, which specifies the desired display stage.- Returns:
- the
StageSpecinstance representing the desired stage, or null if not set.
-
setDesired
Sets thedesiredelement, which specifies the desired display stage.- Parameters:
desired- an instance ofStageSpecrepresenting the desired display stage.
-
equals
-
hashCode
public int hashCode()
-