wt.fc.manifest
Class LinkExistenceCriteria

java.lang.Object
  extended bywt.fc.manifest.AbstractDirectiveCriteria
      extended bywt.fc.manifest.LinkExistenceCriteria
All Implemented Interfaces:
DirectiveCriteria
Direct Known Subclasses:
LinkExistenceSingleRoleCriteria

public class LinkExistenceCriteria
extends AbstractDirectiveCriteria

This class is tightly coupled with QueryLinkExistenceDirective. It is the object used to internally store the criteria needed to actually perform the query for links. The QueryLinkExistenceDirective contains a HashMap of LinkExistenceCriteria[] arrays stored with the link class name that the LinkExistenceCriteria represents. There can only ever be two values in each LinkExistenceCriteria[] array, one value for each roleDescriptor.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
private  RoleDescriptor roleDescriptor
           
 
Fields inherited from class wt.fc.manifest.AbstractDirectiveCriteria
 
Fields inherited from interface wt.fc.manifest.DirectiveCriteria
QUERY_KEYS
 
Constructor Summary
protected LinkExistenceCriteria(RoleDescriptor rd, QueryKey[] qks)
          Protected constructor that should only be used by QueryLinkExistenceDirective or subclass.
 
Method Summary
 boolean equals(Object directiveCriteria)
          

Supported API: false
protected  RoleDescriptor getRoleDescriptor()
          Gets the RoleDescriptor for this LinkExistenceCriteria object.
 String toString()
           
 
Methods inherited from class wt.fc.manifest.AbstractDirectiveCriteria
appendQueryKeys, getQueryKeys, getQueryKeysSet
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

roleDescriptor

private RoleDescriptor roleDescriptor
Constructor Detail

LinkExistenceCriteria

protected LinkExistenceCriteria(RoleDescriptor rd,
                                QueryKey[] qks)
Protected constructor that should only be used by QueryLinkExistenceDirective or subclass.

Supported API: false

Parameters:
rd -
qks -
Method Detail

getRoleDescriptor

protected RoleDescriptor getRoleDescriptor()
Gets the RoleDescriptor for this LinkExistenceCriteria object.

Supported API: false

Returns:
RoleDescriptor

equals

public boolean equals(Object directiveCriteria)


Supported API: false

Specified by:
equals in class AbstractDirectiveCriteria
Parameters:
directiveCriteria -
Returns:
boolean

toString

public String toString()