test_class.file: commons/flow/src/test/java/org/openehealth/ipf/commons/flow/domain/FlowTest.java
test_class.identifier: FlowTest
test_case.body: @Test
  	public void testIsReplayable() throws Exception {
          Flow flow = createFlow("blah", 1);
          flow.setAckCountExpected(1);
  		assertTrue(flow.isReplayable());
  		flow.acknowledge("0.0", true);
  		assertFalse(flow.isReplayable());
  	}
test_case.class_method_signature: FlowTest.testIsReplayable()
test_case.full_signature: @Test public void testIsReplayable()
test_case.identifier: testIsReplayable
test_case.invocations: createFlow setAckCountExpected assertTrue isReplayable acknowledge assertFalse isReplayable
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsReplayable()
focal_class.declarator: identifier
focal_class.modifier: @Id
      @Column(name="C_ID")
      @DocumentId
      private
focal_class.original_string: @Id
      @Column(name="C_ID")
      @DocumentId
      private Long identifier;
focal_class.type: Long
focal_class.var_name: identifier
focal_class.declarator: application
focal_class.modifier: @Column(name="C_APPLICATION")
      @Index(name="C_APPLICATION_IDX")
      private
focal_class.original_string: @Column(name="C_APPLICATION")
      @Index(name="C_APPLICATION_IDX")
      private String application;
focal_class.type: String
focal_class.var_name: application
focal_class.declarator: packet
focal_class.modifier: @Lob
      @Column(name="C_PACKET", length=Integer.MAX_VALUE)
      private
focal_class.original_string: @Lob
      @Column(name="C_PACKET", length=Integer.MAX_VALUE)
      private Blob packet;
focal_class.type: Blob
focal_class.var_name: packet
focal_class.declarator: creationTime
focal_class.modifier: @Column(name="C_CREATION_TIME")
      private
focal_class.original_string: @Column(name="C_CREATION_TIME")
      private Date creationTime;
focal_class.type: Date
focal_class.var_name: creationTime
focal_class.declarator: replayTime
focal_class.modifier: @Column(name="C_REPLAY_TIME")
      private
focal_class.original_string: @Column(name="C_REPLAY_TIME")
      private Date replayTime;
focal_class.type: Date
focal_class.var_name: replayTime
focal_class.declarator: replayCount
focal_class.modifier: @Column(name="C_REPLAY_COUNT")
      private
focal_class.original_string: @Column(name="C_REPLAY_COUNT")
      private int replayCount;
focal_class.type: int
focal_class.var_name: replayCount
focal_class.declarator: ackCountExpected
focal_class.modifier: @Column(name="C_ACK_COUNT_EXPECTED")
      private
focal_class.original_string: @Column(name="C_ACK_COUNT_EXPECTED")
      private Integer ackCountExpected;
focal_class.type: Integer
focal_class.var_name: ackCountExpected
focal_class.declarator: derivedStatus
focal_class.modifier: @Column(name="C_DERIVED_STATUS")
      private
focal_class.original_string: @Column(name="C_DERIVED_STATUS")
      private FlowStatus derivedStatus;
focal_class.type: FlowStatus
focal_class.var_name: derivedStatus
focal_class.declarator: parts
focal_class.modifier: @OneToMany(fetch=FetchType.LAZY)
      @JoinColumn(name = "C_FLOW_ID")
      @Cascade({CascadeType.ALL, CascadeType.DELETE_ORPHAN })
      private
focal_class.original_string: @OneToMany(fetch=FetchType.LAZY)
      @JoinColumn(name = "C_FLOW_ID")
      @Cascade({CascadeType.ALL, CascadeType.DELETE_ORPHAN })
      private Set<FlowPart> parts;
focal_class.type: Set<FlowPart>
focal_class.var_name: parts
focal_class.declarator: flowMessage
focal_class.modifier: @IndexedEmbedded(depth = 1)
      @OneToOne(fetch=FetchType.LAZY)
      @JoinColumn(name="FLOW_MESSAGE_ID", unique=true, nullable=true, updatable=true)
      @Cascade({CascadeType.ALL})
      private
