Interface LocalizationBundle

  • All Superinterfaces:
    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 String LINK_PROP_PARENT_BUNDLE
      Constant property name for "parentBundle" for internal storage and queries.
      static String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static String PROP_MESSAGES_DE
      Constant property name for "messages" and domain "DE" for internal storage and queries.
      static String PROP_MESSAGES_EN
      Constant property name for "messages" and domain "EN" for internal storage and queries.
      static 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 copyDE2EN()
      Copies all multilingual properties from language DE to language EN
      void copyEN2DE()
      Copies all multilingual properties from language EN to language DE
      void copyLANG2LANG​(String sourceLanguge, String destLanguage)
      Copies all multilingual properties from source language to destination language
      String getMessages()
      Returns the current value of the messages attribute.
      String getMessagesDE()
      Returns the value of the messages attribute in the "DE" domain.
      String getMessagesEN()
      Returns the value of the messages attribute in the "EN" domain.
      String getName()
      Returns the value of the name attribute.
      String getParentBundle()
      Returns the value of the parentBundle attribute.
      void setMessages​(String value)
      Sets the value of the messages attribute in the current domain.
      void setMessagesDE​(String value)
      Sets the value of the messages attribute in the domain "DE"
      void setMessagesEN​(String value)
      Sets the value of the messages attribute in the domain "EN"
      void setName​(String value)
      Sets the value of the name attribute.
      void setParentBundle​(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 String PROP_ID
        Constant property name for "id" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_NAME

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

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

        static final String PROP_MESSAGES_DE
        Constant property name for "messages" and domain "DE" for internal storage and queries.
        See Also:
        Constant Field Values
      • LINK_PROP_PARENT_BUNDLE

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

      • getName

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

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

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

        String getMessagesDE()
        Returns the value of the messages attribute in the "DE" domain.
      • getMessages

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

        void setMessagesEN​(String value)
        Sets the value of the messages attribute in the domain "EN"
      • setMessagesDE

        void setMessagesDE​(String value)
        Sets the value of the messages attribute in the domain "DE"
      • setMessages

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

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

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

        void copyLANG2LANG​(String sourceLanguge,
                           String destLanguage)
        Copies all multilingual properties from source language to destination language
      • copyEN2DE

        void copyEN2DE()
        Copies all multilingual properties from language EN to language DE
      • copyDE2EN

        void copyDE2EN()
        Copies all multilingual properties from language DE to language EN