Class ExErrItem


  • public class ExErrItem
    extends Object
    A class to represents the elements the ExFull class.

    Objects of this class are error messages, consisting of an associated resource property and an error message text property.

    Objects of this class are considered resolved whenever its error message text property has been loaded.

    • Constructor Summary

      Constructors 
      Constructor Description
      ExErrItem()
      Instantiate a ExErrItem object -- the default c'tor.
      ExErrItem​(int nNewResId)
      Instantiate a ExErrItem object -- the ResId c'tor.
      ExErrItem​(int nNewResId, String sNewText)
      Instantiate a ExErrItem object -- the ResId, String c'tor.
      ExErrItem​(ExErrItem oSource)
      Instantiate a ExErrItem object -- the copy c'tor.
    • Constructor Detail

      • ExErrItem

        public ExErrItem()
        Instantiate a ExErrItem object -- the default c'tor.
      • ExErrItem

        public ExErrItem​(ExErrItem oSource)
        Instantiate a ExErrItem object -- the copy c'tor.
      • ExErrItem

        public ExErrItem​(int nNewResId)
        Instantiate a ExErrItem object -- the ResId c'tor.
        Parameters:
        nNewResId - - set this object's resource property to the given resource.
      • ExErrItem

        public ExErrItem​(int nNewResId,
                         String sNewText)
        Instantiate a ExErrItem object -- the ResId, String c'tor.
        Parameters:
        nNewResId - - set this object's resource property to the given resource.
        sNewText - - set this object's error message text property to the string provided. The ructed object is considered resolved.
    • Method Detail

      • resId

        public int resId()
        Get this object's resource property.
        Returns:
        the ResId property.
      • resId

        public void resId​(int nNewResId)
        Set this object's resource property to the given resource.
        Parameters:
        nNewResId - - the new resource property.
      • resolve

        public void resolve()
        Resolve (load) the resource text associated with this object's resource property to this object's error message text property, if not already resolved.
      • text

        public String text()
        Get this object's error message text property.
        Returns:
        the error message text property.
      • text

        public void text​(String sNewText)
        Set this object's error message text property to the given string.
        Parameters:
        sNewText - - the new error message text property.