public class DefaultComplexNotification extends java.lang.Object implements Cloneable, ComplexNotification
| Constructor and Description |
|---|
DefaultComplexNotification() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Provides each value of this container to the provided
Visitor. |
void |
addNotification(java.lang.Object arg) |
java.lang.Object |
clone()
Creates a copy of the object.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloneQuietly, cloneQuietlypublic void addNotification(java.lang.Object arg)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Cloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.public void accept(Visitor visitor) throws BaseException
VisitableVisitor.accept in interface Visitablevisitor - the visitor to apply to each value.BaseException - if there is an error while performing the visit