Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


oracle.webcenter.search
Class NamePredicate

java.lang.Object
  extended by oracle.webcenter.search.Predicate
      extended by oracle.webcenter.search.NamedPredicate
          extended by oracle.webcenter.search.NamePredicate

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ExistencePredicate

public class NamePredicate
extends NamedPredicate

A predicate that tests for the name of whatever we are looking for.

Since:
11.1.1.0.0 Beta 2
See Also:
Serialized Form

Constructor Summary
NamePredicate(QName name)
          Creates a criterion that tests for the name of the sought entity.

 

Method Summary
 Predicate clonePredicate()
          Clones the Predicate so that any modifications to the internals of it won't be committed across different services' consumption of this.
 QName getName()
          Child classes implement this method to return the name of the entity that we seek.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

NamePredicate

public NamePredicate(QName name)
Creates a criterion that tests for the name of the sought entity.
Parameters:
name - name sought by criterion

Method Detail

getName

public QName getName()
Description copied from class: NamedPredicate
Child classes implement this method to return the name of the entity that we seek.
Specified by:
getName in class NamedPredicate
Returns:
name sought by criterion

clonePredicate

public Predicate clonePredicate()
Description copied from class: Predicate
Clones the Predicate so that any modifications to the internals of it won't be committed across different services' consumption of this.
Overrides:
clonePredicate in class Predicate
Returns:
a clone of itself.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-04


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.