com.sas.services
Class AbstractServiceAttribute

java.lang.Object
  |
  +--com.sas.services.AbstractServiceAttribute
All Implemented Interfaces:
ServiceAttributeInterface
Direct Known Subclasses:
IdAttribute, IsRemotelyAccessibleAttribute, MetadataAttribute, ServiceGroupAttribute

public class AbstractServiceAttribute
extends Object
implements ServiceAttributeInterface

Service attribute describing some additional criteria that may be used to distinguish services that implement the same service type(s) as specified by Java classes. Zero or more service attributes may be associated with a service that is to be accessible in the context of the Discovery service.

Each service is free to determine whether or not it wants to define attributes to qualify its lookup via the Discovery service. If such filtering is desired then the service implementor must define one or more classes that extend this AbstractServiceAttribute class subject to the following considerations:

Since:
1.0
See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version ID.
 
Constructor Summary
AbstractServiceAttribute()
          Constructs a default instance.
 
Method Summary
 boolean equals(Object other)
          Determines whether or not the other object equals this object.
 int hashCode()
          Gets a hash code for this service attribute.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version ID. This value should be changed to break backward compatibility with previously serialized versions.
Constructor Detail

AbstractServiceAttribute

public AbstractServiceAttribute()
Constructs a default instance.
Method Detail

hashCode

public final int hashCode()
Gets a hash code for this service attribute. The hash is an XOR of all of this service's fields.
Overrides:
hashCode in class Object
Returns:
Hash code.

equals

public boolean equals(Object other)
Determines whether or not the other object equals this object.
Overrides:
equals in class Object
Parameters:
other - Other object.
Returns:
true if the objects are equivalent.




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:52