focal_class.original_string: @IndexedEmbedded(depth = 1)
      @OneToOne(fetch=FetchType.LAZY)
      @JoinColumn(name="FLOW_MESSAGE_ID", unique=true, nullable=true, updatable=true)
      @Cascade({CascadeType.ALL})
      private FlowMessage flowMessage;
focal_class.type: FlowMessage
focal_class.var_name: flowMessage
focal_class.file: commons/flow/src/main/java/org/openehealth/ipf/commons/flow/domain/Flow.java
focal_class.identifier: Flow
focal_class.class_method_signature: Flow.Flow()
focal_class.full_signature: public  Flow()
focal_class.identifier: Flow
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Flow()
focal_class.class_method_signature: Flow.Flow(String application)
focal_class.full_signature: public  Flow(String application)
focal_class.identifier: Flow
focal_class.modifiers: public
focal_class.parameters: (String application)
focal_class.signature:  Flow(String application)
focal_class.class_method_signature: Flow.getIdentifier()
focal_class.full_signature: public Long getIdentifier()
focal_class.identifier: getIdentifier
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Long
focal_class.signature: Long getIdentifier()
focal_class.class_method_signature: Flow.setIdentifier(Long identifier)
focal_class.full_signature: public void setIdentifier(Long identifier)
focal_class.identifier: setIdentifier
focal_class.modifiers: public
focal_class.parameters: (Long identifier)
focal_class.return: void
focal_class.signature: void setIdentifier(Long identifier)
focal_class.class_method_signature: Flow.getApplication()
focal_class.full_signature: public String getApplication()
focal_class.identifier: getApplication
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getApplication()
focal_class.class_method_signature: Flow.setApplication(String application)
focal_class.full_signature: public void setApplication(String application)
focal_class.identifier: setApplication
focal_class.modifiers: public
focal_class.parameters: (String application)
focal_class.return: void
focal_class.signature: void setApplication(String application)
focal_class.class_method_signature: Flow.getPacket()
focal_class.full_signature: public byte[] getPacket()
focal_class.identifier: getPacket
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] getPacket()
focal_class.class_method_signature: Flow.setPacket(byte[] packet)
focal_class.full_signature: public void setPacket(byte[] packet)
focal_class.identifier: setPacket
focal_class.modifiers: public
focal_class.parameters: (byte[] packet)
focal_class.return: void
focal_class.signature: void setPacket(byte[] packet)
focal_class.class_method_signature: Flow.getCreationTime()
focal_class.full_signature: public Date getCreationTime()
focal_class.identifier: getCreationTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getCreationTime()
focal_class.class_method_signature: Flow.setCreationTime(Date start)
focal_class.full_signature: public void setCreationTime(Date start)
focal_class.identifier: setCreationTime
focal_class.modifiers: public
focal_class.parameters: (Date start)
focal_class.return: void
focal_class.signature: void setCreationTime(Date start)
focal_class.class_method_signature: Flow.getReplayTime()
focal_class.full_signature: public Date getReplayTime()
focal_class.identifier: getReplayTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getReplayTime()
focal_class.class_method_signature: Flow.setReplayTime(Date replayTime)
focal_class.full_signature: public void setReplayTime(Date replayTime)
focal_class.identifier: setReplayTime
focal_class.modifiers: public
focal_class.parameters: (Date replayTime)
focal_class.return: void
focal_class.signature: void setReplayTime(Date replayTime)
focal_class.class_method_signature: Flow.getReplayCount()
focal_class.full_signature: public int getReplayCount()
focal_class.identifier: getReplayCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getReplayCount()
focal_class.class_method_signature: Flow.setReplayCount(int replayCount)
focal_class.full_signature: public void setReplayCount(int replayCount)
focal_class.identifier: setReplayCount
focal_class.modifiers: public
focal_class.parameters: (int replayCount)
focal_class.return: void
focal_class.signature: void setReplayCount(int replayCount)
focal_class.class_method_signature: Flow.incrementReplayCount()
focal_class.full_signature: public void incrementReplayCount()
focal_class.identifier: incrementReplayCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void incrementReplayCount()
focal_class.class_method_signature: Flow.getAckCountExpected()
focal_class.full_signature: public int getAckCountExpected()
focal_class.identifier: getAckCountExpected
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getAckCountExpected()
focal_class.class_method_signature: Flow.setAckCountExpected(int ackCountExpected)
focal_class.full_signature: public void setAckCountExpected(int ackCountExpected)
focal_class.identifier: setAckCountExpected
focal_class.modifiers: public
focal_class.parameters: (int ackCountExpected)
focal_class.return: void
focal_class.signature: void setAckCountExpected(int ackCountExpected)
focal_class.class_method_signature: Flow.getDerivedStatus()
focal_class.full_signature: public FlowStatus getDerivedStatus()
focal_class.identifier: getDerivedStatus
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: FlowStatus
focal_class.signature: FlowStatus getDerivedStatus()
focal_class.class_method_signature: Flow.setDerivedStatus(FlowStatus derivedStatus)
focal_class.full_signature: public void setDerivedStatus(FlowStatus derivedStatus)
focal_class.identifier: setDerivedStatus
focal_class.modifiers: public
focal_class.parameters: (FlowStatus derivedStatus)
focal_class.return: void
focal_class.signature: void setDerivedStatus(FlowStatus derivedStatus)
focal_class.class_method_signature: Flow.getParts()
focal_class.full_signature: public Set<FlowPart> getParts()
focal_class.identifier: getParts
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<FlowPart>
focal_class.signature: Set<FlowPart> getParts()
focal_class.class_method_signature: Flow.getPart(String path, FlowStatus status)
focal_class.full_signature: public FlowPart getPart(String path, FlowStatus status)
focal_class.identifier: getPart
focal_class.modifiers: public
focal_class.parameters: (String path, FlowStatus status)
focal_class.return: FlowPart
focal_class.signature: FlowPart getPart(String path, FlowStatus status)
focal_class.class_method_signature: Flow.getPart(String path)
focal_class.full_signature: public FlowPart getPart(String path)
focal_class.identifier: getPart
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: FlowPart
focal_class.signature: FlowPart getPart(String path)
focal_class.class_method_signature: Flow.getFlowMessage()
focal_class.full_signature:  FlowMessage getFlowMessage()
focal_class.identifier: getFlowMessage
focal_class.parameters: ()
focal_class.return: FlowMessage
focal_class.signature: FlowMessage getFlowMessage()
focal_class.class_method_signature: Flow.getFlowMessageText()
focal_class.full_signature: public String getFlowMessageText()
focal_class.identifier: getFlowMessageText
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFlowMessageText()
focal_class.class_method_signature: Flow.setFlowMessageText(String message)
focal_class.full_signature: public void setFlowMessageText(String message)
focal_class.identifier: setFlowMessageText
focal_class.modifiers: public
focal_class.parameters: (String message)
focal_class.return: void
focal_class.signature: void setFlowMessageText(String message)
focal_class.class_method_signature: Flow.isAckCountExpectationSet()
focal_class.full_signature: public boolean isAckCountExpectationSet()
focal_class.identifier: isAckCountExpectationSet
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAckCountExpectationSet()
focal_class.class_method_signature: Flow.isAckCountExpectedReached()
focal_class.full_signature: public boolean isAckCountExpectedReached()
focal_class.identifier: isAckCountExpectedReached
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAckCountExpectedReached()
focal_class.class_method_signature: Flow.getStatusCount(FlowStatus status)
focal_class.full_signature: public int getStatusCount(FlowStatus status)
focal_class.identifier: getStatusCount
focal_class.modifiers: public
focal_class.parameters: (FlowStatus status)
focal_class.return: int
focal_class.signature: int getStatusCount(FlowStatus status)
focal_class.class_method_signature: Flow.getStatus()
focal_class.full_signature: public FlowStatus getStatus()
focal_class.identifier: getStatus
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: FlowStatus
focal_class.signature: FlowStatus getStatus()
focal_class.class_method_signature: Flow.clearErrorStatus()
focal_class.full_signature: public void clearErrorStatus()
focal_class.identifier: clearErrorStatus
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearErrorStatus()
focal_class.class_method_signature: Flow.getLatestUpdate()
focal_class.full_signature: public Date getLatestUpdate()
focal_class.identifier: getLatestUpdate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getLatestUpdate()
focal_class.class_method_signature: Flow.getPartDuration(FlowPart part)
focal_class.full_signature: public long getPartDuration(FlowPart part)
focal_class.identifier: getPartDuration
focal_class.modifiers: public
focal_class.parameters: (FlowPart part)
focal_class.return: long
focal_class.signature: long getPartDuration(FlowPart part)
focal_class.class_method_signature: Flow.acknowledge(String path, boolean cleanup)
focal_class.full_signature: public void acknowledge(String path, boolean cleanup)
focal_class.identifier: acknowledge
focal_class.modifiers: public
focal_class.parameters: (String path, boolean cleanup)
focal_class.return: void
focal_class.signature: void acknowledge(String path, boolean cleanup)
focal_class.class_method_signature: Flow.acknowledge(String path, boolean cleanup, String partMessageText)
focal_class.full_signature: public void acknowledge(String path, boolean cleanup, String partMessageText)
focal_class.identifier: acknowledge
focal_class.modifiers: public
focal_class.parameters: (String path, boolean cleanup, String partMessageText)
focal_class.return: void
focal_class.signature: void acknowledge(String path, boolean cleanup, String partMessageText)
focal_class.class_method_signature: Flow.invalidate(String path)
focal_class.full_signature: public void invalidate(String path)
focal_class.identifier: invalidate
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void invalidate(String path)
focal_class.class_method_signature: Flow.invalidate(String path, String partTextMessage)
focal_class.full_signature: public void invalidate(String path, String partTextMessage)
focal_class.identifier: invalidate
focal_class.modifiers: public
focal_class.parameters: (String path, String partTextMessage)
focal_class.return: void
focal_class.signature: void invalidate(String path, String partTextMessage)
focal_class.class_method_signature: Flow.update(String path, FlowStatus status)
focal_class.full_signature: protected FlowPart update(String path, FlowStatus status)
focal_class.identifier: update
focal_class.modifiers: protected
focal_class.parameters: (String path, FlowStatus status)
focal_class.return: FlowPart
focal_class.signature: FlowPart update(String path, FlowStatus status)
focal_class.class_method_signature: Flow.filter(String path)
focal_class.full_signature: public boolean filter(String path)
focal_class.identifier: filter
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: boolean
focal_class.signature: boolean filter(String path)
focal_class.class_method_signature: Flow.isReplayable()
focal_class.full_signature: public boolean isReplayable()
focal_class.identifier: isReplayable
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isReplayable()
focal_class.class_method_signature: Flow.prepareReplay()
focal_class.full_signature: public byte[] prepareReplay()
focal_class.identifier: prepareReplay
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] prepareReplay()
focal_class.class_method_signature: Flow.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: Flow.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Flow.getInfo()
focal_class.full_signature: public FlowInfo getInfo()
focal_class.identifier: getInfo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: FlowInfo
focal_class.signature: FlowInfo getInfo()
focal_class.class_method_signature: Flow.getInfo(boolean includeText)
focal_class.full_signature: public FlowInfo getInfo(boolean includeText)
focal_class.identifier: getInfo
focal_class.modifiers: public
focal_class.parameters: (boolean includeText)
focal_class.return: FlowInfo
focal_class.signature: FlowInfo getInfo(boolean includeText)
focal_class.class_method_signature: Flow.getInfos(List<Flow> flows)
focal_class.full_signature: public static List<FlowInfo> getInfos(List<Flow> flows)
focal_class.identifier: getInfos
focal_class.modifiers: public static
focal_class.parameters: (List<Flow> flows)
focal_class.return: List<FlowInfo>
focal_class.signature: List<FlowInfo> getInfos(List<Flow> flows)
focal_class.class_method_signature: Flow.currentTime()
focal_class.full_signature: private static Date currentTime()
focal_class.identifier: currentTime
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date currentTime()
focal_method.body: public boolean isReplayable() {
          return packet != null;
      }
focal_method.class_method_signature: Flow.isReplayable()
focal_method.full_signature: public boolean isReplayable()
focal_method.identifier: isReplayable
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isReplayable()