/** * The wrapper root document for multiple {@link Doc} elements. * Created on: Jun 10, 2008<br> * * @author Martin Grotzke (martin.grotzke at freiheit.com) */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "applicationDocs", propOrder = { "docs" }) @XmlRootElement(name = "applicationDocs") public class ApplicationDocs { @XmlElement(name = "doc") protected List<Doc> docs; public List<Doc> getDocs() { if (docs == null) { docs = new ArrayList<>(); } return this.docs; } }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class JaxbHbmDefinition implements Serializable @XmlAttribute(name = "class", required = true) protected String clazz;
/** * The type for an element holding a string value.<br> * Created on: Jun 17, 2008<br> * * @author Martin Grotzke (martin.grotzke at freiheit.com) */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "valueType", propOrder = {}) @XmlRootElement(name = "valueType") public class XhtmlValueType { @XmlValue protected String value; }
@XmlType public static class Type { @XmlAttribute public String s = "Hello World"; }
/** * <p>Java class for emptyType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="emptyType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "emptyType") public class EmptyType { }
/** * Details of a funnel. */ @XmlType(name = "funnel") public class FunnelDTO extends ComponentDTO { public FunnelDTO() { } }
public String name() { return core.name(); }
public String namespace() { return core.namespace(); }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class JaxbHbmReturnColumn implements Serializable @XmlAttribute(name = "name", required = true) protected String name;
/** * The type for an element holding a string value.<br> * Created on: Jun 17, 2008<br> * * @author Martin Grotzke (martin.grotzke at freiheit.com) */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "valueType", propOrder = {}) @XmlRootElement(name = "valueType") public class XhtmlValueType { @XmlValue protected String value; }
@XmlType public class Entry { @XmlAttribute @JsonSerialize public String key; @XmlAttribute @JsonSerialize public String value; public Entry() { // empty constructor required by JAXB } public Entry(String key, String value) { this.key = key; this.value = value; } }
@XmlType @SuppressWarnings("unused") public static class DummyType { private String s = "Hello"; }
/** * The wrapper root document for multiple {@link Doc} elements. * Created on: Jun 10, 2008<br> * * @author Martin Grotzke (martin.grotzke at freiheit.com) */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "applicationDocs", propOrder = { "docs" }) @XmlRootElement(name = "applicationDocs") public class ApplicationDocs { @XmlElement(name = "doc") protected List<Doc> docs; public List<Doc> getDocs() { if (docs == null) { docs = new ArrayList<>(); } return this.docs; } }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "synchronize-type") public class JaxbHbmSynchronizeType implements Serializable @XmlAttribute(name = "table", required = true) protected String table;
/** * The type for an element holding child nodes.<br> * Created on: Jun 17, 2008<br> * * @author Martin Grotzke (martin.grotzke at freiheit.com) */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "foo", propOrder = {}) @XmlRootElement(name = "foo") public class XhtmlElementType { @XmlAnyElement protected List<Object> any; public List<Object> getChildNodes() { if (any == null) { any = new ArrayList<>(); } return this.any; } }
@XmlType public static class TestType { public TestType() { } public TestType(String s) { this.s = s; } @XmlAttribute public String s = "Hello World"; @Override public boolean equals(Object o) { if (this == o) { return true; } if (o instanceof TestType) { TestType other = (TestType) o; return this.s.equals(other.s); } return false; } @Override public int hashCode() { return s.hashCode(); } }
/** * @author Arjen Poutsma */ @javax.xml.bind.annotation.XmlType public class XmlType { }