@Test public void testGetParentId() { JmsProducerId id1 = new JmsProducerId(firstId, 1); assertSame(firstId, id1.getParentId()); JmsProducerId id2 = new JmsProducerId(firstId.getConnectionId(), 1, 1); assertEquals(firstId, id2.getParentId()); }
public JmsSessionId getParentId() { if (parentId == null) { parentId = new JmsSessionId(this); } return parentId; }
JmsProducerId extends JmsAbstractResourceId implements Comparable<JmsProducerId> { public JmsSessionId getParentId() { if (parentId == null) { parentId = new JmsSessionId(this); } return parentId; } }
JmsProducerId extends JmsAbstractResourceId implements Comparable<JmsProducerId> { public JmsSessionId getParentId() { if (parentId == null) { parentId = new JmsSessionId(this); } return parentId; } JmsProducerId(JmsSessionId sessionId, long producerId);  JmsProducerId(JmsProducerId id);  JmsProducerId(String connectionId, long sessionId, long producerId);  JmsProducerId(String producerKey); }
JmsProducerId extends JmsAbstractResourceId implements Comparable<JmsProducerId> { public JmsSessionId getParentId() { if (parentId == null) { parentId = new JmsSessionId(this); } return parentId; } JmsProducerId(JmsSessionId sessionId, long producerId);  JmsProducerId(JmsProducerId id);  JmsProducerId(String connectionId, long sessionId, long producerId);  JmsProducerId(String producerKey); JmsSessionId getParentId(); String getConnectionId(); long getValue(); long getSessionId(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object o); @Override int compareTo(JmsProducerId other); }
JmsProducerId extends JmsAbstractResourceId implements Comparable<JmsProducerId> { public JmsSessionId getParentId() { if (parentId == null) { parentId = new JmsSessionId(this); } return parentId; } JmsProducerId(JmsSessionId sessionId, long producerId);  JmsProducerId(JmsProducerId id);  JmsProducerId(String connectionId, long sessionId, long producerId);  JmsProducerId(String producerKey); JmsSessionId getParentId(); String getConnectionId(); long getValue(); long getSessionId(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object o); @Override int compareTo(JmsProducerId other);  }