/******************************************************************************* | |
* Copyright (c) 2010 Mia-Software and others. | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v2.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v20.html | |
* | |
* Contributors: | |
* Fabien Giquel - initial API and implementation | |
*******************************************************************************/ | |
package annotations; | |
import java.util.List; | |
import javax.xml.bind.annotation.XmlElement; | |
import javax.xml.bind.annotation.XmlElements; | |
public class AnnotatedField { | |
private static final long serialVersionUID = 1L; | |
@XmlElements({ | |
@XmlElement(name="XXX", type=AnnotatedField.class) | |
}) | |
private List<Object> objects; | |
} |