public class ServiceIdentifier extends java.lang.Object implements IServiceIdentifier
Modifier and Type | Field and Description |
---|---|
protected IComponentIdentifier |
providerid
The provider identifier.
|
protected IResourceIdentifier |
rid
The resource identifier.
|
protected java.lang.String |
scope
The scope.
|
protected java.lang.String |
servicename
The service name.
|
protected java.lang.String |
tostring
The string representation (cached for reducing memory consumption).
|
protected ClassInfo |
type
The service type.
|
Constructor and Description |
---|
ServiceIdentifier()
Create a new service identifier.
|
ServiceIdentifier(IComponentIdentifier providerid,
java.lang.Class<?> type,
java.lang.String servicename,
IResourceIdentifier rid,
java.lang.String scope)
Create a new service identifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Test if an object is equal to this one.
|
IComponentIdentifier |
getProviderId()
Get the service provider identifier.
|
IResourceIdentifier |
getResourceIdentifier()
Get the resource identifier.
|
java.lang.String |
getScope()
Get the scope.
|
java.lang.String |
getServiceName()
Get the service name.
|
ClassInfo |
getServiceType()
Get the service type.
|
int |
hashCode()
Get the hashcode.
|
void |
setProviderId(IComponentIdentifier providerid)
Set the providerid.
|
void |
setReourceIdentifier(IResourceIdentifier rid)
Set the resource identifier.
|
void |
setScope(java.lang.String scope)
Set the scope.
|
void |
setServiceName(java.lang.String servicename)
Set the servicename.
|
void |
setServiceType(ClassInfo type)
Set the service type.
|
java.lang.String |
toString()
Get the string representation.
|
protected IComponentIdentifier providerid
protected java.lang.String servicename
protected ClassInfo type
protected IResourceIdentifier rid
protected java.lang.String scope
protected java.lang.String tostring
public ServiceIdentifier()
public ServiceIdentifier(IComponentIdentifier providerid, java.lang.Class<?> type, java.lang.String servicename, IResourceIdentifier rid, java.lang.String scope)
public IComponentIdentifier getProviderId()
getProviderId
in interface IServiceIdentifier
public void setProviderId(IComponentIdentifier providerid)
providerid
- The providerid to set.public ClassInfo getServiceType()
getServiceType
in interface IServiceIdentifier
public void setServiceType(ClassInfo type)
type
- The service type.public java.lang.String getServiceName()
getServiceName
in interface IServiceIdentifier
public void setServiceName(java.lang.String servicename)
servicename
- The servicename to set.public IResourceIdentifier getResourceIdentifier()
getResourceIdentifier
in interface IServiceIdentifier
public void setReourceIdentifier(IResourceIdentifier rid)
rid
- The resource identifier.public java.lang.String getScope()
getScope
in interface IServiceIdentifier
public void setScope(java.lang.String scope)
scope
- The scope to set.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The object.public java.lang.String toString()
toString
in class java.lang.Object