Class Translation


  • public class Translation
    extends Object
    Stores the information of a translation. Currently this includes the translation key, and the raw source of the translation in a requested locale.

    Java class for Translation complex type.

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

     <complexType name="Translation">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="rawSource" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • rawSource

        protected String rawSource
    • Constructor Detail

      • Translation

        public Translation()
    • Method Detail

      • getKey

        public String getKey()
        Gets the value of the key property.
        Returns:
        possible object is String
      • setKey

        public void setKey​(String value)
        Sets the value of the key property.
        Parameters:
        value - allowed object is String
      • getRawSource

        public String getRawSource()
        Gets the value of the rawSource property.
        Returns:
        possible object is String
      • setRawSource

        public void setRawSource​(String value)
        Sets the value of the rawSource property.
        Parameters:
        value - allowed object is String