wt.fc.manifest
Class LinkExistenceCriteria
java.lang.Object
wt.fc.manifest.AbstractDirectiveCriteria
wt.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
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
roleDescriptor
private RoleDescriptor roleDescriptor
LinkExistenceCriteria
protected LinkExistenceCriteria(RoleDescriptor rd,
QueryKey[] qks)
- Protected constructor that should only be used by QueryLinkExistenceDirective
or subclass.
Supported API: false
- Parameters:
rd
- qks
-
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()