org.eclipse.stardust.engine.core.runtime.utils
Class ParticipantInfoUtil

java.lang.Object
  extended by org.eclipse.stardust.engine.core.runtime.utils.ParticipantInfoUtil

public class ParticipantInfoUtil
extends Object


Method Summary
static ModelParticipantInfo newModelParticipantInfo(String qualifiedParticipantId)
          Creates a new ModelParticipantInfo object from the qualified id of a participant.
static ModelParticipantInfo newModelParticipantInfo(String qualifiedParticipantId, DepartmentInfo department)
          Creates a new ModelParticipantInfo object from the qualified id of a participant.
static ModelParticipantInfo newModelParticipantInfo(String modelId, String participantId)
          Creates a new ModelParticipantInfo object from the model id and the id of a participant.
static ModelParticipantInfo newModelParticipantInfo(String modelId, String participantId, DepartmentInfo department)
          Creates a new ModelParticipantInfo object from the model id and the id of a participant.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newModelParticipantInfo

public static ModelParticipantInfo newModelParticipantInfo(String qualifiedParticipantId)
Creates a new ModelParticipantInfo object from the qualified id of a participant.

Parameters:
qualifiedParticipantId - in the format '{' + modelId + '}' + participantId.
Returns:
the corresponding ModelParticipantInfo.

newModelParticipantInfo

public static ModelParticipantInfo newModelParticipantInfo(String qualifiedParticipantId,
                                                           DepartmentInfo department)
Creates a new ModelParticipantInfo object from the qualified id of a participant.

Parameters:
qualifiedParticipantId - in the format '{' + modelId + '}' + participantId.
Returns:
the corresponding ModelParticipantInfo.

newModelParticipantInfo

public static ModelParticipantInfo newModelParticipantInfo(String modelId,
                                                           String participantId)
Creates a new ModelParticipantInfo object from the model id and the id of a participant.

Parameters:
modelId -
participantId -
Returns:
the created ModelParticipantInfo

newModelParticipantInfo

public static ModelParticipantInfo newModelParticipantInfo(String modelId,
                                                           String participantId,
                                                           DepartmentInfo department)
Creates a new ModelParticipantInfo object from the model id and the id of a participant.

Parameters:
modelId -
participantId -
department -
Returns:
the created ModelParticipantInfo


Copyright © 2017 Eclipse Stardust. All Rights Reserved.