Class WorkflowElementIdentifierFactory

java.lang.Object
org.jbpm.ruleflow.core.WorkflowElementIdentifierFactory
All Implemented Interfaces:
Comparable<org.kie.api.definition.process.WorkflowElementIdentifier>, org.kie.api.definition.process.WorkflowElementIdentifier

public class WorkflowElementIdentifierFactory extends Object implements org.kie.api.definition.process.WorkflowElementIdentifier
  • Constructor Details

    • WorkflowElementIdentifierFactory

      public WorkflowElementIdentifierFactory(String elementId)
  • Method Details

    • fromExternalFormat

      public static org.kie.api.definition.process.WorkflowElementIdentifier fromExternalFormat(Long elementId)
    • fromExternalFormat

      public static org.kie.api.definition.process.WorkflowElementIdentifier fromExternalFormat(String elementId)
    • newRandom

      public static org.kie.api.definition.process.WorkflowElementIdentifier newRandom()
    • toValue

      public <T> T toValue()
      Specified by:
      toValue in interface org.kie.api.definition.process.WorkflowElementIdentifier
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.kie.api.definition.process.WorkflowElementIdentifier
      Overrides:
      hashCode in class Object
    • toExternalFormat

      public String toExternalFormat()
      Specified by:
      toExternalFormat in interface org.kie.api.definition.process.WorkflowElementIdentifier
    • compareTo

      public int compareTo(org.kie.api.definition.process.WorkflowElementIdentifier o)
      Specified by:
      compareTo in interface Comparable<org.kie.api.definition.process.WorkflowElementIdentifier>
      Specified by:
      compareTo in interface org.kie.api.definition.process.WorkflowElementIdentifier
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.kie.api.definition.process.WorkflowElementIdentifier
      Overrides:
      equals in class Object
    • toSanitizeString

      public String toSanitizeString()
      Specified by:
      toSanitizeString in interface org.kie.api.definition.process.WorkflowElementIdentifier