|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.geant.edugain.meta.metadata.HomeLocator
public class HomeLocator
This class contains a representation of an eduGAIN Home Locator, used for issuing more specific metadata queries
| Field Summary | |
|---|---|
static java.lang.String |
HOME_DOMAIN
homeDomain value of the Home Locator name |
private java.lang.String |
name
Name of the home locator |
static java.lang.String |
NET_ID
netID value of the Home Locator name |
static java.lang.String |
URN
URN value of the Home Locator name |
private java.lang.String |
value
Value of the home locator |
| Constructor Summary | |
|---|---|
HomeLocator()
Constructor |
|
HomeLocator(java.lang.String name,
java.lang.String val)
Constructor, takes as parameters the name and value of the HL. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object locator)
Compare HomeLocators. |
java.lang.String |
getName()
Gets the name of the home locator |
java.lang.String |
getValue()
Gets the value of the home locator |
int |
hashCode()
Get the hash code of this object. |
void |
setHomeDomainHL(java.lang.String val)
Sets the HL name to HOME_DOMAIN, with the given value |
void |
setNetIdHL(java.lang.String val)
Sets the HL name to NET_ID, with the given value |
void |
setURNHL(java.lang.String val)
Sets the HL name to URN, with the given value |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String name
private java.lang.String value
public static final java.lang.String HOME_DOMAIN
public static final java.lang.String NET_ID
public static final java.lang.String URN
| Constructor Detail |
|---|
public HomeLocator()
public HomeLocator(java.lang.String name,
java.lang.String val)
throws MetaQueryException
name - val -
MetaQueryException - if the name parameter is not a supported HL| Method Detail |
|---|
public void setHomeDomainHL(java.lang.String val)
val - the value of the Home Domain HLpublic void setNetIdHL(java.lang.String val)
val - the value of the Net Id HLpublic void setURNHL(java.lang.String val)
val - the value of the Urn HLpublic java.lang.String getName()
public java.lang.String getValue()
public boolean equals(java.lang.Object locator)
equals in class java.lang.Objectlocator - The locator
public int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||