com.partnersoft.interfaces.turtle
Class TurtleOutageSource

java.lang.Object
  extended by com.partnersoft.data.DataRecordSource
      extended by com.partnersoft.interfaces.turtle.TurtleOutageSource
All Implemented Interfaces:
Coggable, java.lang.Iterable<Naming>

public class TurtleOutageSource
extends DataRecordSource

A DataRecordSource that queries a Turtle TS2 web service for outages. Status can be left blank; if so it queries meters that are out. Otherwise it must be one of the following:

Author:
Paul Reavis Copyright 2003-2005 Partner Software, Inc.

Field Summary
 
Fields inherited from class com.partnersoft.data.DataRecordSource
showProgress, verbose
 
Constructor Summary
TurtleOutageSource()
           
 
Method Summary
 DataRecordFetcher createFetcher()
          Creates a new fetcher to gather data for a new iteration.
 java.lang.String getPassword()
          Gets the value of password
 java.lang.String getStatus()
          Gets the value of status
 java.lang.String getUrl()
          Gets the value of uRL
 java.lang.String getUserName()
          Gets the value of userName
 void setPassword(java.lang.String argPassword)
          Sets the value of password
 void setStatus(java.lang.String argStatus)
          Sets the value of status
 void setUrl(java.lang.String argurl)
          Sets the value of uRL
 void setUserName(java.lang.String argUserName)
          Sets the value of userName
 
Methods inherited from class com.partnersoft.data.DataRecordSource
clone, close, copyStateFrom, getAfterActions, getBeforeActions, getShowProgress, getState, getTransforms, isVerbose, iterator, setAfterActions, setBeforeActions, setShowProgress, setState, setTransforms, setVerbose
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TurtleOutageSource

public TurtleOutageSource()
Method Detail

createFetcher

public DataRecordFetcher createFetcher()
Description copied from class: DataRecordSource
Creates a new fetcher to gather data for a new iteration.

Specified by:
createFetcher in class DataRecordSource

getUrl

public java.lang.String getUrl()
Gets the value of uRL

Returns:
the value of uRL

setUrl

public void setUrl(java.lang.String argurl)
Sets the value of uRL

Parameters:
argurl - Value to assign to this.uRL

getUserName

public java.lang.String getUserName()
Gets the value of userName

Returns:
the value of userName

setUserName

public void setUserName(java.lang.String argUserName)
Sets the value of userName

Parameters:
argUserName - Value to assign to this.userName

getPassword

public java.lang.String getPassword()
Gets the value of password

Returns:
the value of password

setPassword

public void setPassword(java.lang.String argPassword)
Sets the value of password

Parameters:
argPassword - Value to assign to this.password

getStatus

public java.lang.String getStatus()
Gets the value of status

Returns:
the value of status

setStatus

public void setStatus(java.lang.String argStatus)
Sets the value of status

Parameters:
argStatus - Value to assign to this.status