/* * Copyright 2014 JBoss Inc * * 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. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // 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: 2015.04.07 at 04:43:56 PM EDT // package org.oasis_open.docs.s_ramp.ns.s_ramp_v1; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; import javax.xml.namespace.QName; /** * <p>Java class for BaseArtifactType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="BaseArtifactType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}classifiedBy" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}relationship" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}property" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="artifactType" use="required" type="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}baseArtifactEnum" /> * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="createdBy" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="uuid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="createdTimestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> * <attribute name="lastModifiedTimestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> * <attribute name="lastModifiedBy" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <anyAttribute/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "classifiedBy", "relationship", "property" }) @XmlSeeAlso({ BaseArtifactType.class }) public abstract class OriginalBaseArtifactType implements Serializable { private static final long serialVersionUID = 4145021817646718347L; @XmlSchemaType(name = "anyURI") protected List<String> classifiedBy; protected List<Relationship> relationship; protected List<Property> property; @XmlAttribute(name = "artifactType", required = true) protected BaseArtifactEnum artifactType; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "description") protected String description; @XmlAttribute(name = "createdBy", required = true) protected String createdBy; @XmlAttribute(name = "version") protected String version; @XmlAttribute(name = "uuid", required = true) protected String uuid; @XmlAttribute(name = "createdTimestamp", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar createdTimestamp; @XmlAttribute(name = "lastModifiedTimestamp", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar lastModifiedTimestamp; @XmlAttribute(name = "lastModifiedBy", required = true) protected String lastModifiedBy; @XmlAnyAttribute private Map<QName, String> otherAttributes = new HashMap<QName, String>(); /** * Gets the value of the classifiedBy 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 classifiedBy property. * * <p> * For example, to add a new item, do as follows: * <pre> * getClassifiedBy().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getClassifiedBy() { if (classifiedBy == null) { classifiedBy = new ArrayList<String>(); } return this.classifiedBy; } /** * Gets the value of the relationship 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 relationship property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRelationship().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Relationship } * * */ public List<Relationship> getRelationship() { if (relationship == null) { relationship = new ArrayList<Relationship>(); } return this.relationship; } /** * Gets the value of the property 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 property property. * * <p> * For example, to add a new item, do as follows: * <pre> * getProperty().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Property } * * */ public List<Property> getProperty() { if (property == null) { property = new ArrayList<Property>(); } return this.property; } /** * Gets the value of the artifactType property. * * @return * possible object is * {@link BaseArtifactEnum } * */ public BaseArtifactEnum getArtifactType() { return artifactType; } /** * Sets the value of the artifactType property. * * @param value * allowed object is * {@link BaseArtifactEnum } * */ public void setArtifactType(BaseArtifactEnum value) { this.artifactType = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = 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 createdBy property. * * @return * possible object is * {@link String } * */ public String getCreatedBy() { return createdBy; } /** * Sets the value of the createdBy property. * * @param value * allowed object is * {@link String } * */ public void setCreatedBy(String value) { this.createdBy = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } /** * Gets the value of the uuid property. * * @return * possible object is * {@link String } * */ public String getUuid() { return uuid; } /** * Sets the value of the uuid property. * * @param value * allowed object is * {@link String } * */ public void setUuid(String value) { this.uuid = value; } /** * Gets the value of the createdTimestamp property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCreatedTimestamp() { return createdTimestamp; } /** * Sets the value of the createdTimestamp property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCreatedTimestamp(XMLGregorianCalendar value) { this.createdTimestamp = value; } /** * Gets the value of the lastModifiedTimestamp property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getLastModifiedTimestamp() { return lastModifiedTimestamp; } /** * Sets the value of the lastModifiedTimestamp property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setLastModifiedTimestamp(XMLGregorianCalendar value) { this.lastModifiedTimestamp = value; } /** * Gets the value of the lastModifiedBy property. * * @return * possible object is * {@link String } * */ public String getLastModifiedBy() { return lastModifiedBy; } /** * Sets the value of the lastModifiedBy property. * * @param value * allowed object is * {@link String } * */ public void setLastModifiedBy(String value) { this.lastModifiedBy = value; } /** * Gets a map that contains attributes that aren't bound to any typed property on this class. * * <p> * the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ public Map<QName, String> getOtherAttributes() { return otherAttributes; } }