/** * 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; }
/** * <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 { }
@XmlType public static class Type { @XmlAttribute public String s = "Hello World"; }
/** * 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;
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ConfigParameterContainer", propOrder = { "configParameters" }) @XmlElement(name = "param") protected List<JaxbHbmConfigParameterType> configParameters;
/** * 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; } }
/** * 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; }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class JaxbHbmReturnColumn implements Serializable @XmlAttribute(name = "name", required = true) protected String name;
@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; } }
/** * The wrapper root document for multiple {@link Doc} elements. * Created on: Jun 10, 2008<br> * * @author <a href="mailto:martin.grotzke@freiheit.com">Martin Grotzke</a> * @version $Id$ */ @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<Doc>(); } return this.docs; } }
/** * 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; } }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "synchronize-type") public class JaxbHbmSynchronizeType implements Serializable @XmlAttribute(name = "table", required = true) protected String table;
@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(); } }
@XmlAccessorType(XmlAccessType.FIELD) @XmlRootElement(name = "exception") @XmlType(name = "") public class ExceptionWrapper { @XmlElement final String errorCode; @XmlElement final Object message; public ExceptionWrapper() { this.errorCode = null; this.message = null; } public ExceptionWrapper(final String errorCode, final Object content) { this.errorCode = errorCode; this.message = content; } public Object getMessage() { return message; } }
/** * 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; } }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SubclassEntityBaseDefinition") public abstract class JaxbHbmSubclassEntityBaseDefinition extends JaxbHbmEntityBaseDefinition @XmlAttribute(name = "extends") protected String _extends;
@XmlRootElement( name = "revision" ) @XmlAccessorType( XmlAccessType.FIELD ) @XmlType( name = "", propOrder = { "versionId", "creationDate", "login", "comment" } ) public class PurObjectRevision implements ObjectRevision, java.io.Serializable { @XmlElement( type = String.class ) private Serializable versionId;
/** * The type for an element holding a string value.<br> * Created on: Jun 17, 2008<br> * * @author <a href="mailto:martin.grotzke@freiheit.com">Martin Grotzke</a> * @version $Id$ */ @XmlAccessorType( XmlAccessType.FIELD ) @XmlType( name = "valueType", propOrder = { } ) @XmlRootElement( name = "valueType" ) public class XhtmlValueType { @XmlValue protected String value; }
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "NaturalIdCacheType") public class JaxbHbmNaturalIdCacheType implements Serializable @XmlAttribute(name = "region") protected String region;