public class PortImpl extends java.lang.Object implements Port
Modifier and Type | Field and Description |
---|---|
protected Binding |
binding |
protected org.w3c.dom.Element |
docEl |
protected java.util.List |
extElements |
protected java.lang.String |
name |
static long |
serialVersionUID |
Constructor and Description |
---|
PortImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
|
Binding |
getBinding()
Get the binding this port refers to.
|
org.w3c.dom.Element |
getDocumentationElement()
Get the documentation element.
|
java.util.List |
getExtensibilityElements()
Get all the extensibility elements defined here.
|
java.lang.String |
getName()
Get the name of this port.
|
void |
setBinding(Binding binding)
Set the binding this port should refer to.
|
void |
setDocumentationElement(org.w3c.dom.Element docEl)
Set the documentation element for this document.
|
void |
setName(java.lang.String name)
Set the name of this port.
|
java.lang.String |
toString() |
protected java.lang.String name
protected Binding binding
protected org.w3c.dom.Element docEl
protected java.util.List extElements
public static final long serialVersionUID
public void setName(java.lang.String name)
public java.lang.String getName()
public void setBinding(Binding binding)
setBinding
in interface Port
binding
- the desired bindingpublic Binding getBinding()
getBinding
in interface Port
public void setDocumentationElement(org.w3c.dom.Element docEl)
setDocumentationElement
in interface Port
docEl
- the documentation elementpublic org.w3c.dom.Element getDocumentationElement()
getDocumentationElement
in interface Port
public void addExtensibilityElement(ExtensibilityElement extElement)
addExtensibilityElement
in interface ElementExtensible
extElement
- the extensibility element to be addedpublic java.util.List getExtensibilityElements()
getExtensibilityElements
in interface ElementExtensible
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2003,2005 IBM. All Rights Reserved.