home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / java / rmi / activation / ActivationGroupDesc.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1.9 KB  |  60 lines

  1. package java.rmi.activation;
  2.  
  3. import java.io.Serializable;
  4. import java.rmi.MarshalledObject;
  5. import java.util.Properties;
  6.  
  7. public final class ActivationGroupDesc implements Serializable {
  8.    private String className;
  9.    private String location;
  10.    private MarshalledObject data;
  11.    private CommandEnvironment env;
  12.    private Properties props;
  13.    private static final long serialVersionUID = -4936225423168276595L;
  14.  
  15.    public ActivationGroupDesc(Properties var1, CommandEnvironment var2) {
  16.       this((String)null, (String)null, (MarshalledObject)null, var1, var2);
  17.    }
  18.  
  19.    public ActivationGroupDesc(String var1, String var2, MarshalledObject var3, Properties var4, CommandEnvironment var5) {
  20.       this.props = var4;
  21.       this.env = var5;
  22.       this.data = var3;
  23.       this.location = var2;
  24.       this.className = var1;
  25.    }
  26.  
  27.    public String getClassName() {
  28.       return this.className;
  29.    }
  30.  
  31.    public String getLocation() {
  32.       return this.location;
  33.    }
  34.  
  35.    public MarshalledObject getData() {
  36.       return this.data;
  37.    }
  38.  
  39.    public Properties getPropertyOverrides() {
  40.       return this.props != null ? (Properties)this.props.clone() : null;
  41.    }
  42.  
  43.    public CommandEnvironment getCommandEnvironment() {
  44.       return this.env;
  45.    }
  46.  
  47.    public boolean equals(Object var1) {
  48.       if (var1 instanceof ActivationGroupDesc) {
  49.          ActivationGroupDesc var2 = (ActivationGroupDesc)var1;
  50.          return (this.className == null ? var2.className == null : this.className.equals(var2.className)) && (this.location == null ? var2.location == null : this.location.equals(var2.location)) && (this.data == null ? var2.data == null : this.data.equals(var2.data)) && (this.env == null ? var2.env == null : this.env.equals(var2.env)) && (this.props == null ? var2.props == null : this.props.equals(var2.props));
  51.       } else {
  52.          return false;
  53.       }
  54.    }
  55.  
  56.    public int hashCode() {
  57.       return (this.location == null ? 0 : this.location.hashCode() << 24) ^ (this.env == null ? 0 : this.env.hashCode() << 16) ^ (this.className == null ? 0 : this.className.hashCode() << 8) ^ (this.data == null ? 0 : this.data.hashCode());
  58.    }
  59. }
  60.