/**
* Copyright (C) 2014 Cohesive Integrations, LLC (info@cohesiveintegrations.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.di2e.ecdr.commons.xml.fs;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="shortName">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <length value="8"/>
* </restriction>
* </simpleType>
* </element>
* <element name="description" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <length value="1024"/>
* </restriction>
* </simpleType>
* </element>
* <element name="link" type="{http://a9.com/-/opensearch/extensions/federation/1.0/}link" minOccurs="0"/>
* <element name="longName" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <length value="48"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* <attribute name="sourceId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"shortName",
"description",
"link",
"longName"
})
@XmlRootElement(name = "sourceDescription")
public class SourceDescription {
@XmlElement(required = true)
private String shortName;
private String description;
private Link link;
private String longName;
@XmlAttribute(name = "sourceId", required = true)
private String sourceId;
/**
* Gets the value of the shortName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShortName() {
return shortName;
}
/**
* Sets the value of the shortName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShortName(String value) {
this.shortName = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the link property.
*
* @return
* possible object is
* {@link Link }
*
*/
public Link getLink() {
return link;
}
/**
* Sets the value of the link property.
*
* @param value
* allowed object is
* {@link Link }
*
*/
public void setLink(Link value) {
this.link = value;
}
/**
* Gets the value of the longName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLongName() {
return longName;
}
/**
* Sets the value of the longName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLongName(String value) {
this.longName = value;
}
/**
* Gets the value of the sourceId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceId() {
return sourceId;
}
/**
* Sets the value of the sourceId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceId(String value) {
this.sourceId = value;
}
}