001package io.ebeaninternal.xmlmapping.model; 002 003import javax.xml.bind.annotation.XmlAccessType; 004import javax.xml.bind.annotation.XmlAccessorType; 005import javax.xml.bind.annotation.XmlAttribute; 006import javax.xml.bind.annotation.XmlRootElement; 007import javax.xml.bind.annotation.XmlType; 008 009 010/** 011 * <p>Java class for anonymous complex type. 012 * <p> 013 * <p>The following schema fragment specifies the expected content contained within this class. 014 * <p> 015 * <pre> 016 * <complexType> 017 * <complexContent> 018 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 019 * <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 020 * <attribute name="property" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 021 * </restriction> 022 * </complexContent> 023 * </complexType> 024 * </pre> 025 */ 026@XmlAccessorType(XmlAccessType.FIELD) 027@XmlType(name = "") 028@XmlRootElement(name = "column-mapping") 029public class XmColumnMapping { 030 031 @XmlAttribute(name = "column", required = true) 032 protected String column; 033 @XmlAttribute(name = "property", required = true) 034 protected String property; 035 036 /** 037 * Gets the value of the column property. 038 * 039 * @return possible object is 040 * {@link String } 041 */ 042 public String getColumn() { 043 return column; 044 } 045 046 /** 047 * Sets the value of the column property. 048 * 049 * @param value allowed object is 050 * {@link String } 051 */ 052 public void setColumn(String value) { 053 this.column = value; 054 } 055 056 /** 057 * Gets the value of the property property. 058 * 059 * @return possible object is 060 * {@link String } 061 */ 062 public String getProperty() { 063 return property; 064 } 065 066 /** 067 * Sets the value of the property property. 068 * 069 * @param value allowed object is 070 * {@link String } 071 */ 072 public void setProperty(String value) { 073 this.property = value; 074 } 075 076}