Skip to content

Instantly share code, notes, and snippets.

@joao-parana
Created May 21, 2013 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joao-parana/5621197 to your computer and use it in GitHub Desktop.
Save joao-parana/5621197 to your computer and use it in GitHub Desktop.
Usando o MOXy no EclipseLink
package br.cepel.xml;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import br.cepel.data.Plant;
import br.cepel.data.Queue;
@XmlRootElement
public class SomaConfig {
private List<Plant> plants;
private List<Queue> queues;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment