public class ServiceIdentifier extends Object implements IServiceIdentifier
Constructor and Description |
---|
ServiceIdentifier()
Create a new service identifier.
|
ServiceIdentifier(IComponentIdentifier providerid,
Class type,
String servicename,
IResourceIdentifier rid)
Create a new service identifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Test if an object is equal to this one.
|
IComponentIdentifier |
getProviderId()
Get the service provider identifier.
|
IResourceIdentifier |
getResourceIdentifier()
Get the resource identifier.
|
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 |
setServiceName(String servicename)
Set the servicename.
|
void |
setServiceType(ClassInfo type)
Set the service type.
|
String |
toString()
Get the string representation.
|
public ServiceIdentifier()
public ServiceIdentifier(IComponentIdentifier providerid, Class type, String servicename, IResourceIdentifier rid)
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 String getServiceName()
getServiceName
in interface IServiceIdentifier
public void setServiceName(String servicename)
servicename
- The servicename to set.public IResourceIdentifier getResourceIdentifier()
getResourceIdentifier
in interface IServiceIdentifier
public void setReourceIdentifier(IResourceIdentifier rid)
rid
- The resource identifier.public int hashCode()
public boolean equals(Object obj)
Copyright © 2012. All Rights Reserved.