Class EntityResultJob

  • All Implemented Interfaces:
    java.io.Serializable, IResultJob

    @Entity(name="ResultJob")
    public class EntityResultJob
    extends java.lang.Object
    implements IResultJob, java.io.Serializable
    IResultJob object for base storage implementation
    See Also:
    Serialized Form
    • Method Detail

      • addFile

        public IResultFile addFile​(ISourceFile file)
        Description copied from interface: IResultJob
        Adds a file to the result set
        Specified by:
        addFile in interface IResultJob
        Parameters:
        file - File to add to results
        Returns:
        results instance for the file passed
      • getPersistentId

        public long getPersistentId()
        Description copied from interface: IResultJob
        The unique id for the job result
        Specified by:
        getPersistentId in interface IResultJob
        Returns:
        the unique id
      • remove

        public void remove()
        Description copied from interface: IResultJob
        Remove this instance, and any children, from storage
        Specified by:
        remove in interface IResultJob
      • store

        public void store()
        Description copied from interface: IResultJob
        Write this instance, and its children, to storage
        Specified by:
        store in interface IResultJob