NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languageJava
titleJava Code Snippet

<source lang = java>

Code Block

1  public static void main(String[] args)
2  {
3      try {
4          LexEVSApplicationService appService =
5            (LexEVSApplicationService)ApplicationServiceProvider.
6             getApplicationService("EvsServiceInfo");
7          Entity entity = new Entity()
8          entity.setEntityCode("C1234");
9          List<Entity> list = appService.search(Entity.class, entity);
10     } catch(ApplicationException ex)\{
11     }
12  }

...