Class PortType
java.lang.Object
com.io7m.aradine.instrument.spi1.xml.jaxb.PortType
- Direct Known Subclasses:
PortInputType
,PortOutputType
Java class for PortType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PortType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <sequence minOccurs="0"> <element ref="{urn:com.io7m.aradine:instrument:1}Documentation"/> </sequence> <sequence maxOccurs="unbounded" minOccurs="0"> <element ref="{urn:com.io7m.aradine:instrument:1}PortSemantic"/> </sequence> </sequence> <attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> <attribute name="Label" use="required" type="{urn:com.io7m.aradine:instrument:1}Label" /> </restriction> </complexContent> </complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Documentation
protected long
protected String
protected List
<PortSemantic> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the documentation property.long
getID()
Gets the value of the id property.getLabel()
Gets the value of the label property.Gets the value of the portSemantic property.void
setDocumentation
(Documentation value) Sets the value of the documentation property.void
setID
(long value) Sets the value of the id property.void
Sets the value of the label property.
-
Field Details
-
documentation
-
portSemantic
-
id
protected long id -
label
-
-
Constructor Details
-
PortType
public PortType()
-
-
Method Details
-
getDocumentation
Gets the value of the documentation property.- Returns:
- possible object is
Documentation
-
setDocumentation
Sets the value of the documentation property.- Parameters:
value
- allowed object isDocumentation
-
getPortSemantic
Gets the value of the portSemantic 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 Jakarta XML Binding object. This is why there is not a
set
method for the portSemantic property.For example, to add a new item, do as follows:
getPortSemantic().add(newItem);
Objects of the following type(s) are allowed in the list
PortSemantic
-
getID
public long getID()Gets the value of the id property. -
setID
public void setID(long value) Sets the value of the id property. -
getLabel
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
Sets the value of the label property.- Parameters:
value
- allowed object isString
-