axis_examplecompt_changesinfo-opsversion-2.00version-3.01version-3.02
Last change
on this file since 0b4e272 was
8780cbec,
checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago
|
ABAC sources from Cobham
|
-
Property mode set to
100644
|
File size:
624 bytes
|
Line | |
---|
1 | package edu.stanford.peer.rbtm.util; |
---|
2 | |
---|
3 | |
---|
4 | import edu.stanford.peer.rbtm.credential.EntityExpression; |
---|
5 | |
---|
6 | /** |
---|
7 | * A predicate function which tests an object and returns the results. The |
---|
8 | * class also provides an object reference which may be null. |
---|
9 | */ |
---|
10 | public interface Predicate extends java.io.Serializable |
---|
11 | { |
---|
12 | public static final String SIMP = "simple"; |
---|
13 | |
---|
14 | public static final String SENS = "sensitive"; |
---|
15 | |
---|
16 | public static final String OPPO = "opponent"; |
---|
17 | |
---|
18 | /** |
---|
19 | * The testing function for a predicate. |
---|
20 | * @return the success or failure of the predicate |
---|
21 | */ |
---|
22 | public boolean test(EntityExpression expr); |
---|
23 | |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.