test_class.file: bundles/org.openhab.core/src/test/java/org/openhab/core/library/items/RollershutterItemTest.java
test_class.identifier: RollershutterItemTest
test_case.body: @Test
      public void setStateStateDownReturnPercent100() {
          RollershutterItem sut = new RollershutterItem("Test");
          State state = UpDownType.DOWN;
          sut.setState(state);
          assertEquals(PercentType.HUNDRED, sut.getState());
      }
test_case.class_method_signature: RollershutterItemTest.setStateStateDownReturnPercent100()
test_case.full_signature: @Test public void setStateStateDownReturnPercent100()
test_case.identifier: setStateStateDownReturnPercent100
test_case.invocations: setState assertEquals getState
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void setStateStateDownReturnPercent100()
focal_class.declarator: acceptedDataTypes = new ArrayList<>()
focal_class.modifier: private static
focal_class.original_string: private static List<Class<? extends State>> acceptedDataTypes = new ArrayList<>();
focal_class.type: List<Class<? extends State>>
focal_class.var_name: acceptedDataTypes
focal_class.declarator: acceptedCommandTypes = new ArrayList<>()
focal_class.modifier: private static
focal_class.original_string: private static List<Class<? extends Command>> acceptedCommandTypes = new ArrayList<>();
focal_class.type: List<Class<? extends Command>>
focal_class.var_name: acceptedCommandTypes
focal_class.file: bundles/org.openhab.core/src/main/java/org/openhab/core/library/items/RollershutterItem.java
focal_class.identifier: RollershutterItem
focal_class.class_method_signature: RollershutterItem.RollershutterItem(String name)
focal_class.full_signature: public  RollershutterItem(String name)
focal_class.identifier: RollershutterItem
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.signature:  RollershutterItem(String name)
focal_class.class_method_signature: RollershutterItem.getAcceptedDataTypes()
focal_class.full_signature: @Override public List<Class<? extends State>> getAcceptedDataTypes()
focal_class.identifier: getAcceptedDataTypes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Class<? extends State>>
focal_class.signature: List<Class<? extends State>> getAcceptedDataTypes()
focal_class.class_method_signature: RollershutterItem.getAcceptedCommandTypes()
focal_class.full_signature: @Override public List<Class<? extends Command>> getAcceptedCommandTypes()
focal_class.identifier: getAcceptedCommandTypes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Class<? extends Command>>
focal_class.signature: List<Class<? extends Command>> getAcceptedCommandTypes()
focal_class.class_method_signature: RollershutterItem.send(UpDownType command)
focal_class.full_signature: public void send(UpDownType command)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (UpDownType command)
focal_class.return: void
focal_class.signature: void send(UpDownType command)
focal_class.class_method_signature: RollershutterItem.send(StopMoveType command)
focal_class.full_signature: public void send(StopMoveType command)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (StopMoveType command)
focal_class.return: void
focal_class.signature: void send(StopMoveType command)
focal_class.class_method_signature: RollershutterItem.send(PercentType command)
focal_class.full_signature: public void send(PercentType command)
focal_class.identifier: send
focal_class.modifiers: public
focal_class.parameters: (PercentType command)
focal_class.return: void
focal_class.signature: void send(PercentType command)
focal_class.class_method_signature: RollershutterItem.setState(State state)
focal_class.full_signature: @Override public void setState(State state)
focal_class.identifier: setState
focal_class.modifiers: @Override public
focal_class.parameters: (State state)
focal_class.return: void
focal_class.signature: void setState(State state)
focal_class.superclass: extends GenericItem
focal_method.body: @Override
      public void setState(State state) {
          if (isAcceptedState(acceptedDataTypes, state)) {
              // try conversion
              State convertedState = state.as(PercentType.class);
              if (convertedState != null) {
                  applyState(convertedState);
              } else {
                  applyState(state);
              }
          } else {
              logSetTypeError(state);
          }
      }
focal_method.class_method_signature: RollershutterItem.setState(State state)
focal_method.full_signature: @Override public void setState(State state)
focal_method.identifier: setState
focal_method.invocations: isAcceptedState as applyState applyState logSetTypeError
focal_method.modifiers: @Override public
focal_method.parameters: (State state)
focal_method.return: void
focal_method.signature: void setState(State state)