Class UnboundLangString
java.lang.Object
dev.jcputney.elearning.parser.input.lom.types.UnboundLangString
- All Implemented Interfaces:
Serializable
Represents a list of language strings in LOM metadata. This type is used for fields that require
multiple string values with language attributes.
<xs:complexType name="unboundLangString">
<xs:sequence>
<xs:element name="string" type="langString" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for theUnboundLangStringclass.UnboundLangString(List<LangString> langStrings) Constructs an instance of theUnboundLangStringclass with a specified list ofLangStringobjects. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the list of language strings.inthashCode()voidsetLangStrings(List<LangString> langStrings) Sets the list of language strings associated with this instance.
-
Constructor Details
-
UnboundLangString
public UnboundLangString()Default constructor for theUnboundLangStringclass.Initializes a new instance of the
UnboundLangStringclass. This constructor performs no operations and is primarily used to create an object without any initial state or parameters. -
UnboundLangString
Constructs an instance of theUnboundLangStringclass with a specified list ofLangStringobjects.- Parameters:
langStrings- the list ofLangStringobjects to initialize the instance with; eachLangStringrepresents a string value and its associated language attributes
-
-
Method Details
-
getLangStrings
Retrieves the list of language strings.- Returns:
- a list of LangString objects representing strings with their associated language attributes
-
setLangStrings
Sets the list of language strings associated with this instance.- Parameters:
langStrings- the list ofLangStringobjects to set, with each object representing a string value and its associated language attributes
-
equals
-
hashCode
public int hashCode()
-