Package org.teiid.adminapi.impl
Class TransactionMetadata
- java.lang.Object
-
- org.teiid.adminapi.impl.AdminObjectImpl
-
- org.teiid.adminapi.impl.TransactionMetadata
-
- All Implemented Interfaces:
Serializable,AdminObject,DomainAware,Transaction
public class TransactionMetadata extends AdminObjectImpl implements Transaction
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.teiid.adminapi.impl.AdminObjectImpl
attachments
-
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
-
-
Constructor Summary
Constructors Constructor Description TransactionMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAssociatedSession()Get the session associated with the this transaction.longgetCreatedTime()Get the local creation time.StringgetId()Returns the Xid string for GLOBAL transactions or the Transaction id string LOCAL/REQUEST.StringgetScope()Get the scope for the transaction.voidsetAssociatedSession(String associatedSession)voidsetCreatedTime(long time)voidsetId(String id)voidsetScope(String scope)StringtoString()-
Methods inherited from class org.teiid.adminapi.impl.AdminObjectImpl
addAttachment, addAttchment, addProperty, getAttachment, getHostName, getName, getProperties, getPropertiesMap, getPropertyValue, getServerGroup, getServerName, removeAttachment, removeProperty, setHostName, setName, setProperties, setServerGroup, setServerName
-
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
getName, getProperties, getPropertyValue
-
Methods inherited from interface org.teiid.adminapi.DomainAware
getHostName, getServerGroup, getServerName
-
-
-
-
Method Detail
-
getAssociatedSession
public String getAssociatedSession()
Description copied from interface:TransactionGet the session associated with the this transaction. May be null for an unassociated Global transaction.- Specified by:
getAssociatedSessionin interfaceTransaction- Returns:
-
setAssociatedSession
public void setAssociatedSession(String associatedSession)
-
getScope
public String getScope()
Description copied from interface:TransactionGet the scope for the transaction. Will be one of GLOBAL, LOCAL, REQUEST or INHERITED- Specified by:
getScopein interfaceTransaction- Returns:
-
setScope
public void setScope(String scope)
-
getId
public String getId()
Description copied from interface:TransactionReturns the Xid string for GLOBAL transactions or the Transaction id string LOCAL/REQUEST.- Specified by:
getIdin interfaceTransaction- Returns:
-
setId
public void setId(String id)
-
getCreatedTime
public long getCreatedTime()
Description copied from interface:TransactionGet the local creation time.- Specified by:
getCreatedTimein interfaceTransaction- Returns:
-
setCreatedTime
public void setCreatedTime(long time)
-
-