All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.uddi.api_v2.SharedRelationships Maven / Gradle / Ivy


package org.uddi.api_v2;

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.XmlType;


/**
 * 

Java class for sharedRelationships complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="sharedRelationships">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:uddi-org:api_v2}keyedReference" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attribute name="direction" use="required" type="{urn:uddi-org:api_v2}direction" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "sharedRelationships", propOrder = { "keyedReference" }) public class SharedRelationships { @XmlElement(required = true) protected List keyedReference; @XmlAttribute(required = true) protected Direction direction; /** * Gets the value of the keyedReference property. * *

* 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 set method for the keyedReference property. * *

* For example, to add a new item, do as follows: *

     *    getKeyedReference().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KeyedReference } * * */ public List getKeyedReference() { if (keyedReference == null) { keyedReference = new ArrayList(); } return this.keyedReference; } /** * Gets the value of the direction property. * * @return * possible object is * {@link Direction } * */ public Direction getDirection() { return direction; } /** * Sets the value of the direction property. * * @param value * allowed object is * {@link Direction } * */ public void setDirection(Direction value) { this.direction = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy