com.adventnet.adaptors.html
Class ClientProperties

java.lang.Object
  extended by com.adventnet.adaptors.html.ClientProperties

public class ClientProperties
extends java.lang.Object

This class will have all the properties of a client. At present it is having two properties (refreshTime, fileter), later based on the requirement, we can add more.


Constructor Summary
ClientProperties()
          Default constructor
 
Method Summary
 boolean getAuthentication()
           
 java.lang.String getFilter()
          Getter for the filter name.
 boolean getMode()
          Getter fir dynamicHtmlGen.
 int getRefreshTime()
          Getter for refresh time.
 java.lang.String getUserName()
           
 void setAuthentication(boolean isAuth)
           
 void setFilter(java.lang.String filter)
          Setter for the filter name.
 void setMode(boolean flag)
          Setter for dynamicHtmlGen.
 void setRefreshTime(int time)
          Setter for refresh time.
 void setUserName(java.lang.String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientProperties

public ClientProperties()
Default constructor

Method Detail

setAuthentication

public void setAuthentication(boolean isAuth)

setUserName

public void setUserName(java.lang.String user)

getUserName

public java.lang.String getUserName()

getAuthentication

public boolean getAuthentication()

setRefreshTime

public void setRefreshTime(int time)
Setter for refresh time.

Parameters:
time - the refresh time value.

getRefreshTime

public int getRefreshTime()
Getter for refresh time.

Returns:
the refresh time value.

setFilter

public void setFilter(java.lang.String filter)
Setter for the filter name.

Parameters:
filter - the filter name.

getFilter

public java.lang.String getFilter()
Getter for the filter name.

Returns:
the filter name.

setMode

public void setMode(boolean flag)
Setter for dynamicHtmlGen.

Parameters:
flag - to say about the html generation mode

getMode

public boolean getMode()
Getter fir dynamicHtmlGen.

Returns:
the value of dynamicHtmlGen.