Interface TextResource

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

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

      Fields 
      Modifier and Type Field Description
      static String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static String PROP_NAME
      Constant property name for "name" for internal storage and queries.
      static String PROP_VALUE_DE
      Constant property name for "value" and domain "DE" for internal storage and queries.
      static String PROP_VALUE_EN
      Constant property name for "value" and domain "EN" 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 getName()
      Returns the value of the name attribute.
      String getValue()
      Returns the current value of the value attribute.
      String getValueDE()
      Returns the value of the value attribute in the "DE" domain.
      String getValueEN()
      Returns the value of the value attribute in the "EN" domain.
      void setName​(String value)
      Sets the value of the name attribute.
      void setValue​(String value)
      Sets the value of the value attribute in the current domain.
      void setValueDE​(String value)
      Sets the value of the value attribute in the domain "DE"
      void setValueEN​(String value)
      Sets the value of the value attribute in the domain "EN"
      • 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_VALUE_EN

        static final String PROP_VALUE_EN
        Constant property name for "value" and domain "EN" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_VALUE_DE

        static final String PROP_VALUE_DE
        Constant property name for "value" and domain "DE" 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.
      • getValueEN

        String getValueEN()
        Returns the value of the value attribute in the "EN" domain.
      • getValueDE

        String getValueDE()
        Returns the value of the value attribute in the "DE" domain.
      • getValue

        String getValue()
        Returns the current value of the value attribute. Current means in the currently selected domain.
      • setValueEN

        void setValueEN​(String value)
        Sets the value of the value attribute in the domain "EN"
      • setValueDE

        void setValueDE​(String value)
        Sets the value of the value attribute in the domain "DE"
      • setValue

        void setValue​(String value)
        Sets the value of the value attribute in the current domain. Current means in the currently selected domain.
      • 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