|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.LSIDAuthority
public class LSIDAuthority
| Field Summary | |
|---|---|
static String |
AUTHORITY_ID_PREFIX
|
| Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
|---|
uuid |
| Constructor Summary | |
|---|---|
LSIDAuthority(LSID lsid)
Convenience constructor, construct an LSID authority object |
|
LSIDAuthority(String authstr)
Construct an LSID authority object. |
|
| Method Summary | |
|---|---|
void |
addNamespace(String namespace,
Class<? extends IIdentifiableEntity> identifiableClass)
|
boolean |
equals(Object o)
Tests equality on the authority string |
String |
getAuthority()
Returns the authority String |
String |
getAuthorityEnpointURL(String server,
int port)
get the url of an authority with the given server and port |
String |
getAuthorityID()
Returns the authority ID representation of this authority, lsidauth:authstr |
Map<String,Class<? extends IIdentifiableEntity>> |
getNamespaces()
|
int |
getPort()
Returns the port of the resolved Authority, invalid until resolved. |
String |
getServer()
Returns the server of the resolved Authority, invalid until resolved. |
String |
getUrl()
Returns the url of the resolved Authority, invalid until resolved. |
javax.wsdl.Definition |
getWSDL()
get the wsdl describing the ports available |
boolean |
isResolved()
|
void |
removeNamespace(String namespace)
|
void |
setPort(int port)
Sets the port. |
void |
setServer(String server)
Sets the server. |
void |
setUrl(String url)
Sets the URL to use. |
void |
setWSDL(javax.wsdl.Definition wsdl)
Set the wsdl describing the ports available |
String |
toString()
Returns the authority String |
| Methods inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
|---|
addPropertyChangeListener, addPropertyChangeListener, clone, clone, deproxy, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUuid, hashCode, hasListeners, invokeSetMethod, invokeSetMethodWithNull, isInstanceOf, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String AUTHORITY_ID_PREFIX
| Constructor Detail |
|---|
public LSIDAuthority(String authstr)
throws com.ibm.lsid.MalformedLSIDException
String - LSID Authority must be valid authority string, or an ID of the form: lsidauth:com.ibm.lsid.MalformedLSIDException
public LSIDAuthority(LSID lsid)
throws com.ibm.lsid.MalformedLSIDException
LSID - use this LSID's authority to construct this object
com.ibm.lsid.MalformedLSIDException| Method Detail |
|---|
public String getAuthority()
public String getAuthorityID()
public String toString()
toString in class CdmBaseObject.toString()public boolean equals(Object o)
equals in class CdmBaseSee {@link http://www.hibernate.org/109.html hibernate109}, {@link http://www.geocities.com/technofundo/tech/java/equalhash.html geocities}
or {@link http://www.ibm.com/developerworks/java/library/j-jtp05273.html ibm}
for more information about equals and hashcode.public int getPort()
public String getServer()
public String getUrl()
public void setPort(int port)
port - The port to setpublic void setServer(String server)
server - The server to setpublic void setUrl(String url)
server - The server to setpublic void setWSDL(javax.wsdl.Definition wsdl)
LSIDWSDLWrapper - the wsdl to setpublic javax.wsdl.Definition getWSDL()
public boolean isResolved()
public String getAuthorityEnpointURL(String server,
int port)
public Map<String,Class<? extends IIdentifiableEntity>> getNamespaces()
public void addNamespace(String namespace,
Class<? extends IIdentifiableEntity> identifiableClass)
public void removeNamespace(String namespace)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||