public class GlobalResourceIdentifier extends Object implements IGlobalResourceIdentifier
Constructor and Description |
---|
GlobalResourceIdentifier()
Create a resource identifier.
|
GlobalResourceIdentifier(String id,
URL url,
String versioninfo)
Create a resource identifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Test if equals.
|
URL |
getRepositoryInfo()
todo: make struct to also allow containing
Get the url.
|
String |
getResourceId()
Get the resource id.
|
String |
getVersionInfo()
Get the version info.
|
int |
hashCode()
Get the hashcode.
|
void |
setRepositoryInfo(URL url)
Set the repository info.
|
void |
setResourceId(String id)
Set the id.
|
void |
setVersionInfo(String versioninfo)
Set the version info.
|
String |
toString()
Get a string representation of this object.
|
public GlobalResourceIdentifier()
public String getResourceId()
getResourceId
in interface IGlobalResourceIdentifier
public URL getRepositoryInfo()
getRepositoryInfo
in interface IGlobalResourceIdentifier
public void setResourceId(String id)
id
- The id.public void setRepositoryInfo(URL url)
info
- The info.public String getVersionInfo()
getVersionInfo
in interface IGlobalResourceIdentifier
public void setVersionInfo(String versioninfo)
Copyright © 2013. All Rights Reserved.