Updated package names so things will compile.
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / aa / ArpFilterValue.java
1 package edu.internet2.middleware.shibboleth.aa;
2
3 import java.io.*;
4 public class ArpFilterValue implements Serializable{
5
6
7     // Associations
8     protected Object value;
9     protected boolean include;
10
11
12     // Constructor
13     public ArpFilterValue(Object value, boolean include){
14         this.value = value;
15         this.include = include;
16     }
17
18     // Operations
19
20     public boolean mustInclude(){
21         return include; 
22     }
23
24     public Object getValue(){
25         return value;
26     }
27     
28     public boolean equlas(Object afv){
29         return value.equals(((ArpFilterValue)afv).getValue());
30     }
31
32     public String toString(){
33         return value+(include?"(include)":"");
34     }
35
36 } /* end class ArpFilterValue */