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.List
abstracts
Abstracts.
-
Constructor Summary
Constructors Constructor Description WSILElementWithAbstractImpl()
WSILElementWithAbstractImpl constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
addAbstract
public void addAbstract(Abstract abs)
Add one abstract to this element.- Specified by:
addAbstract
in interfaceWSILElementWithAbstract
- Parameters:
abs
- the abstract to add
-
addAbstracts
public void addAbstracts(Abstract[] array)
Add abstracts to this element.- Specified by:
addAbstracts
in interfaceWSILElementWithAbstract
- Parameters:
abstracts
- the array of abstracts to add
-
getAbstracts
public Abstract[] getAbstracts()
Get all abstracts for this element.- Specified by:
getAbstracts
in interfaceWSILElementWithAbstract
- Returns:
- Returns all abstracts for this element.
-
removeAbstracts
public void removeAbstracts()
Remove all abstracts from this element.- Specified by:
removeAbstracts
in interfaceWSILElementWithAbstract
-
toString
public java.lang.String toString()
String representation of this object.- Overrides:
toString
in classjava.lang.Object
-
-