Class WorkflowLink
java.lang.Object
com.hybris.backoffice.workflow.designer.pojo.WorkflowLink
- All Implemented Interfaces:
WorkflowEntity
Represents Workflow Link
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetModel()inthashCode()booleanstatic WorkflowLinkofSavedModel(LinkModel linkModel) Creates instance based on the savedLinkModel.static WorkflowLinkofUnsavedModel(LinkModel linkModel, boolean andConnection) Creates instance based on the un-savedLinkModel.
-
Method Details
-
ofSavedModel
Creates instance based on the savedLinkModel. TheisAndConnection()property will be resolved automatically from the model- Parameters:
linkModel- model for which the object will be created- Returns:
- created object.
-
ofUnsavedModel
Creates instance based on the un-savedLinkModel. TheisAndConnection()property has to be passed as the model is not persisted and does not have access toItem.setAttribute(String, Object).- Parameters:
linkModel- model for which the object will be createdandConnection- if the model should be treated as 'andConnection' link- Returns:
- created object.
-
getModel
- Specified by:
getModelin interfaceWorkflowEntity- Returns:
- model of
WorkflowEntity
-
isAndConnection
public boolean isAndConnection() -
getSource
- Returns:
- source of the link
-
getTarget
- Returns:
- target of the link
-
equals
-
hashCode
public int hashCode()
-