com.metamatrix.admin.objects
Class MMRequest

java.lang.Object
  extended by com.metamatrix.admin.objects.MMAdminObject
      extended by com.metamatrix.admin.objects.MMRequest
All Implemented Interfaces:
AdminObject, Request, java.io.Serializable

public class MMRequest
extends MMAdminObject
implements Request

Dataholder for information about Requests.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.admin.objects.MMAdminObject
deployed, enabled, identifier, identifierParts, name, OBJECT_TYPE_CACHE, OBJECT_TYPE_CONNECTOR_BINDING, OBJECT_TYPE_CONNECTOR_TYPE, OBJECT_TYPE_DQP, OBJECT_TYPE_ENTITLEMENT, OBJECT_TYPE_EXTENSION_MODULE, OBJECT_TYPE_GROUP, OBJECT_TYPE_HOST, OBJECT_TYPE_LOG_CONFIGURATION, OBJECT_TYPE_MODEL, OBJECT_TYPE_PROCESS_OBJECT, OBJECT_TYPE_PROPERTY_DEFINITION, OBJECT_TYPE_QUEUE_WORKER_POOL, OBJECT_TYPE_REQUEST, OBJECT_TYPE_RESOURCE, OBJECT_TYPE_ROLE, OBJECT_TYPE_SERVICE, OBJECT_TYPE_SESSION, OBJECT_TYPE_SYSTEM_OBJECT, OBJECT_TYPE_TRANSACTION, OBJECT_TYPE_USER, OBJECT_TYPE_VDB, OBJECTS_PACKAGE, registered, serialVersionUID
 
Fields inherited from interface com.metamatrix.admin.api.objects.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Constructor Summary
MMRequest(java.lang.String[] identifierParts)
          Construct a new MMRequest
 
Method Summary
 java.lang.String getConnectorBindingName()
           
 java.util.Date getCreated()
           
 java.lang.String getCreatedString()
           
 java.lang.String getNodeID()
          If this is a source request then this represents the node id
 java.util.Date getProcessingDate()
          Get the Date processing began for the Request
 java.lang.String getProcessingDateString()
          Get the Date processing began for the Request, as a String
 java.lang.String getRequestID()
          Get the RequestID for a Request
 java.lang.String getSessionID()
          Get the SessionID for a Request
 java.lang.String getSqlCommand()
          Get the SQL Command sent to the Server for a Request
 java.lang.String getTransactionID()
          Get the TransactionID of the Request
 java.lang.String getUserName()
          Get the UserName of the Request
 boolean isSource()
           
 void setConnectorBindingName(java.lang.String connectorBindingName)
           
 void setCreated(java.util.Date created)
           
 void setNodeID(java.lang.String nodeID)
          If this is a source request then this represents the node id
 void setProcessingDate(java.util.Date processingDate)
           
 void setSessionID(java.lang.String sessionID)
           
 void setSource(boolean value)
          Set if the request is source request
 void setSqlCommand(java.lang.String sqlCommand)
           
 void setTransactionID(java.lang.String transactionID)
           
 void setUserName(java.lang.String userName)
           
 java.lang.String toString()
          Get MetaMatrix Object as a String
 
Methods inherited from class com.metamatrix.admin.objects.MMAdminObject
buildIdentifier, buildIdentifierArray, buildIdentifierList, getCreatedBy, getCreatedDate, getIdentifier, getIdentifierArray, getLastChangedBy, getLastChangedDate, getLastUpdated, getLastUpdatedBy, getName, getNameFromIdentifier, getObjectType, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isDeployed, isEnabled, isRegistered, setCreatedBy, setDeployed, setEnabled, setIdentifier, setLastUpdated, setLastUpdatedBy, setProperties, setRegistered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.metamatrix.admin.api.objects.AdminObject
getIdentifier, getName, getProperties, getPropertyValue
 

Constructor Detail

MMRequest

public MMRequest(java.lang.String[] identifierParts)
Construct a new MMRequest

Parameters:
identifierParts -
Since:
4.3
Method Detail

getCreated

public java.util.Date getCreated()
Specified by:
getCreated in interface Request
Overrides:
getCreated in class MMAdminObject
Returns:
Date the request was created
Since:
4.3

getCreatedString

public java.lang.String getCreatedString()
Returns:
Date the request was created, as a String
Since:
4.3

getRequestID

public java.lang.String getRequestID()
Get the RequestID for a Request

Specified by:
getRequestID in interface Request
Returns:
RequestID

getSessionID

public java.lang.String getSessionID()
Get the SessionID for a Request

Specified by:
getSessionID in interface Request
Returns:
long SessionID

getSqlCommand

public java.lang.String getSqlCommand()
Get the SQL Command sent to the Server for a Request

Specified by:
getSqlCommand in interface Request
Returns:
MetaMatrix SQL Command

getProcessingDate

public java.util.Date getProcessingDate()
Get the Date processing began for the Request

Specified by:
getProcessingDate in interface Request
Returns:
Date processing began for the request

getProcessingDateString

public java.lang.String getProcessingDateString()
Get the Date processing began for the Request, as a String

Returns:
Date processing began for the request

getTransactionID

public java.lang.String getTransactionID()
Get the TransactionID of the Request

Specified by:
getTransactionID in interface Request
Returns:
String of TransactionID if in a transaction

getUserName

public java.lang.String getUserName()
Get the UserName of the Request

Specified by:
getUserName in interface Request
Returns:
String username for the Request

setCreated

public void setCreated(java.util.Date created)
Overrides:
setCreated in class MMAdminObject
Parameters:
created - The date created.
Since:
4.3

setSessionID

public void setSessionID(java.lang.String sessionID)
Parameters:
sessionID - The sessionID to set.
Since:
4.3

setSqlCommand

public void setSqlCommand(java.lang.String sqlCommand)
Parameters:
sqlCommand - The sqlCommand to set.
Since:
4.3

setProcessingDate

public void setProcessingDate(java.util.Date processingDate)
Parameters:
processingDate - The date processing began.
Since:
4.3

setTransactionID

public void setTransactionID(java.lang.String transactionID)
Parameters:
transactionID - The transactionID to set.
Since:
4.3

setUserName

public void setUserName(java.lang.String userName)
Parameters:
userName - The userName to set.
Since:
4.3

getConnectorBindingName

public java.lang.String getConnectorBindingName()
Specified by:
getConnectorBindingName in interface Request
Returns:
Returns the connectorBindingName.
Since:
4.3

setConnectorBindingName

public void setConnectorBindingName(java.lang.String connectorBindingName)
Parameters:
connectorBindingName - The connectorBindingName to set.
Since:
4.3

isSource

public boolean isSource()
Specified by:
isSource in interface Request
Returns:
Returns whether this is a Source Request.
Since:
4.3

setSource

public void setSource(boolean value)
Set if the request is source request

Parameters:
value -
Since:
4.3

getNodeID

public java.lang.String getNodeID()
If this is a source request then this represents the node id

Specified by:
getNodeID in interface Request
Returns:
Returns the nodeID.
Since:
4.3

setNodeID

public void setNodeID(java.lang.String nodeID)
If this is a source request then this represents the node id

Parameters:
nodeID - The nodeID to set.
Since:
4.3

toString

public java.lang.String toString()
Description copied from class: MMAdminObject
Get MetaMatrix Object as a String

Specified by:
toString in class MMAdminObject
Returns:
String for display purposes
See Also:
Object.toString()


Copyright © 2009. All Rights Reserved.