public class RoutingSlipUtil extends AbstractJaxbUtil
| Modifier and Type | Method and Description |
|---|---|
DynamicAssignment |
cloneDynamicAssignmentType(DynamicAssignmentType original)
Creates a clone of the specified DynamicAssignmentType.
|
static java.util.List<java.lang.Object> |
cloneListsType(java.util.List<java.lang.Object> originalListsTypeList)
Method to clone List
|
RoutingSlip |
createRoutingSlipFromType(RoutingSlipType routingSlipType)
Create RoutingSlip from RoutingSlipType
|
static ObjectFactory |
getFactory()
Gets an instance of the ObjectFactory for RoutingSlip model classes
|
static RoutingSlipUtil |
getInstance()
Get the RoutingSlipUtil instance
|
java.lang.String |
getJaxbContextString()
Get the Jaxb Context String
|
static java.lang.Object |
getListObject(ListType listType)
Get List Object from ListType.
|
static void |
getParticipantObjectListByType(java.util.List<java.lang.Object> participantList, java.lang.Class participantType, java.util.List<java.lang.Object> sameParticipantTypeList)
Get a list of all objects of the same
ParticipantsType |
static java.lang.String |
getRulesetNameInListBuilder(ListType listType)
Obtain ruleset name from ListType.
|
static void |
getRulesetNameListFromRoutingSlip(java.util.List<java.lang.Object> participantList, java.util.Collection<java.lang.String> rulesetNameCollection)
Method to obtain all ruleset names from the RoutingSlip.
|
java.lang.String |
getSchemaLocation()
Get the XSD location.
|
cloneObject, cloneObject, createURL, getAbsoluteSchemaLocation, getClassLoader, getSchemaValidationErrors, marshal, marshal, marshal, marshal, schemaValidate, toElement, toString, unmarshal, unmarshal, unmarshal, unmarshal, unmarshalpublic java.lang.String getJaxbContextString()
getJaxbContextString in class AbstractJaxbUtilString valuepublic java.lang.String getSchemaLocation()
getSchemaLocation in class AbstractJaxbUtilString valuepublic static RoutingSlipUtil getInstance()
RoutingSlipUtil valuepublic static ObjectFactory getFactory()
public DynamicAssignment cloneDynamicAssignmentType(DynamicAssignmentType original) throws java.lang.Exception
original -java.lang.Exceptionpublic RoutingSlip createRoutingSlipFromType(RoutingSlipType routingSlipType) throws WorkflowException
routingSlipType - The RoutingSlipType objectWorkflowException
public static void getRulesetNameListFromRoutingSlip(java.util.List<java.lang.Object> participantList,
java.util.Collection<java.lang.String> rulesetNameCollection)
participantList - Participants element from the RoutingSliprulesetNameCollection - An empty Collection can be used as a place holder to hold all ruleset names parsed from the RoutingSlip.WorkflowExceptionpublic static java.lang.String getRulesetNameInListBuilder(ListType listType)
listType -WorkflowExceptionpublic static java.lang.Object getListObject(ListType listType)
listType -public static java.util.List<java.lang.Object> cloneListsType(java.util.List<java.lang.Object> originalListsTypeList)
originalListsTypeList -
public static void getParticipantObjectListByType(java.util.List<java.lang.Object> participantList,
java.lang.Class participantType,
java.util.List<java.lang.Object> sameParticipantTypeList)
ParticipantsTypeparticipantList - A list of Participants obtained from ParticipantsType using getParticipantOrSequentialParticipantOrAdhoc()participantType - such as ParticipantsType.ForEach, ParticipantsType.Parallel,etc.sameParticipantTypeList - An empty Object List holder which will be populated with all objects of the same participant type.WorkflowException