test_class.declarator: factory = new ItemEventFactory()
test_class.modifier: private final
test_class.original_string: private final ItemEventFactory factory = new ItemEventFactory();
test_class.type: ItemEventFactory
test_class.var_name: factory
test_class.declarator: ITEM_NAME = "ItemA"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_NAME = "ItemA";
test_class.type: String
test_class.var_name: ITEM_NAME
test_class.declarator: ITEM = new SwitchItem(ITEM_NAME)
test_class.modifier: private static final
test_class.original_string: private static final Item ITEM = new SwitchItem(ITEM_NAME);
test_class.type: Item
test_class.var_name: ITEM
test_class.declarator: GROUP_NAME = "GroupA"
test_class.modifier: private static final
test_class.original_string: private static final String GROUP_NAME = "GroupA";
test_class.type: String
test_class.var_name: GROUP_NAME
test_class.declarator: SOURCE = "binding:type:id:channel"
test_class.modifier: private static final
test_class.original_string: private static final String SOURCE = "binding:type:id:channel";
test_class.type: String
test_class.var_name: SOURCE
test_class.declarator: ITEM_COMMAND_EVENT_TYPE = ItemCommandEvent.TYPE
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_COMMAND_EVENT_TYPE = ItemCommandEvent.TYPE;
test_class.type: String
test_class.var_name: ITEM_COMMAND_EVENT_TYPE
test_class.declarator: ITEM_STATE_EVENT_TYPE = ItemStateEvent.TYPE
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_STATE_EVENT_TYPE = ItemStateEvent.TYPE;
test_class.type: String
test_class.var_name: ITEM_STATE_EVENT_TYPE
test_class.declarator: ITEM_STATE_PREDICTED_EVENT_TYPE = ItemStatePredictedEvent.TYPE
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_STATE_PREDICTED_EVENT_TYPE = ItemStatePredictedEvent.TYPE;
test_class.type: String
test_class.var_name: ITEM_STATE_PREDICTED_EVENT_TYPE
test_class.declarator: ITEM_ADDED_EVENT_TYPE = ItemAddedEvent.TYPE
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_ADDED_EVENT_TYPE = ItemAddedEvent.TYPE;
test_class.type: String
test_class.var_name: ITEM_ADDED_EVENT_TYPE
test_class.declarator: GROUPITEM_CHANGED_EVENT_TYPE = GroupItemStateChangedEvent.TYPE
test_class.modifier: private static final
test_class.original_string: private static final String GROUPITEM_CHANGED_EVENT_TYPE = GroupItemStateChangedEvent.TYPE;
test_class.type: String
test_class.var_name: GROUPITEM_CHANGED_EVENT_TYPE
test_class.declarator: ITEM_COMMAND_EVENT_TOPIC = "openhab/items/" + ITEM_NAME + "/command"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_COMMAND_EVENT_TOPIC = "openhab/items/" + ITEM_NAME + "/command";
test_class.type: String
test_class.var_name: ITEM_COMMAND_EVENT_TOPIC
test_class.declarator: ITEM_STATE_EVENT_TOPIC = "openhab/items/" + ITEM_NAME + "/state"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_STATE_EVENT_TOPIC = "openhab/items/" + ITEM_NAME + "/state";
test_class.type: String
test_class.var_name: ITEM_STATE_EVENT_TOPIC
test_class.declarator: ITEM_STATE_PREDICTED_EVENT_TOPIC = "openhab/items/" + ITEM_NAME + "/statepredicted"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_STATE_PREDICTED_EVENT_TOPIC = "openhab/items/" + ITEM_NAME + "/statepredicted";
test_class.type: String
test_class.var_name: ITEM_STATE_PREDICTED_EVENT_TOPIC
test_class.declarator: ITEM_ADDED_EVENT_TOPIC = "openhab/items/" + ITEM_NAME + "/added"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_ADDED_EVENT_TOPIC = "openhab/items/" + ITEM_NAME + "/added";
test_class.type: String
test_class.var_name: ITEM_ADDED_EVENT_TOPIC
test_class.declarator: GROUPITEM_STATE_CHANGED_EVENT_TOPIC = "openhab/items/" + GROUP_NAME + "/" + ITEM_NAME
              + "/statechanged"
