com.shephertz.app42.paas.sdk.jme.log
Class Log.Message

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.log.Log.Message
Enclosing class:
Log

public class Log.Message
extends java.lang.Object

An inner class that contains the remaining properties of the Log.


Field Summary
 java.util.Date logTime
           
 java.lang.String message
           
 java.lang.String module
           
 java.lang.String type
           
 
Constructor Summary
Log.Message()
          This is a constructor that takes no parameter
 
Method Summary
 java.util.Date getLogTime()
          Returns the time the log was created.
 java.lang.String getMessage()
          Returns the message in a log.
 java.lang.String getModule()
          Returns the appModule name.
 java.lang.String getType()
          Returns the type of the message in the log.
 void setLogTime(java.util.Date logTime)
          Sets the time the log was created.
 void setMessage(java.lang.String message)
          Sets the message in a log.
 void setModule(java.lang.String appModule)
          Sets the the appModule name
 void setType(java.lang.String type)
          Sets the type of the message in the log.
 java.lang.String toString()
          Returns the Log Response in JSON format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logTime

public java.util.Date logTime

message

public java.lang.String message

module

public java.lang.String module

type

public java.lang.String type
Constructor Detail

Log.Message

public Log.Message()
This is a constructor that takes no parameter

Method Detail

getLogTime

public java.util.Date getLogTime()
Returns the time the log was created.

Returns:
the log time it was created.

getMessage

public java.lang.String getMessage()
Returns the message in a log.

Returns:
the message in a log.

getModule

public java.lang.String getModule()
Returns the appModule name.

Returns:
the appModule name

getType

public java.lang.String getType()
Returns the type of the message in the log.

Returns:
the type of the message in the log.

setLogTime

public void setLogTime(java.util.Date logTime)
Sets the time the log was created.

Parameters:
logTime - - the time the log was created.

setMessage

public void setMessage(java.lang.String message)
Sets the message in a log.

Parameters:
message - - the message in a log

setModule

public void setModule(java.lang.String appModule)
Sets the the appModule name

Parameters:
appModule - - the appModule name

setType

public void setType(java.lang.String type)
Sets the type of the message in the log.

Parameters:
type - - type of the message in the log.

toString

public java.lang.String toString()
Returns the Log Response in JSON format.

Overrides:
toString in class java.lang.Object
Returns:
the response in JSON format.