Class LocalizedText

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2

    public class LocalizedText
    extends Object
    implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    LocalizedText is a bundled ELEMENT to reference texts in different languages or to provide a text in a specific language. The goal of text references is to shrink the overall size of the MDIB by only providing a single reference to a text file that translates a text into multiple languages instead of flooding the MDIB with all translated texts. Referenced texts can be requested by the LOCALIZATION SERVICE. If no LOCALIZATION SERVICE exist, the application can make use of LocalizedText to represent a text in a single language. __R5047: If ./@Lang and ./@Ref are present, then the text SHALL be only available in the language specified by ./@Lang.__ __R5048: If ./@Lang is present and ./@Ref is not present, then ./@Lang SHALL specify the language of the LocalizedText's content. The Text is not available through the LOCALIZATION SERVICE.__ __R5049: If ./@Lang is not present and ./@Ref is present, then the text SHALL be available through the LOCALIZATION SERVICE.__ __R5050: If ./@Lang and ./@Ref are not present, then the language of the LocalizedText's content is unknown. The text SHALL NOT be available through the LOCALIZATION SERVICE.__

    Java class for LocalizedText complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="LocalizedText">
       <simpleContent>
         <extension base="<http://standards.ieee.org/downloads/11073/11073-10207-2017/participant>LocalizedTextContent">
           <attribute name="Ref" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}LocalizedTextRef" />
           <attribute name="Lang" type="{http://www.w3.org/2001/XMLSchema}language" />
           <attribute name="Version" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}ReferencedVersion" />
           <attribute name="TextWidth" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}LocalizedTextWidth" />
         </extension>
       </simpleContent>
     </complexType>
     
    • Constructor Detail

      • LocalizedText

        public LocalizedText()
    • Method Detail

      • getValue

        public String getValue()
        Content restriction for pm:LocalizedText ELEMENTs.
        Returns:
        possible object is String
      • setValue

        public void setValue​(String value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is String
      • getRef

        public String getRef()
        Gets the value of the ref property.
        Returns:
        possible object is String
      • setRef

        public void setRef​(String value)
        Sets the value of the ref property.
        Parameters:
        value - allowed object is String
      • getLang

        public String getLang()
        Gets the value of the lang property.
        Returns:
        possible object is String
      • setLang

        public void setLang​(String value)
        Sets the value of the lang property.
        Parameters:
        value - allowed object is String
      • getVersion

        public BigInteger getVersion()
        Gets the value of the version property.
        Returns:
        possible object is BigInteger
      • setVersion

        public void setVersion​(BigInteger value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is BigInteger
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • copyTo

        public Object copyTo​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • append

        public StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2