@Test void testCompareLowerThan() { Id id0 = Id.getProvider().fromLong(42); SingleFeatureBean bean = SingleFeatureBean.of(id0, 10); ManyFeatureBean bean0 = bean.withPosition(0); ManyFeatureBean bean1 = bean.withPosition(1); assertThat(bean0).isLessThan(bean1); }
@Nonnull public static ManyFeatureBean of(Id owner, int id, @Nonnegative int position) { return new ManyFeatureBean(owner, id, position); }
ManyFeatureBean extends AbstractFeatureBean { @Nonnull public static ManyFeatureBean of(Id owner, int id, @Nonnegative int position) { return new ManyFeatureBean(owner, id, position); } }
ManyFeatureBean extends AbstractFeatureBean { @Nonnull public static ManyFeatureBean of(Id owner, int id, @Nonnegative int position) { return new ManyFeatureBean(owner, id, position); } protected  ManyFeatureBean(Id owner, int id, @Nonnegative int position); }
ManyFeatureBean extends AbstractFeatureBean { @Nonnull public static ManyFeatureBean of(Id owner, int id, @Nonnegative int position) { return new ManyFeatureBean(owner, id, position); } protected  ManyFeatureBean(Id owner, int id, @Nonnegative int position); @Nonnull static ManyFeatureBean from(InternalEObject owner, EStructuralFeature feature, @Nonnegative int position); @Nonnull static ManyFeatureBean from(PersistentEObject owner, EStructuralFeature feature, @Nonnegative int position); @Nonnull static ManyFeatureBean of(Id owner, int id, @Nonnegative int position); @Nonnull SingleFeatureBean withoutPosition(); @Override boolean isMany(); @Override String toString(); }
ManyFeatureBean extends AbstractFeatureBean { @Nonnull public static ManyFeatureBean of(Id owner, int id, @Nonnegative int position) { return new ManyFeatureBean(owner, id, position); } protected  ManyFeatureBean(Id owner, int id, @Nonnegative int position); @Nonnull static ManyFeatureBean from(InternalEObject owner, EStructuralFeature feature, @Nonnegative int position); @Nonnull static ManyFeatureBean from(PersistentEObject owner, EStructuralFeature feature, @Nonnegative int position); @Nonnull static ManyFeatureBean of(Id owner, int id, @Nonnegative int position); @Nonnull SingleFeatureBean withoutPosition(); @Override boolean isMany(); @Override String toString();  }