Package org.graphdrawing.graphml
Class EndpointType
java.lang.Object
org.graphdrawing.graphml.EndpointType
public class EndpointType
extends java.lang.Object
Complex type for the element.
Java class for endpoint.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="endpoint.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://graphml.graphdrawing.org/xmlns}desc" minOccurs="0"/>
</sequence>
<attGroup ref="{http://graphml.graphdrawing.org/xmlns}endpoint.extra.attrib"/>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="port" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="node" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="type" type="{http://graphml.graphdrawing.org/xmlns}endpoint.type.type" default="undir" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EndpointType() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDesc()Gets the value of the desc property.java.lang.StringgetId()Gets the value of the id property.java.lang.StringgetNode()Gets the value of the node property.java.lang.StringgetPort()Gets the value of the port property.EndpointTypeTypegetType()Gets the value of the type property.voidsetDesc(java.lang.String value)Sets the value of the desc property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetNode(java.lang.String value)Sets the value of the node property.voidsetPort(java.lang.String value)Sets the value of the port property.voidsetType(EndpointTypeType value)Sets the value of the type property.
-
Field Details
-
Constructor Details
-
EndpointType
public EndpointType()
-
-
Method Details
-
getDesc
public java.lang.String getDesc()Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
public void setDesc(java.lang.String value)Sets the value of the desc property.- Parameters:
value- allowed object isString
-
getId
public java.lang.String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getPort
public java.lang.String getPort()Gets the value of the port property.- Returns:
- possible object is
String
-
setPort
public void setPort(java.lang.String value)Sets the value of the port property.- Parameters:
value- allowed object isString
-
getNode
public java.lang.String getNode()Gets the value of the node property.- Returns:
- possible object is
String
-
setNode
public void setNode(java.lang.String value)Sets the value of the node property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
EndpointTypeType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isEndpointTypeType
-