Class Fragment


  • public class Fragment
    extends Object
    Java Bean class for a Reshaper DupFinder fragment.
    Author:
    Rafal Jasica
    • Constructor Detail

      • Fragment

        public Fragment()
    • Method Detail

      • getFileName

        @CheckForNull
        public String getFileName()
        Returns the file name.
        Returns:
        the path of this file
      • setFileName

        public void setFileName​(@CheckForNull
                                String fileName)
        Sets the file name to the specified value.
        Parameters:
        fileName - the value to set
      • getText

        @CheckForNull
        public String getText()
        Returns the text.
        Returns:
        the text
      • setText

        public void setText​(@CheckForNull
                            String text)
        Sets the text to the specified value.
        Parameters:
        text - the value to set
      • getLineRange

        public Range getLineRange()
        Returns the line range.
        Returns:
        the line range
      • setLineRange

        public void setLineRange​(@CheckForNull
                                 Range lineRange)
        Sets the line range to the specified value.
        Parameters:
        lineRange - the value to set
      • getOffsetRange

        @CheckForNull
        public Range getOffsetRange()
        Returns the offset range.
        Returns:
        the offset range
      • setOffsetRange

        public void setOffsetRange​(@CheckForNull
                                   Range offsetRange)
        Sets the offset range to the specified value.
        Parameters:
        offsetRange - the value to set