test_class.modifier: private static final
test_class.original_string: private static final String GROUPITEM_STATE_CHANGED_EVENT_TOPIC = "openhab/items/" + GROUP_NAME + "/" + ITEM_NAME
              + "/statechanged";
test_class.type: String
test_class.var_name: GROUPITEM_STATE_CHANGED_EVENT_TOPIC
test_class.declarator: ITEM_COMMAND = OnOffType.ON
test_class.modifier: private static final
test_class.original_string: private static final Command ITEM_COMMAND = OnOffType.ON;
test_class.type: Command
test_class.var_name: ITEM_COMMAND
test_class.declarator: ITEM_COMMAND_EVENT_PAYLOAD = "{\"type\":\"OnOff\",\"value\":\"ON\"}"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_COMMAND_EVENT_PAYLOAD = "{\"type\":\"OnOff\",\"value\":\"ON\"}";
test_class.type: String
test_class.var_name: ITEM_COMMAND_EVENT_PAYLOAD
test_class.declarator: ITEM_REFRESH_COMMAND_EVENT_PAYLOAD = "{\"type\":\"Refresh\", \"value\": \"REFRESH\"}"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_REFRESH_COMMAND_EVENT_PAYLOAD = "{\"type\":\"Refresh\", \"value\": \"REFRESH\"}";
test_class.type: String
test_class.var_name: ITEM_REFRESH_COMMAND_EVENT_PAYLOAD
test_class.declarator: ITEM_UNDEF_STATE_EVENT_PAYLOAD = "{\"type\":\"UnDef\", \"value\": \"UNDEF\"}"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_UNDEF_STATE_EVENT_PAYLOAD = "{\"type\":\"UnDef\", \"value\": \"UNDEF\"}";
test_class.type: String
test_class.var_name: ITEM_UNDEF_STATE_EVENT_PAYLOAD
test_class.declarator: ITEM_STATE = OnOffType.OFF
test_class.modifier: private static final
test_class.original_string: private static final State ITEM_STATE = OnOffType.OFF;
test_class.type: State
test_class.var_name: ITEM_STATE
test_class.declarator: NEW_ITEM_STATE = OnOffType.ON
test_class.modifier: private static final
test_class.original_string: private static final State NEW_ITEM_STATE = OnOffType.ON;
test_class.type: State
test_class.var_name: NEW_ITEM_STATE
test_class.declarator: ITEM_STATE_EVENT_PAYLOAD = "{\"type\":\"OnOff\",\"value\":\"OFF\"}"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_STATE_EVENT_PAYLOAD = "{\"type\":\"OnOff\",\"value\":\"OFF\"}";
test_class.type: String
test_class.var_name: ITEM_STATE_EVENT_PAYLOAD
test_class.declarator: ITEM_STATE_PREDICTED_EVENT_PAYLOAD = "{\"predictedType\":\"OnOff\",\"predictedValue\":\"OFF\",\"isConfirmation\":\"false\"}"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_STATE_PREDICTED_EVENT_PAYLOAD = "{\"predictedType\":\"OnOff\",\"predictedValue\":\"OFF\",\"isConfirmation\":\"false\"}";
test_class.type: String
test_class.var_name: ITEM_STATE_PREDICTED_EVENT_PAYLOAD
test_class.declarator: ITEM_ADDED_EVENT_PAYLOAD = new Gson().toJson(ItemDTOMapper.map(ITEM))
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_ADDED_EVENT_PAYLOAD = new Gson().toJson(ItemDTOMapper.map(ITEM));
test_class.type: String
test_class.var_name: ITEM_ADDED_EVENT_PAYLOAD
test_class.declarator: ITEM_STATE_CHANGED_EVENT_PAYLOAD = "{\"type\":\"OnOff\", \"value\": \"ON\", \"oldType\":\"OnOff\", \"oldValue\": \"OFF\"}"
test_class.modifier: private static final
test_class.original_string: private static final String ITEM_STATE_CHANGED_EVENT_PAYLOAD = "{\"type\":\"OnOff\", \"value\": \"ON\", \"oldType\":\"OnOff\", \"oldValue\": \"OFF\"}";
test_class.type: String
test_class.var_name: ITEM_STATE_CHANGED_EVENT_PAYLOAD
test_class.declarator: RAW_ITEM_STATE = new RawType(new byte[] { 1, 2, 3, 4, 5 }, RawType.DEFAULT_MIME_TYPE)
test_class.modifier: private static final
test_class.original_string: private static final State RAW_ITEM_STATE = new RawType(new byte[] { 1, 2, 3, 4, 5 }, RawType.DEFAULT_MIME_TYPE);
test_class.type: State
test_class.var_name: RAW_ITEM_STATE
test_class.declarator: NEW_RAW_ITEM_STATE = new RawType(new byte[] { 5, 4, 3, 2, 1 },
              RawType.DEFAULT_MIME_TYPE)
