/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (collectively, the "License"). You
* may not use this file except in compliance with the License. You can
* obtain a copy of the License at
* http://glassfish.java.net/public/CDDL+GPL_1_1.html
* or packager/legal/LICENSE.txt. See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software, include this License Header Notice in each
* file and include the License file at packager/legal/LICENSE.txt.
*
* GPL Classpath Exception:
* Oracle designates this particular file as subject to the "Classpath"
* exception as provided by Oracle in the GPL Version 2 section of the License
* file that accompanied this code.
*
* Modifications:
* If applicable, add the following below the License Header, with the fields
* enclosed by brackets [] replaced by your own identifying information:
* "Portions Copyright [year] [name of copyright owner]"
*
* Contributor(s):
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2, indicate your decision by adding "[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license." If you don't indicate a single choice of license, a
* recipient has the option to distribute your version of this file under
* either the CDDL, the GPL Version 2 or to extend the choice of license to
* its licensees as provided above. However, if you add GPL Version 2 code
* and therefore, elected the GPL Version 2 license, then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-793
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.07.03 at 05:59:50 PM CEST
//
package com.sun.jersey.json.impl.rim;
import java.util.ArrayList;
import java.util.List;
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
*
* This type is the common base type for all query-able metadata elements in ebRIM.
*
*
* <p>Java class for RegistryObjectType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="RegistryObjectType">
* <complexContent>
* <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}IdentifiableType">
* <sequence>
* <element name="Name" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}InternationalStringType" minOccurs="0"/>
* <element name="Description" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}InternationalStringType" minOccurs="0"/>
* <element name="VersionInfo" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}VersionInfoType" minOccurs="0"/>
* <element name="Classification" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ClassificationType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ExternalIdentifier" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ExternalIdentifierType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ExternalLink" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ExternalLinkType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="lid" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="objectType" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
* <attribute name="owner" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="status" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RegistryObjectType", propOrder = {
"name",
"description",
"versionInfo",
"classification",
"externalIdentifier",
"externalLink"
})
@XmlSeeAlso({
RegistryPackageType.class,
ServiceBindingType.class,
ServiceType.class,
ExternalIdentifierType.class,
ExternalLinkType.class,
AuditableEventType.class,
ClassificationType.class,
NotificationType.class,
FederationType.class,
RegistryType.class,
SubscriptionType.class,
AssociationType.class,
ServiceEndpointType.class,
ExtrinsicObjectType.class,
QueryDefinitionType.class,
ServiceInterfaceType.class,
PartyType.class,
TaxonomyElementType.class
})
public class RegistryObjectType
extends IdentifiableType
{
@XmlElement(name = "Name")
protected InternationalStringType name;
@XmlElement(name = "Description")
protected InternationalStringType description;
@XmlElement(name = "VersionInfo")
protected VersionInfoType versionInfo;
@XmlElement(name = "Classification")
protected List<ClassificationType> classification;
@XmlElement(name = "ExternalIdentifier")
protected List<ExternalIdentifierType> externalIdentifier;
@XmlElement(name = "ExternalLink")
protected List<ExternalLinkType> externalLink;
@XmlAttribute
protected String lid;
@XmlAttribute
protected String objectType;
@XmlAttribute
protected String owner;
@XmlAttribute
protected String status;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link InternationalStringType }
*
*/
public InternationalStringType getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link InternationalStringType }
*
*/
public void setName(InternationalStringType value) {
this.name = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link InternationalStringType }
*
*/
public InternationalStringType getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link InternationalStringType }
*
*/
public void setDescription(InternationalStringType value) {
this.description = value;
}
/**
* Gets the value of the versionInfo property.
*
* @return
* possible object is
* {@link VersionInfoType }
*
*/
public VersionInfoType getVersionInfo() {
return versionInfo;
}
/**
* Sets the value of the versionInfo property.
*
* @param value
* allowed object is
* {@link VersionInfoType }
*
*/
public void setVersionInfo(VersionInfoType value) {
this.versionInfo = value;
}
/**
* Gets the value of the classification property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the classification property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getClassification().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ClassificationType }
*
*
*/
public List<ClassificationType> getClassification() {
if (classification == null) {
classification = new ArrayList<ClassificationType>();
}
return this.classification;
}
/**
* Gets the value of the externalIdentifier property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the externalIdentifier property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getExternalIdentifier().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ExternalIdentifierType }
*
*
*/
public List<ExternalIdentifierType> getExternalIdentifier() {
if (externalIdentifier == null) {
externalIdentifier = new ArrayList<ExternalIdentifierType>();
}
return this.externalIdentifier;
}
/**
* Gets the value of the externalLink property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the externalLink property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getExternalLink().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ExternalLinkType }
*
*
*/
public List<ExternalLinkType> getExternalLink() {
if (externalLink == null) {
externalLink = new ArrayList<ExternalLinkType>();
}
return this.externalLink;
}
/**
* Gets the value of the lid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLid() {
return lid;
}
/**
* Sets the value of the lid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLid(String value) {
this.lid = value;
}
/**
* Gets the value of the objectType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectType() {
return objectType;
}
/**
* Sets the value of the objectType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectType(String value) {
this.objectType = value;
}
/**
* Gets the value of the owner property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOwner() {
return owner;
}
/**
* Sets the value of the owner property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOwner(String value) {
this.owner = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
}