@Test public void checkReturnsRightNumberOfMember7() throws ODataJPAModelException { cut = new IntermediateEnumerationType(new JPADefaultEdmNameBuilder(PUNIT_NAME), DayOfWeek.class); cut.getEdmItem(); assertEquals(7, cut.getEdmItem().getMembers().size()); }
@Override CsdlEnumType getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmEnumType; }
IntermediateEnumerationType extends IntermediateModelElement implements JPAEnumerationAttribute { @Override CsdlEnumType getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmEnumType; } }
IntermediateEnumerationType extends IntermediateModelElement implements JPAEnumerationAttribute { @Override CsdlEnumType getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmEnumType; } IntermediateEnumerationType(final JPAEdmNameBuilder nameBuilder, final Class<? extends Enum<?>> javaEnum); }
IntermediateEnumerationType extends IntermediateModelElement implements JPAEnumerationAttribute { @Override CsdlEnumType getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmEnumType; } IntermediateEnumerationType(final JPAEdmNameBuilder nameBuilder, final Class<? extends Enum<?>> javaEnum); @Override Object convert(List<String> values); @SuppressWarnings("unchecked") @Override T enumOf(final String value); @Override @SuppressWarnings("unchecked") E enumOf(final T value); @Override boolean isFlags(); @SuppressWarnings("unchecked") @Override T valueOf(final String value); @SuppressWarnings("unchecked") @Override T valueOf(final List<String> values); }
IntermediateEnumerationType extends IntermediateModelElement implements JPAEnumerationAttribute { @Override CsdlEnumType getEdmItem() throws ODataJPAModelException { lazyBuildEdmItem(); return edmEnumType; } IntermediateEnumerationType(final JPAEdmNameBuilder nameBuilder, final Class<? extends Enum<?>> javaEnum); @Override Object convert(List<String> values); @SuppressWarnings("unchecked") @Override T enumOf(final String value); @Override @SuppressWarnings("unchecked") E enumOf(final T value); @Override boolean isFlags(); @SuppressWarnings("unchecked") @Override T valueOf(final String value); @SuppressWarnings("unchecked") @Override T valueOf(final List<String> values);  }