GWTApplication.client
Class Fault

java.lang.Object
  extended by GWTApplication.client.Fault
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class Fault
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

This is an entity class which is used to hold the details of a fault and will be used to transfer the details of a defect report around the system.

Version:
1.0
Author:
Craige Bevil

Field Summary
 java.lang.String assignedDate
          This is the date that the fault was assigned
 java.lang.String assignedToEmail
          This is the e-mail address of the person who has been assigned default to fix
 java.lang.String assignedToName
          This is the name of the person that the fault was assigned to
 java.lang.String assignedToSurname
          Surname of the person that the fault was assigned to
 java.lang.String dateEntered
          This is the date that the entry was made
 java.lang.String dateOccured
          This is the date that the fault occurred
 java.lang.String description
          Free format text field into which the user can enter the details of the description.
 java.lang.String dutyTechnicianEmail
          This is the name of the duty technician who was on duty at the time that the fault occurred
 java.lang.String dutyTechnicianName
          This is the name of the duty engineer
 java.lang.String dutyTechnicianSurname
          Surname of the duty engineer
 java.lang.String enteredByEmail
          This is the name of the person which has entered the fault.
 java.lang.String enteredByName
          This is the name of the person that entered the fault
 java.lang.String enteredBySurname
          Surname of the person that entered the fault
 boolean faultOpen
          Whether the fault it open or not
 java.lang.String faultType
          This is the type of fault which is the language of the current locale.
 java.lang.String faultType_id
           
 int id
          This is the identifier which is associated with the fault.
 java.lang.String instrument
          This is the name of the instrument which is associated with the fault which is in the language of the locale
 java.lang.String instrument_id
           
 long lastModified
          This is the time that the fault was last modified
 java.lang.String observer
          This is the name of the observer who was observing at the time that the fault occurred.
 java.lang.String person
          This is the person which entered by the fault
 int priority
          This is the priority which has been assigned to the fault
 java.lang.String severity
          This is the perceived severity of the fault which is the language of the current locale
 java.lang.String severity_id
           
 java.lang.String site
          This is the site at which the fault occurred
 java.lang.String site_id
           
 java.lang.String state
          This is the current state of the fault which is the language of the current locale
 java.lang.String state_id
           
 java.lang.String supportAstronomerEmail
          This is the e-mail address of the support astronomer who was on duty at the time that the fault occurred
 java.lang.String supportAstronomerName
          This is the name of the support astronomer
 java.lang.String supportAstronomerSurname
          Surname of the support astronomer
 java.lang.String system
          This is the system which is associated with the fault which is the language of the current locale
 java.lang.String system_id
           
 java.lang.String telescopeOperatorEmail
          This is the e-mail address of the telescope operator who was on duty at the time that the fault occurred
 java.lang.String telescopeOperatorName
          This is the name of the TO
 java.lang.String telescopeOperatorSurname
          Surname of the TO
 java.lang.String timeEntered
          This is the time at which the fault was entered into the database
 java.lang.String timeLost
          This is the amount of time which was lost to the fault
 java.lang.String timeOccured
          This is the time which the fault occurred
 java.lang.String title
          This is the title which is associated with the fault.
 java.lang.String totalTimeSpentOnFault
          Total time spent on fault
 boolean userWantsEmailUpdates
          Whether the perform who is entering the fault is interested in updates to the fault
 
Constructor Summary
Fault()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastModified

public long lastModified
This is the time that the fault was last modified


userWantsEmailUpdates

public boolean userWantsEmailUpdates
Whether the perform who is entering the fault is interested in updates to the fault


id

public int id
This is the identifier which is associated with the fault. This is the primary key for the fault and is commonly known as the defect report number.


description

public java.lang.String description
Free format text field into which the user can enter the details of the description.


title

public java.lang.String title
This is the title which is associated with the fault.


timeOccured

public java.lang.String timeOccured
This is the time which the fault occurred


faultOpen

public boolean faultOpen
Whether the fault it open or not


dateOccured

public java.lang.String dateOccured
This is the date that the fault occurred


timeEntered

public java.lang.String timeEntered
This is the time at which the fault was entered into the database


dateEntered

public java.lang.String dateEntered
This is the date that the entry was made


totalTimeSpentOnFault

public java.lang.String totalTimeSpentOnFault
Total time spent on fault


timeLost

public java.lang.String timeLost
This is the amount of time which was lost to the fault


priority

public int priority
This is the priority which has been assigned to the fault


assignedToEmail

public java.lang.String assignedToEmail
This is the e-mail address of the person who has been assigned default to fix


telescopeOperatorEmail

public java.lang.String telescopeOperatorEmail
This is the e-mail address of the telescope operator who was on duty at the time that the fault occurred


site

public java.lang.String site
This is the site at which the fault occurred


site_id

public java.lang.String site_id

observer

public java.lang.String observer
This is the name of the observer who was observing at the time that the fault occurred. This is a free format text field as we will never actually be able to store all of the names of all of the visiting observers in the database


system

public java.lang.String system
This is the system which is associated with the fault which is the language of the current locale


system_id

public java.lang.String system_id

state

public java.lang.String state
This is the current state of the fault which is the language of the current locale


state_id

public java.lang.String state_id

instrument

public java.lang.String instrument
This is the name of the instrument which is associated with the fault which is in the language of the locale


instrument_id

public java.lang.String instrument_id

faultType

public java.lang.String faultType
This is the type of fault which is the language of the current locale. For example this could be a software fault or a mechanical fault


faultType_id

public java.lang.String faultType_id

dutyTechnicianEmail

public java.lang.String dutyTechnicianEmail
This is the name of the duty technician who was on duty at the time that the fault occurred


supportAstronomerEmail

public java.lang.String supportAstronomerEmail
This is the e-mail address of the support astronomer who was on duty at the time that the fault occurred


enteredByEmail

public java.lang.String enteredByEmail
This is the name of the person which has entered the fault. Anybody can enter a fault hence the fact that it is not reliant on another table to contain the permissible names (which is a shame)


assignedDate

public java.lang.String assignedDate
This is the date that the fault was assigned


severity

public java.lang.String severity
This is the perceived severity of the fault which is the language of the current locale


severity_id

public java.lang.String severity_id

person

public java.lang.String person
This is the person which entered by the fault


telescopeOperatorSurname

public java.lang.String telescopeOperatorSurname
Surname of the TO


telescopeOperatorName

public java.lang.String telescopeOperatorName
This is the name of the TO


supportAstronomerSurname

public java.lang.String supportAstronomerSurname
Surname of the support astronomer


supportAstronomerName

public java.lang.String supportAstronomerName
This is the name of the support astronomer


dutyTechnicianSurname

public java.lang.String dutyTechnicianSurname
Surname of the duty engineer


dutyTechnicianName

public java.lang.String dutyTechnicianName
This is the name of the duty engineer


assignedToSurname

public java.lang.String assignedToSurname
Surname of the person that the fault was assigned to


assignedToName

public java.lang.String assignedToName
This is the name of the person that the fault was assigned to


enteredBySurname

public java.lang.String enteredBySurname
Surname of the person that entered the fault


enteredByName

public java.lang.String enteredByName
This is the name of the person that entered the fault

Constructor Detail

Fault

public Fault()