mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
77 lines
1.8 KiB
Java
77 lines
1.8 KiB
Java
package io.ebeaninternal.xmlmapping.model;
|
|
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
import javax.xml.bind.annotation.XmlAttribute;
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
|
|
|
|
/**
|
|
* <p>Java class for anonymous complex type.
|
|
* <p>
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
* <p>
|
|
* <pre>
|
|
* <complexType>
|
|
* <complexContent>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
* <attribute name="alias" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* <attribute name="property" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </pre>
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "")
|
|
@XmlRootElement(name = "alias-mapping")
|
|
public class XmAliasMapping {
|
|
|
|
@XmlAttribute(name = "alias", required = true)
|
|
protected String alias;
|
|
@XmlAttribute(name = "property", required = true)
|
|
protected String property;
|
|
|
|
/**
|
|
* Gets the value of the alias property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getAlias() {
|
|
return alias;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the alias property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setAlias(String value) {
|
|
this.alias = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the property property.
|
|
*
|
|
* @return possible object is
|
|
* {@link String }
|
|
*/
|
|
public String getProperty() {
|
|
return property;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the property property.
|
|
*
|
|
* @param value allowed object is
|
|
* {@link String }
|
|
*/
|
|
public void setProperty(String value) {
|
|
this.property = value;
|
|
}
|
|
|
|
}
|