test_class.modifier: private static final
test_class.original_string: private static final State NEW_RAW_ITEM_STATE = new RawType(new byte[] { 5, 4, 3, 2, 1 },
              RawType.DEFAULT_MIME_TYPE);
test_class.type: State
test_class.var_name: NEW_RAW_ITEM_STATE
test_class.file: bundles/org.openhab.core/src/test/java/org/openhab/core/items/events/ItemEventFactoryTest.java
test_class.identifier: ItemEventFactoryTest
test_case.body: @Test
      public void testCreateEventItemCommandEventRefreshType() throws Exception {
          Event event = factory.createEvent(ITEM_COMMAND_EVENT_TYPE, ITEM_COMMAND_EVENT_TOPIC,
                  ITEM_REFRESH_COMMAND_EVENT_PAYLOAD, SOURCE);
  
          assertEquals(ItemCommandEvent.class, event.getClass());
          ItemCommandEvent itemCommandEvent = (ItemCommandEvent) event;
          assertEquals(ITEM_COMMAND_EVENT_TYPE, itemCommandEvent.getType());
          assertEquals(ITEM_COMMAND_EVENT_TOPIC, itemCommandEvent.getTopic());
          assertEquals(ITEM_REFRESH_COMMAND_EVENT_PAYLOAD, itemCommandEvent.getPayload());
          assertEquals(ITEM_NAME, itemCommandEvent.getItemName());
          assertEquals(SOURCE, itemCommandEvent.getSource());
          assertEquals(RefreshType.REFRESH, itemCommandEvent.getItemCommand());
      }
