Interface TextResource

  • All Superinterfaces:
    java.lang.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 java.lang.String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static java.lang.String PROP_NAME
      Constant property name for "name" for internal storage and queries.
      static java.lang.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 copyLANG2LANG​(java.lang.String sourceLanguge, java.lang.String destLanguage)
      Copies all multilingual properties from source language to destination language
      java.lang.String getName()
      Returns the value of the name attribute.
      java.lang.String getValue()
      Returns the current value of the value attribute.
      java.lang.String getValueEN()
      Returns the value of the value attribute in the "EN" domain.
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setValue​(java.lang.String value)
      Sets the value of the value attribute in the current domain.
      void setValueEN​(java.lang.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 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_VALUE_EN

        static final java.lang.String PROP_VALUE_EN
        Constant property name for "value" and domain "EN" 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.
      • getValueEN

        java.lang.String getValueEN()
        Returns the value of the value attribute in the "EN" domain.
      • getValue

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

        void setValueEN​(java.lang.String value)
        Sets the value of the value attribute in the domain "EN"
      • setValue

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

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