com.metamatrix.admin.objects
Class TransactionImpl
java.lang.Object
com.metamatrix.admin.objects.MMAdminObject
com.metamatrix.admin.objects.TransactionImpl
- All Implemented Interfaces:
- AdminObject, Transaction, java.io.Serializable
public class TransactionImpl
- extends MMAdminObject
- implements Transaction
- See Also:
- Serialized Form
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 |
Method Summary |
java.lang.String |
getAssociatedSession()
Get the session associated with the this transaction. |
java.lang.String |
getScope()
Get the scope for the transaction. |
java.lang.String |
getStatus()
Get the current status. |
javax.transaction.xa.Xid |
getXid()
Return the Xid of the Global transaction. |
void |
setAssociatedSession(java.lang.String associatedSession)
|
void |
setScope(java.lang.String scope)
|
void |
setStatus(java.lang.String status)
|
void |
setXid(MMXid xid)
|
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, getObjectType, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isDeployed, isEnabled, isRegistered, setCreated, 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 |
TransactionImpl
public TransactionImpl(java.lang.String... id)
getAssociatedSession
public java.lang.String getAssociatedSession()
- Description copied from interface:
Transaction
- Get the session associated with the this transaction.
May be null for an unassociated Global transaction.
- Specified by:
getAssociatedSession
in interface Transaction
- Returns:
setAssociatedSession
public void setAssociatedSession(java.lang.String associatedSession)
getScope
public java.lang.String getScope()
- Description copied from interface:
Transaction
- Get the scope for the transaction. Will be one of GLOBAL, LOCAL, or REQUEST
- Specified by:
getScope
in interface Transaction
- Returns:
setScope
public void setScope(java.lang.String scope)
getXid
public javax.transaction.xa.Xid getXid()
- Description copied from interface:
Transaction
- Return the Xid of the Global transaction. Will be null for non-Global transactions.
- Specified by:
getXid
in interface Transaction
- Returns:
setXid
public void setXid(MMXid xid)
getStatus
public java.lang.String getStatus()
- Description copied from interface:
Transaction
- Get the current status. See
Status
for
possible values.
- Specified by:
getStatus
in interface Transaction
- Returns:
setStatus
public void setStatus(java.lang.String status)
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()
Copyright © 2009. All Rights Reserved.