test_case.class_method_signature: ItemEventFactoryTest.testCreateEventItemCommandEventRefreshType()
test_case.full_signature: @Test public void testCreateEventItemCommandEventRefreshType()
test_case.identifier: testCreateEventItemCommandEventRefreshType
test_case.invocations: createEvent assertEquals getClass assertEquals getType assertEquals getTopic assertEquals getPayload assertEquals getItemName assertEquals getSource assertEquals getItemCommand
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateEventItemCommandEventRefreshType()
focal_class.declarator: TYPE_POSTFIX = "Type"
focal_class.modifier: private static final
focal_class.original_string: private static final String TYPE_POSTFIX = "Type";
focal_class.type: String
focal_class.var_name: TYPE_POSTFIX
focal_class.declarator: CORE_LIBRARY_PACKAGE = "org.openhab.core.library.types."
focal_class.modifier: private static final
focal_class.original_string: private static final String CORE_LIBRARY_PACKAGE = "org.openhab.core.library.types.";
focal_class.type: String
focal_class.var_name: CORE_LIBRARY_PACKAGE
focal_class.declarator: ITEM_COMAND_EVENT_TOPIC = "openhab/items/{itemName}/command"
focal_class.modifier: private static final
focal_class.original_string: private static final String ITEM_COMAND_EVENT_TOPIC = "openhab/items/{itemName}/command";
focal_class.type: String
focal_class.var_name: ITEM_COMAND_EVENT_TOPIC
focal_class.declarator: ITEM_STATE_EVENT_TOPIC = "openhab/items/{itemName}/state"
focal_class.modifier: private static final
focal_class.original_string: private static final String ITEM_STATE_EVENT_TOPIC = "openhab/items/{itemName}/state";
focal_class.type: String
focal_class.var_name: ITEM_STATE_EVENT_TOPIC
focal_class.declarator: ITEM_STATE_PREDICTED_EVENT_TOPIC = "openhab/items/{itemName}/statepredicted"
focal_class.modifier: private static final
focal_class.original_string: private static final String ITEM_STATE_PREDICTED_EVENT_TOPIC = "openhab/items/{itemName}/statepredicted";
focal_class.type: String
focal_class.var_name: ITEM_STATE_PREDICTED_EVENT_TOPIC
focal_class.declarator: ITEM_STATE_CHANGED_EVENT_TOPIC = "openhab/items/{itemName}/statechanged"
focal_class.modifier: private static final
focal_class.original_string: private static final String ITEM_STATE_CHANGED_EVENT_TOPIC = "openhab/items/{itemName}/statechanged";
focal_class.type: String
focal_class.var_name: ITEM_STATE_CHANGED_EVENT_TOPIC
focal_class.declarator: GROUPITEM_STATE_CHANGED_EVENT_TOPIC = "openhab/items/{itemName}/{memberName}/statechanged"
focal_class.modifier: private static final
focal_class.original_string: private static final String GROUPITEM_STATE_CHANGED_EVENT_TOPIC = "openhab/items/{itemName}/{memberName}/statechanged";
focal_class.type: String
focal_class.var_name: GROUPITEM_STATE_CHANGED_EVENT_TOPIC
focal_class.declarator: ITEM_ADDED_EVENT_TOPIC = "openhab/items/{itemName}/added"
focal_class.modifier: private static final
focal_class.original_string: private static final String ITEM_ADDED_EVENT_TOPIC = "openhab/items/{itemName}/added";
focal_class.type: String
focal_class.var_name: ITEM_ADDED_EVENT_TOPIC
focal_class.declarator: ITEM_REMOVED_EVENT_TOPIC = "openhab/items/{itemName}/removed"
focal_class.modifier: private static final
focal_class.original_string: private static final String ITEM_REMOVED_EVENT_TOPIC = "openhab/items/{itemName}/removed";
focal_class.type: String
focal_class.var_name: ITEM_REMOVED_EVENT_TOPIC
focal_class.declarator: ITEM_UPDATED_EVENT_TOPIC = "openhab/items/{itemName}/updated"
focal_class.modifier: private static final
focal_class.original_string: private static final String ITEM_UPDATED_EVENT_TOPIC = "openhab/items/{itemName}/updated";
focal_class.type: String
focal_class.var_name: ITEM_UPDATED_EVENT_TOPIC
focal_class.file: bundles/org.openhab.core/src/main/java/org/openhab/core/items/events/ItemEventFactory.java
focal_class.identifier: ItemEventFactory
focal_class.class_method_signature: ItemEventFactory.ItemEventFactory()
focal_class.full_signature: public  ItemEventFactory()
focal_class.identifier: ItemEventFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ItemEventFactory()
focal_class.class_method_signature: ItemEventFactory.createEventByType(String eventType, String topic, String payload, String source)
focal_class.full_signature: @Override protected Event createEventByType(String eventType, String topic, String payload, String source)
focal_class.identifier: createEventByType
focal_class.modifiers: @Override protected
focal_class.parameters: (String eventType, String topic, String payload, String source)
focal_class.return: Event
focal_class.signature: Event createEventByType(String eventType, String topic, String payload, String source)
focal_class.class_method_signature: ItemEventFactory.createGroupStateChangedEvent(String topic, String payload)
focal_class.full_signature: private Event createGroupStateChangedEvent(String topic, String payload)
focal_class.identifier: createGroupStateChangedEvent
focal_class.modifiers: private
focal_class.parameters: (String topic, String payload)
focal_class.return: Event
focal_class.signature: Event createGroupStateChangedEvent(String topic, String payload)
focal_class.class_method_signature: ItemEventFactory.createCommandEvent(String topic, String payload, String source)
focal_class.full_signature: private Event createCommandEvent(String topic, String payload, String source)
focal_class.identifier: createCommandEvent
focal_class.modifiers: private
focal_class.parameters: (String topic, String payload, String source)
focal_class.return: Event
focal_class.signature: Event createCommandEvent(String topic, String payload, String source)
focal_class.class_method_signature: ItemEventFactory.createStateEvent(String topic, String payload, String source)
focal_class.full_signature: private Event createStateEvent(String topic, String payload, String source)
focal_class.identifier: createStateEvent
focal_class.modifiers: private
focal_class.parameters: (String topic, String payload, String source)
focal_class.return: Event
focal_class.signature: Event createStateEvent(String topic, String payload, String source)
focal_class.class_method_signature: ItemEventFactory.createStatePredictedEvent(String topic, String payload, String source)
focal_class.full_signature: private Event createStatePredictedEvent(String topic, String payload, String source)
focal_class.identifier: createStatePredictedEvent
focal_class.modifiers: private
focal_class.parameters: (String topic, String payload, String source)
focal_class.return: Event
focal_class.signature: Event createStatePredictedEvent(String topic, String payload, String source)
focal_class.class_method_signature: ItemEventFactory.createStateChangedEvent(String topic, String payload)
focal_class.full_signature: private Event createStateChangedEvent(String topic, String payload)
focal_class.identifier: createStateChangedEvent
focal_class.modifiers: private
focal_class.parameters: (String topic, String payload)
focal_class.return: Event
focal_class.signature: Event createStateChangedEvent(String topic, String payload)
focal_class.class_method_signature: ItemEventFactory.getState(String type, String value)
focal_class.full_signature: private State getState(String type, String value)
focal_class.identifier: getState
focal_class.modifiers: private
focal_class.parameters: (String type, String value)
focal_class.return: State
focal_class.signature: State getState(String type, String value)
focal_class.class_method_signature: ItemEventFactory.getItemName(String topic)
focal_class.full_signature: private String getItemName(String topic)
focal_class.identifier: getItemName
focal_class.modifiers: private
focal_class.parameters: (String topic)
focal_class.return: String
focal_class.signature: String getItemName(String topic)
focal_class.class_method_signature: ItemEventFactory.getMemberName(String topic)
focal_class.full_signature: private String getMemberName(String topic)
focal_class.identifier: getMemberName
focal_class.modifiers: private
focal_class.parameters: (String topic)
focal_class.return: String
focal_class.signature: String getMemberName(String topic)
focal_class.class_method_signature: ItemEventFactory.parseType(String typeName, String valueToParse, Class<T> desiredClass)
focal_class.full_signature: private T parseType(String typeName, String valueToParse, Class<T> desiredClass)
focal_class.identifier: parseType
focal_class.modifiers: private
focal_class.parameters: (String typeName, String valueToParse, Class<T> desiredClass)
focal_class.return: T
focal_class.signature: T parseType(String typeName, String valueToParse, Class<T> desiredClass)
focal_class.class_method_signature: ItemEventFactory.parseSimpleClassName(String simpleClassName, String valueToParse)
focal_class.full_signature: private Object parseSimpleClassName(String simpleClassName, String valueToParse)
focal_class.identifier: parseSimpleClassName
focal_class.modifiers: private
focal_class.parameters: (String simpleClassName, String valueToParse)
focal_class.return: Object
focal_class.signature: Object parseSimpleClassName(String simpleClassName, String valueToParse)
focal_class.class_method_signature: ItemEventFactory.createAddedEvent(String topic, String payload)
focal_class.full_signature: private Event createAddedEvent(String topic, String payload)
focal_class.identifier: createAddedEvent
focal_class.modifiers: private
focal_class.parameters: (String topic, String payload)
focal_class.return: Event
focal_class.signature: Event createAddedEvent(String topic, String payload)
focal_class.class_method_signature: ItemEventFactory.createRemovedEvent(String topic, String payload)
focal_class.full_signature: private Event createRemovedEvent(String topic, String payload)
focal_class.identifier: createRemovedEvent
focal_class.modifiers: private
focal_class.parameters: (String topic, String payload)
focal_class.return: Event
focal_class.signature: Event createRemovedEvent(String topic, String payload)
focal_class.class_method_signature: ItemEventFactory.createUpdatedEvent(String topic, String payload)
focal_class.full_signature: private Event createUpdatedEvent(String topic, String payload)
focal_class.identifier: createUpdatedEvent
focal_class.modifiers: private
focal_class.parameters: (String topic, String payload)
focal_class.return: Event
focal_class.signature: Event createUpdatedEvent(String topic, String payload)
focal_class.class_method_signature: ItemEventFactory.createCommandEvent(String itemName, Command command, String source)
focal_class.full_signature: public static ItemCommandEvent createCommandEvent(String itemName, Command command, String source)
focal_class.identifier: createCommandEvent
focal_class.modifiers: public static
focal_class.parameters: (String itemName, Command command, String source)
focal_class.return: ItemCommandEvent
focal_class.signature: ItemCommandEvent createCommandEvent(String itemName, Command command, String source)
focal_class.class_method_signature: ItemEventFactory.createCommandEvent(String itemName, Command command)
focal_class.full_signature: public static ItemCommandEvent createCommandEvent(String itemName, Command command)
focal_class.identifier: createCommandEvent
focal_class.modifiers: public static
focal_class.parameters: (String itemName, Command command)
focal_class.return: ItemCommandEvent
focal_class.signature: ItemCommandEvent createCommandEvent(String itemName, Command command)
focal_class.class_method_signature: ItemEventFactory.createStateEvent(String itemName, State state, String source)
focal_class.full_signature: public static ItemStateEvent createStateEvent(String itemName, State state, String source)
focal_class.identifier: createStateEvent
focal_class.modifiers: public static
focal_class.parameters: (String itemName, State state, String source)
focal_class.return: ItemStateEvent
focal_class.signature: ItemStateEvent createStateEvent(String itemName, State state, String source)
focal_class.class_method_signature: ItemEventFactory.createStateEvent(String itemName, State state)
focal_class.full_signature: public static ItemStateEvent createStateEvent(String itemName, State state)
focal_class.identifier: createStateEvent
focal_class.modifiers: public static
focal_class.parameters: (String itemName, State state)
focal_class.return: ItemStateEvent
focal_class.signature: ItemStateEvent createStateEvent(String itemName, State state)
focal_class.class_method_signature: ItemEventFactory.createStatePredictedEvent(String itemName, State state,
              boolean isConfirmation)
