/*******************************************************************************\r
* Copyright (c) 2010 Ericsson\r
- * \r
+ *\r
* All rights reserved. This program and the accompanying materials are\r
* made available under the terms of the Eclipse Public License v1.0 which\r
* accompanies this distribution, and is available at\r
* http://www.eclipse.org/legal/epl-v10.html\r
- * \r
+ *\r
* Contributors:\r
* Patrick Tasse - Initial API and implementation\r
*******************************************************************************/\r
\r
/**\r
* Filter node for the 'or' operation\r
- * \r
+ *\r
* @version 1.0\r
* @author Patrick Tasse\r
*/\r
+@SuppressWarnings("javadoc")\r
public class TmfFilterOrNode extends TmfFilterTreeNode {\r
\r
- public static final String NODE_NAME = "OR"; //$NON-NLS-1$\r
+ public static final String NODE_NAME = "OR"; //$NON-NLS-1$\r
public static final String NOT_ATTR = "not"; //$NON-NLS-1$\r
- \r
+\r
private boolean fNot = false;\r
- \r
+\r
+ /**\r
+ * @param parent the parent node\r
+ */\r
public TmfFilterOrNode(ITmfFilterTreeNode parent) {\r
super(parent);\r
}\r
return NODE_NAME;\r
}\r
\r
+ /**\r
+ * @return the NOT state\r
+ */\r
public boolean isNot() {\r
return fNot;\r
}\r
- \r
+\r
+ /**\r
+ * @param not the NOT state\r
+ */\r
public void setNot(boolean not) {\r
this.fNot = not;\r
}\r
- \r
+\r
@Override\r
public boolean matches(ITmfEvent event) {\r
for (ITmfFilterTreeNode node : getChildren()) {\r