jBPM distribution 6.1.0.Beta4

org.jbpm.runtime.manager.impl.jpa
Class ContextMappingInfo

java.lang.Object
  extended by org.jbpm.runtime.manager.impl.jpa.ContextMappingInfo
All Implemented Interfaces:
Serializable

@Entity
public class ContextMappingInfo
extends Object
implements Serializable

Main entity for runtime manager to keep track of what context is bound to what KieSession it provides as well two queries to fetch required information.

This entity must be included in persistence.xml when "Per Process Instance" strategy is used.

See Also:
Serialized Form

Constructor Summary
ContextMappingInfo()
           
ContextMappingInfo(String contextId, Integer ksessionId, String ownerId)
           
 
Method Summary
 String getContextId()
           
 Integer getKsessionId()
           
 Long getMappingId()
           
 String getOwnerId()
           
 int getVersion()
           
 void setContextId(String contextId)
           
 void setKsessionId(Integer ksessionId)
           
 void setMappingId(Long mappingId)
           
 void setOwnerId(String ownerId)
           
 void setVersion(int version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextMappingInfo

public ContextMappingInfo()

ContextMappingInfo

public ContextMappingInfo(String contextId,
                          Integer ksessionId,
                          String ownerId)
Method Detail

getMappingId

public Long getMappingId()

setMappingId

public void setMappingId(Long mappingId)

getVersion

public int getVersion()

setVersion

public void setVersion(int version)

getContextId

public String getContextId()

setContextId

public void setContextId(String contextId)

getKsessionId

public Integer getKsessionId()

setKsessionId

public void setKsessionId(Integer ksessionId)

getOwnerId

public String getOwnerId()

setOwnerId

public void setOwnerId(String ownerId)

jBPM distribution 6.1.0.Beta4

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.