@Override public EdmEntityType getEntityType() { final EdmEntityType entityType = edm.getEntityType(target.getTypeFQN()); if (entityType == null) { throw new EdmException("Can´t find entity type: " + target.getTypeFQN() + " for entity set or singleton: " + getName()); } return entityType; }
@Override public EdmEntityType getEntityType() { final EdmEntityType entityType = edm.getEntityType(target.getTypeFQN()); if (entityType == null) { throw new EdmException("Can´t find entity type: " + target.getTypeFQN() + " for entity set or singleton: " + getName()); } return entityType; }
@Override public EdmEntityType getEntityTypeWithAnnotations() { final EdmEntityType entityType = ((AbstractEdm)edm). getEntityTypeWithAnnotations(target.getTypeFQN(), true); if (entityType == null) { throw new EdmException("Can´t find entity type: " + target.getTypeFQN() + " for entity set or singleton: " + getName()); } return entityType; }