1 /*******************************************************************************
2 * Copyright (c) 2017 Politecnico di Torino and others.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Apache License, Version 2.0
6 * which accompanies this distribution, and is available at
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *******************************************************************************/
10 package it.polito.nffg.neo4j.jaxb;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
20 * <p>Java class for cpType complex type.
21 * <p>The following schema fragment specifies the expected content contained within this class.
23 * <complexType name="cpType">
25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27 * <element name="port" type="{http://www.example.org/nffg/}portType"/>
29 * <attribute name="id" use="required" type="{http://www.example.org/nffg/}cpIdType" />
31 * </complexContent>
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "cpType", propOrder = {
41 @XmlElement(required = true)
42 protected PortType port;
43 @XmlAttribute(name = "id", required = true)
47 * Gets the value of the port property.
52 public PortType getPort() {
57 * Sets the value of the port property.
62 public void setPort(PortType value) {
67 * Gets the value of the id property.
72 public String getId() {
77 * Sets the value of the id property.
82 public void setId(String value) {