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;
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
/**
* <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.
Returns: possible object is String
/**
* 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.
Params: - value – allowed object is
String
/**
* 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.
Returns: possible object is String
/**
* 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.
Params: - value – allowed object is
String
/**
* Sets the value of the property property.
*
* @param value allowed object is
* {@link String }
*/
public void setProperty(String value) {
this.property = value;
}
}