@Test public void fieldVersionPropertyIsCollectionOfSimpleTypes() { assertThat(fieldVersionType.getProperty("booleanValue").isCollectionOfSimpleTypes(), is(false)); assertThat(fieldVersionType.getProperty("collectionOfSimpleTypes").isCollectionOfSimpleTypes(), is(true)); assertThat(fieldVersionType.getProperty("collection").isCollectionOfSimpleTypes(), is(false)); }
@Override public VersionProperty getProperty(String name) { VersionProperty versionProperty = fields.get(name); return versionProperty; }
FieldVersionType implements VersionType<T> { @Override public VersionProperty getProperty(String name) { VersionProperty versionProperty = fields.get(name); return versionProperty; } }
FieldVersionType implements VersionType<T> { @Override public VersionProperty getProperty(String name) { VersionProperty versionProperty = fields.get(name); return versionProperty; } FieldVersionType(Class<T> type, VersionTypeFactory factory); }
FieldVersionType implements VersionType<T> { @Override public VersionProperty getProperty(String name) { VersionProperty versionProperty = fields.get(name); return versionProperty; } FieldVersionType(Class<T> type, VersionTypeFactory factory); @Override Collection<VersionProperty> getProperties(); @Override VersionProperty getProperty(String name); @Override A getAnnotation(Class<A> annotationType); @Override T newInstance(); String toString(); }
FieldVersionType implements VersionType<T> { @Override public VersionProperty getProperty(String name) { VersionProperty versionProperty = fields.get(name); return versionProperty; } FieldVersionType(Class<T> type, VersionTypeFactory factory); @Override Collection<VersionProperty> getProperties(); @Override VersionProperty getProperty(String name); @Override A getAnnotation(Class<A> annotationType); @Override T newInstance(); String toString();  }