com.metamatrix.admin.objects
Class MMDQP

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

public class MMDQP
extends MMAdminObject
implements DQP

A Connector Binding is a Connector Type with properties that have been bond to a Connector. May are may not be assigned to a VDB

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.admin.objects.MMAdminObject
deployed, enabled, identifier, identifierParts, name, registered
 
Fields inherited from interface com.metamatrix.admin.api.DQP
STATE_CLOSED, STATE_DATA_SOURCE_UNAVAILABLE, STATE_FAILED, STATE_INIT_FAILED, STATE_NOT_DEPLOYED, STATE_NOT_INITIALIZED, STATE_NOT_REGISTERED, STATE_OPEN
 
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Constructor Summary
MMDQP(java.lang.String[] identifierParts)
          Constructor.
 
Method Summary
 java.lang.String getDescription()
          Returns the description
 java.lang.String getHostName()
           
 java.lang.String getProcessName()
           
 long getServiceID()
           
 int getState()
          Retrieve the current connector state.
 java.lang.String getStateAsString()
          Retrieve the current connector state.
 java.util.Date getStateChangedTime()
          Retrieve time of last state change.
 void setDescription(java.lang.String description)
          Set the description
 void setServiceID(long serviceID)
           
 void setState(int state)
          Set the state
 void setStateChangedTime(java.util.Date stateChangedTime)
          Set the state changed time
 java.lang.String toString()
          Get MetaMatrix Object as a String
 
Methods inherited from class com.metamatrix.admin.objects.MMAdminObject
buildIdentifier, buildIdentifierArray, buildIdentifierList, getCreated, getCreatedBy, getCreatedDate, getIdentifier, getIdentifierArray, getLastChangedBy, getLastChangedDate, getLastUpdated, getLastUpdatedBy, getName, getNameFromIdentifier, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isEnabled, isRegistered, setCreated, setCreatedBy, 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 org.teiid.adminapi.AdminObject
getIdentifier, getName, getProperties, getPropertyValue
 

Constructor Detail

MMDQP

public MMDQP(java.lang.String[] identifierParts)
Constructor.

Parameters:
identifierParts -
Since:
4.3
Method Detail

toString

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

Specified by:
toString in class MMAdminObject
See Also:
Object.toString()

getDescription

public java.lang.String getDescription()
Returns the description

Specified by:
getDescription in interface DQP
Returns:
description

setDescription

public void setDescription(java.lang.String description)
Set the description

Parameters:
description -

getState

public int getState()
Description copied from interface: DQP
Retrieve the current connector state. This will be one of the constants: DQP.STATE_OPEN. DQP.STATE_NOT_INITIALIZED. DQP.STATE_CLOSED. DQP.STATE_FAILED. DQP.STATE_INIT_FAILED. DQP.STATE_NOT_REGISTERED. DQP.STATE_DATA_SOURCE_UNAVAILABLE. DQP.STATE_NOT_DEPLOYED.

Specified by:
getState in interface DQP
Returns:
Returns the currentState as int.
Since:
4.3

getStateAsString

public java.lang.String getStateAsString()
Description copied from interface: DQP
Retrieve the current connector state.

Specified by:
getStateAsString in interface DQP
Returns:
Returns the currentState as String.
Since:
4.3

setState

public void setState(int state)
Set the state

Parameters:
state -
Since:
4.3

getStateChangedTime

public java.util.Date getStateChangedTime()
Description copied from interface: DQP
Retrieve time of last state change.

Specified by:
getStateChangedTime in interface DQP
Returns:
Returns time of last state change.
Since:
4.3

setStateChangedTime

public void setStateChangedTime(java.util.Date stateChangedTime)
Set the state changed time

Parameters:
stateChangedTime -
Since:
4.3

getServiceID

public long getServiceID()
Returns:
Returns the serviceID.
Since:
4.3

setServiceID

public void setServiceID(long serviceID)
Parameters:
serviceID - The serviceID to set.
Since:
4.3

getProcessName

public java.lang.String getProcessName()
Returns:
Returns the processID.
Since:
4.3

getHostName

public java.lang.String getHostName()
Returns:
Returns the hostName.
Since:
4.3


Copyright © 2009. All Rights Reserved.