@Test public void testValue() { MStringInput input1 = new MStringInput("sqoopsqoop", true, InputEditable.ANY, StringUtils.EMPTY, (short) 5); input1.setValue("sqoop"); assertEquals("sqoop", input1.getValue()); input1.setEmpty(); assertNull(input1.getValue()); }
@Override public void setEmpty() { setValue(null); }
MStringInput extends MInput<String> { @Override public void setEmpty() { setValue(null); } }
MStringInput extends MInput<String> { @Override public void setEmpty() { setValue(null); } MStringInput(String name, boolean sensitive, InputEditable editable, String overrides, short maxLength); }
MStringInput extends MInput<String> { @Override public void setEmpty() { setValue(null); } MStringInput(String name, boolean sensitive, InputEditable editable, String overrides, short maxLength); short getMaxLength(); @Override String getUrlSafeValueString(); @Override void restoreFromUrlSafeValueString(String valueString); @Override MInputType getType(); @Override boolean hasExtraInfo(); @Override String getExtraInfoToString(); @Override boolean equals(Object other); @Override int hashCode(); @Override boolean isEmpty(); @Override void setEmpty(); @Override MStringInput clone(boolean cloneWithValue); }
MStringInput extends MInput<String> { @Override public void setEmpty() { setValue(null); } MStringInput(String name, boolean sensitive, InputEditable editable, String overrides, short maxLength); short getMaxLength(); @Override String getUrlSafeValueString(); @Override void restoreFromUrlSafeValueString(String valueString); @Override MInputType getType(); @Override boolean hasExtraInfo(); @Override String getExtraInfoToString(); @Override boolean equals(Object other); @Override int hashCode(); @Override boolean isEmpty(); @Override void setEmpty(); @Override MStringInput clone(boolean cloneWithValue);  }