public class LocalResourceIdentifier extends Object implements ILocalResourceIdentifier
Constructor and Description |
---|
LocalResourceIdentifier()
Create a resource identifier.
|
LocalResourceIdentifier(IComponentIdentifier cid,
URI uri)
Create a resource identifier.
|
LocalResourceIdentifier(IComponentIdentifier cid,
URI uri,
String hostid)
Create a resource identifier.
|
LocalResourceIdentifier(IComponentIdentifier cid,
URL url)
Create a resource identifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Test if equals.
|
IComponentIdentifier |
getComponentIdentifier()
Get the platform identifier belonging to the resource identifier.
|
String |
getHostIdentifier()
Get the host identifier.
|
URI |
getUri()
Get the uri.
|
int |
hashCode()
Get the hashcode.
|
void |
setComponentIdentifier(IComponentIdentifier cid)
Set the platform identifier belonging to the resource identifier.
|
void |
setHostIdentifier(String hostid)
Set the host identifier.
|
void |
setUri(URI uri)
Set the url.
|
String |
toString()
Get a string representation of this object.
|
public LocalResourceIdentifier()
public LocalResourceIdentifier(IComponentIdentifier cid, URL url)
cid
- The platform identifier.url
- The local URL.public LocalResourceIdentifier(IComponentIdentifier cid, URI uri)
cid
- The platform identifier.url
- The local URL.public LocalResourceIdentifier(IComponentIdentifier cid, URI uri, String hostid)
cid
- The platform identifier.url
- The local URL.public IComponentIdentifier getComponentIdentifier()
getComponentIdentifier
in interface ILocalResourceIdentifier
public void setComponentIdentifier(IComponentIdentifier cid)
cid
- The component identifier of the platform.public URI getUri()
getUri
in interface ILocalResourceIdentifier
public void setUri(URI uri)
url
- The resource url.public String getHostIdentifier()
getHostIdentifier
in interface ILocalResourceIdentifier
public void setHostIdentifier(String hostid)
hostid
- The host identifier.Copyright © 2015. All Rights Reserved.