org.apache.wsil.impl
Class WSILElementWithAbstractImpl

java.lang.Object
  extended by org.apache.wsil.impl.WSILElementWithAbstractImpl
All Implemented Interfaces:
java.io.Serializable, WSILElement, WSILElementWithAbstract
Direct Known Subclasses:
InspectionImpl, ServiceImpl, ServiceReferenceElement

public abstract class WSILElementWithAbstractImpl
extends java.lang.Object
implements WSILElementWithAbstract

This class is the base class for all elements that have an abstract.

Version:
1.0
See Also:
Serialized Form

Field Summary
protected  java.util.List abstracts
          Abstracts.
 
Constructor Summary
WSILElementWithAbstractImpl()
          WSILElementWithAbstractImpl constructor.
 
Method Summary
 void addAbstract(Abstract abs)
          Add one abstract to this element.
 void addAbstracts(Abstract[] array)
          Add abstracts to this element.
 Abstract[] getAbstracts()
          Get all abstracts for this element.
 void removeAbstracts()
          Remove all abstracts from this element.
 java.lang.String toString()
          String representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.wsil.WSILElement
toXMLString
 

Field Detail

abstracts

protected java.util.List abstracts
Abstracts.

Constructor Detail

WSILElementWithAbstractImpl

public WSILElementWithAbstractImpl()
WSILElementWithAbstractImpl constructor.

Method Detail

addAbstract

public void addAbstract(Abstract abs)
Add one abstract to this element.

Specified by:
addAbstract in interface WSILElementWithAbstract
Parameters:
abs - the abstract to add

addAbstracts

public void addAbstracts(Abstract[] array)
Add abstracts to this element.

Specified by:
addAbstracts in interface WSILElementWithAbstract
Parameters:
abstracts - the array of abstracts to add

getAbstracts

public Abstract[] getAbstracts()
Get all abstracts for this element.

Specified by:
getAbstracts in interface WSILElementWithAbstract
Returns:
Returns all abstracts for this element.

removeAbstracts

public void removeAbstracts()
Remove all abstracts from this element.

Specified by:
removeAbstracts in interface WSILElementWithAbstract

toString

public java.lang.String toString()
String representation of this object.

Overrides:
toString in class java.lang.Object


Copyright ? 2001 International Business Machines Corporation. All Rights Reserved.