@Test public void testWriteAndReadFields() throws Exception { Property p1 = new Property("key", PropertyValue.create(10)); Property p2 = writeAndReadFields(Property.class, p1); assertEquals(p1, p2); }
public static Property create(String key, PropertyValue value) { return new Property(key, value); }
Property implements Value, Serializable, Comparable<Property> { public static Property create(String key, PropertyValue value) { return new Property(key, value); } }
Property implements Value, Serializable, Comparable<Property> { public static Property create(String key, PropertyValue value) { return new Property(key, value); } Property();   Property(String key, PropertyValue value); }
Property implements Value, Serializable, Comparable<Property> { public static Property create(String key, PropertyValue value) { return new Property(key, value); } 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 static Property create(String key, PropertyValue value) { return new Property(key, value); } 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();  }