Package org.apache.wsil.impl
Class WSILElementWithAbstractImpl
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected java.util.ListabstractsAbstracts.
-
Constructor Summary
Constructors Constructor Description WSILElementWithAbstractImpl()WSILElementWithAbstractImpl constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAbstract(Abstract abs)Add one abstract to this element.voidaddAbstracts(Abstract[] array)Add abstracts to this element.Abstract[]getAbstracts()Get all abstracts for this element.voidremoveAbstracts()Remove all abstracts from this element.java.lang.StringtoString()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
-
-
-
-
Method Detail
-
addAbstract
public void addAbstract(Abstract abs)
Add one abstract to this element.- Specified by:
addAbstractin interfaceWSILElementWithAbstract- Parameters:
abs- the abstract to add
-
addAbstracts
public void addAbstracts(Abstract[] array)
Add abstracts to this element.- Specified by:
addAbstractsin interfaceWSILElementWithAbstract- Parameters:
abstracts- the array of abstracts to add
-
getAbstracts
public Abstract[] getAbstracts()
Get all abstracts for this element.- Specified by:
getAbstractsin interfaceWSILElementWithAbstract- Returns:
- Returns all abstracts for this element.
-
removeAbstracts
public void removeAbstracts()
Remove all abstracts from this element.- Specified by:
removeAbstractsin interfaceWSILElementWithAbstract
-
toString
public java.lang.String toString()
String representation of this object.- Overrides:
toStringin classjava.lang.Object
-
-