@Test public void testSetValue() { PropertyValue propertyValue = PropertyValue.create(10); Property p = new Property("key", PropertyValue.create(11)); p.setValue(propertyValue); assertEquals(propertyValue, p.getValue()); }
public void setValue(PropertyValue value) { this.value = checkNotNull(value, "Property value was null"); }
Property implements Value, Serializable, Comparable<Property> { public void setValue(PropertyValue value) { this.value = checkNotNull(value, "Property value was null"); } }
Property implements Value, Serializable, Comparable<Property> { public void setValue(PropertyValue value) { this.value = checkNotNull(value, "Property value was null"); } Property();   Property(String key, PropertyValue value); }
Property implements Value, Serializable, Comparable<Property> { public void setValue(PropertyValue value) { this.value = checkNotNull(value, "Property value was null"); } Property();   Property(String key, PropertyValue value); static Property create(String key, PropertyValue value); static Property create(String key, Object value); String getKey(); void setKey(String key); PropertyValue getValue(); void setValue(PropertyValue value); @Override boolean equals(Object o); @Override int hashCode(); @Override int compareTo(Property o); @Override void write(DataOutputView outputView); @Override void read(DataInputView inputView); @Override String toString(); }
Property implements Value, Serializable, Comparable<Property> { public void setValue(PropertyValue value) { this.value = checkNotNull(value, "Property value was null"); } Property();   Property(String key, PropertyValue value); static Property create(String key, PropertyValue value); static Property create(String key, Object value); String getKey(); void setKey(String key); PropertyValue getValue(); void setValue(PropertyValue value); @Override boolean equals(Object o); @Override int hashCode(); @Override int compareTo(Property o); @Override void write(DataOutputView outputView); @Override void read(DataInputView inputView); @Override String toString();  }