focal_class.full_signature: public static ItemStatePredictedEvent createStatePredictedEvent(String itemName, State state,
              boolean isConfirmation)
focal_class.identifier: createStatePredictedEvent
focal_class.modifiers: public static
focal_class.parameters: (String itemName, State state,
              boolean isConfirmation)
focal_class.return: ItemStatePredictedEvent
focal_class.signature: ItemStatePredictedEvent createStatePredictedEvent(String itemName, State state,
              boolean isConfirmation)
focal_class.class_method_signature: ItemEventFactory.createStateChangedEvent(String itemName, State newState, State oldState)
focal_class.full_signature: public static ItemStateChangedEvent createStateChangedEvent(String itemName, State newState, State oldState)
focal_class.identifier: createStateChangedEvent
focal_class.modifiers: public static
focal_class.parameters: (String itemName, State newState, State oldState)
focal_class.return: ItemStateChangedEvent
focal_class.signature: ItemStateChangedEvent createStateChangedEvent(String itemName, State newState, State oldState)
focal_class.class_method_signature: ItemEventFactory.createGroupStateChangedEvent(String itemName, String memberName,
              State newState, State oldState)
focal_class.full_signature: public static GroupItemStateChangedEvent createGroupStateChangedEvent(String itemName, String memberName,
              State newState, State oldState)
