Interface LocalizationBundle

  • All Superinterfaces:
    java.lang.Cloneable, net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
    All Known Implementing Classes:
    LocalizationBundleDocument

    public interface LocalizationBundle
    extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String LINK_PROP_PARENT_BUNDLE
      Constant property name for "parentBundle" for internal storage and queries.
      static java.lang.String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static java.lang.String PROP_MESSAGES_EN
      Constant property name for "messages" and domain "EN" for internal storage and queries.
      static java.lang.String PROP_NAME
      Constant property name for "name" for internal storage and queries.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void copyLANG2LANG​(java.lang.String sourceLanguge, java.lang.String destLanguage)
      Copies all multilingual properties from source language to destination language
      java.lang.String getMessages()
      Returns the current value of the messages attribute.
      java.lang.String getMessagesEN()
      Returns the value of the messages attribute in the "EN" domain.
      java.lang.String getName()
      Returns the value of the name attribute.
      java.lang.String getParentBundle()
      Returns the value of the parentBundle attribute.
      void setMessages​(java.lang.String value)
      Sets the value of the messages attribute in the current domain.
      void setMessagesEN​(java.lang.String value)
      Sets the value of the messages attribute in the domain "EN"
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setParentBundle​(java.lang.String value)
      Sets the value of the parentBundle attribute.
      • Methods inherited from interface net.anotheria.asg.data.DataObject

        clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
      • Methods inherited from interface net.anotheria.util.sorter.IComparable

        compareTo
    • Field Detail

      • PROP_ID

        static final java.lang.String PROP_ID
        Constant property name for "id" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_NAME

        static final java.lang.String PROP_NAME
        Constant property name for "name" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_MESSAGES_EN

        static final java.lang.String PROP_MESSAGES_EN
        Constant property name for "messages" and domain "EN" for internal storage and queries.
        See Also:
        Constant Field Values
      • LINK_PROP_PARENT_BUNDLE

        static final java.lang.String LINK_PROP_PARENT_BUNDLE
        Constant property name for "parentBundle" for internal storage and queries.
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the value of the name attribute.
      • setName

        void setName​(java.lang.String value)
        Sets the value of the name attribute.
      • getMessagesEN

        java.lang.String getMessagesEN()
        Returns the value of the messages attribute in the "EN" domain.
      • getMessages

        java.lang.String getMessages()
        Returns the current value of the messages attribute. Current means in the currently selected domain.
      • setMessagesEN

        void setMessagesEN​(java.lang.String value)
        Sets the value of the messages attribute in the domain "EN"
      • setMessages

        void setMessages​(java.lang.String value)
        Sets the value of the messages attribute in the current domain. Current means in the currently selected domain.
      • getParentBundle

        java.lang.String getParentBundle()
        Returns the value of the parentBundle attribute.
      • setParentBundle

        void setParentBundle​(java.lang.String value)
        Sets the value of the parentBundle attribute.
      • copyLANG2LANG

        void copyLANG2LANG​(java.lang.String sourceLanguge,
                           java.lang.String destLanguage)
        Copies all multilingual properties from source language to destination language