Class SingleLangString
java.lang.Object
dev.jcputney.elearning.parser.input.lom.types.SingleLangString
- All Implemented Interfaces:
Serializable
Represents a single language string in LOM metadata. This type is used for fields that only
require a single string value with a language attribute.
<xs:complexType name="singleLangString">
<xs:sequence>
<xs:element name="string" type="langString"/>
</xs:sequence>
</xs:complexType>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves theLangStringobject associated with this instance.inthashCode()voidsetLangString(LangString langString) Sets theLangStringvalue for this instance.toString()
-
Constructor Details
-
SingleLangString
public SingleLangString()Default constructor for theSingleLangStringclass. Creates an empty instance of theSingleLangStringclass with no initial state. Primarily used for object instantiation without predefined data.
-
-
Method Details
-
getLangString
Retrieves theLangStringobject associated with this instance.- Returns:
- the
LangStringrepresenting a single string value with a language attribute
-
setLangString
Sets theLangStringvalue for this instance.- Parameters:
langString- theLangStringobject to set, representing a string value with an associated language attribute
-
toString
-
equals
-
hashCode
public int hashCode()
-