public class DADescriptor
extends java.lang.Object
implements java.lang.Comparable
This class contains the DA related information from a DAAdvert message. URL Scope list Attribute list
| Constructor and Description |
|---|
DADescriptor(java.lang.String pURL,
java.util.TreeSet pScopeSet,
java.util.List pAttributes)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o) |
java.lang.String |
getURL()
getURL
|
int |
hashCode() |
boolean |
hasScope(java.lang.String pScope)
hasScope
|
java.lang.String |
toString() |
public DADescriptor(java.lang.String pURL,
java.util.TreeSet pScopeSet,
java.util.List pAttributes)
pURL - pScopeSet - - set of scope StringspAttributes - - set of ServiceLocationAttributespublic java.lang.String getURL()
public boolean hasScope(java.lang.String pScope)
pScope - public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005, 2011 IBM Corporation. All Rights Reserved.