Package org.graphdrawing.graphml
Class PortType
java.lang.Object
org.graphdrawing.graphml.PortType
Complex type for the element.
Java class for port.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="port.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://graphml.graphdrawing.org/xmlns}desc" minOccurs="0"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://graphml.graphdrawing.org/xmlns}data"/>
<element ref="{http://graphml.graphdrawing.org/xmlns}port"/>
</choice>
</sequence>
<attGroup ref="{http://graphml.graphdrawing.org/xmlns}port.extra.attrib"/>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
desc
-
dataOrPort
-
name
-
-
Constructor Details
-
PortType
public PortType()
-
-
Method Details
-
getDesc
Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
Sets the value of the desc property.- Parameters:
value- allowed object isString
-
getDataOrPort
Gets the value of the dataOrPort 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
setmethod for the dataOrPort property.For example, to add a new item, do as follows:
getDataOrPort().add(newItem);
Objects of the following type(s) are allowed in the list
DataTypePortType -
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-