@Entity public class LSIDAuthority extends CdmBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTHORITY_ID_PREFIX |
CLOB_LENGTH, uuid
Constructor and Description |
---|
LSIDAuthority(LSID lsid)
Convenience constructor, construct an LSID authority object
|
LSIDAuthority(java.lang.String authstr)
Construct an LSID authority object.
|
Modifier and Type | Method and Description |
---|---|
void |
addNamespace(java.lang.String namespace,
java.lang.Class<? extends IIdentifiableEntity> identifiableClass) |
boolean |
equals(java.lang.Object o)
Tests equality on the authority string
|
java.lang.String |
getAuthority()
Returns the authority String
|
java.lang.String |
getAuthorityEnpointURL(java.lang.String server,
int port)
get the url of an authority with the given server and port
|
java.lang.String |
getAuthorityID()
Returns the authority ID representation of this authority, lsidauth:authstr
|
java.util.Map<java.lang.String,java.lang.Class<? extends IIdentifiableEntity>> |
getNamespaces() |
int |
getPort()
Returns the port of the resolved Authority, invalid until resolved.
|
java.lang.String |
getServer()
Returns the server of the resolved Authority, invalid until resolved.
|
java.lang.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(java.lang.String namespace) |
void |
setPort(int port)
Sets the port.
|
void |
setServer(java.lang.String server)
Sets the server.
|
void |
setUrl(java.lang.String url)
Sets the URL to use.
|
void |
setWSDL(javax.wsdl.Definition wsdl)
Set the wsdl describing the ports available
|
java.lang.String |
toString()
Returns the authority String
|
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, clone, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, initListener, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid
public static final java.lang.String AUTHORITY_ID_PREFIX
public LSIDAuthority(java.lang.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)
LSID
- use this LSID's authority to construct this objectpublic java.lang.String getAuthority()
public java.lang.String getAuthorityID()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
public int getPort()
public java.lang.String getServer()
public java.lang.String getUrl()
public void setPort(int port)
port
- The port to setpublic void setServer(java.lang.String server)
server
- The server to setpublic void setUrl(java.lang.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 java.lang.String getAuthorityEnpointURL(java.lang.String server, int port)
public java.util.Map<java.lang.String,java.lang.Class<? extends IIdentifiableEntity>> getNamespaces()
public void addNamespace(java.lang.String namespace, java.lang.Class<? extends IIdentifiableEntity> identifiableClass)
public void removeNamespace(java.lang.String namespace)
Copyright © 2007-2020 EDIT. All Rights Reserved.