focal_class.identifier: createGroupStateChangedEvent
focal_class.modifiers: public static
focal_class.parameters: (String itemName, String memberName,
              State newState, State oldState)
focal_class.return: GroupItemStateChangedEvent
focal_class.signature: GroupItemStateChangedEvent createGroupStateChangedEvent(String itemName, String memberName,
              State newState, State oldState)
focal_class.class_method_signature: ItemEventFactory.createAddedEvent(Item item)
focal_class.full_signature: public static ItemAddedEvent createAddedEvent(Item item)
focal_class.identifier: createAddedEvent
focal_class.modifiers: public static
focal_class.parameters: (Item item)
focal_class.return: ItemAddedEvent
focal_class.signature: ItemAddedEvent createAddedEvent(Item item)
focal_class.class_method_signature: ItemEventFactory.createRemovedEvent(Item item)
focal_class.full_signature: public static ItemRemovedEvent createRemovedEvent(Item item)
focal_class.identifier: createRemovedEvent
focal_class.modifiers: public static
focal_class.parameters: (Item item)
focal_class.return: ItemRemovedEvent
focal_class.signature: ItemRemovedEvent createRemovedEvent(Item item)
focal_class.class_method_signature: ItemEventFactory.createUpdateEvent(Item item, Item oldItem)
focal_class.full_signature: public static ItemUpdatedEvent createUpdateEvent(Item item, Item oldItem)
focal_class.identifier: createUpdateEvent
focal_class.modifiers: public static
focal_class.parameters: (Item item, Item oldItem)
focal_class.return: ItemUpdatedEvent
focal_class.signature: ItemUpdatedEvent createUpdateEvent(Item item, Item oldItem)
focal_class.class_method_signature: ItemEventFactory.buildTopic(String topic, String itemName)
focal_class.full_signature: private static String buildTopic(String topic, String itemName)
focal_class.identifier: buildTopic
focal_class.modifiers: private static
focal_class.parameters: (String topic, String itemName)
focal_class.return: String
focal_class.signature: String buildTopic(String topic, String itemName)
focal_class.class_method_signature: ItemEventFactory.buildGroupTopic(String topic, String itemName, String memberName)
focal_class.full_signature: private static String buildGroupTopic(String topic, String itemName, String memberName)
focal_class.identifier: buildGroupTopic
focal_class.modifiers: private static
focal_class.parameters: (String topic, String itemName, String memberName)
focal_class.return: String
focal_class.signature: String buildGroupTopic(String topic, String itemName, String memberName)
focal_class.class_method_signature: ItemEventFactory.map(Item item)
focal_class.full_signature: private static ItemDTO map(Item item)
focal_class.identifier: map
focal_class.modifiers: private static
focal_class.parameters: (Item item)
focal_class.return: ItemDTO
focal_class.signature: ItemDTO map(Item item)
focal_class.class_method_signature: ItemEventFactory.getStateType(State state)
focal_class.full_signature: private static String getStateType(State state)
focal_class.identifier: getStateType
focal_class.modifiers: private static
focal_class.parameters: (State state)
focal_class.return: String
focal_class.signature: String getStateType(State state)
focal_class.class_method_signature: ItemEventFactory.getCommandType(Command command)
focal_class.full_signature: private static String getCommandType(Command command)
focal_class.identifier: getCommandType
focal_class.modifiers: private static
focal_class.parameters: (Command command)
focal_class.return: String
focal_class.signature: String getCommandType(Command command)
focal_class.class_method_signature: ItemEventFactory.assertValidArguments(String itemName, Type type, String typeArgumentName)
focal_class.full_signature: private static void assertValidArguments(String itemName, Type type, String typeArgumentName)
focal_class.identifier: assertValidArguments
focal_class.modifiers: private static
focal_class.parameters: (String itemName, Type type, String typeArgumentName)
focal_class.return: void
focal_class.signature: void assertValidArguments(String itemName, Type type, String typeArgumentName)
focal_class.class_method_signature: ItemEventFactory.assertValidArguments(String itemName, String memberName, Type type, String typeArgumentName)
focal_class.full_signature: private static void assertValidArguments(String itemName, String memberName, Type type, String typeArgumentName)
focal_class.identifier: assertValidArguments
focal_class.modifiers: private static
focal_class.parameters: (String itemName, String memberName, Type type, String typeArgumentName)
focal_class.return: void
focal_class.signature: void assertValidArguments(String itemName, String memberName, Type type, String typeArgumentName)
focal_class.class_method_signature: ItemEventFactory.assertValidArgument(Item item, String argumentName)
focal_class.full_signature: private static void assertValidArgument(Item item, String argumentName)
focal_class.identifier: assertValidArgument
focal_class.modifiers: private static
focal_class.parameters: (Item item, String argumentName)
focal_class.return: void
focal_class.signature: void assertValidArgument(Item item, String argumentName)
focal_class.superclass: extends AbstractEventFactory
focal_method.body: private String getItemName(String topic) {
          String[] topicElements = getTopicElements(topic);
          if (topicElements.length < 4) {
              throw new IllegalArgumentException("Event creation failed, invalid topic: " + topic);
          }
          return topicElements[2];
      }
focal_method.class_method_signature: ItemEventFactory.getItemName(String topic)
focal_method.full_signature: private String getItemName(String topic)
focal_method.identifier: getItemName
focal_method.invocations: getTopicElements
focal_method.modifiers: private
focal_method.parameters: (String topic)
focal_method.return: String
focal_method.signature: String getItemName(String topic)