public class ResourceIdentifier extends Object implements IResourceIdentifier
Constructor and Description |
---|
ResourceIdentifier()
Create a resource identifier.
|
ResourceIdentifier(ILocalResourceIdentifier lid,
IGlobalResourceIdentifier gid)
Create a resource identifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Test if equals.
|
IGlobalResourceIdentifier |
getGlobalIdentifier()
Get the global identifier.
|
ILocalResourceIdentifier |
getLocalIdentifier()
Get the local identifier.
|
static IResourceIdentifier |
getLocalResourceIdentifier(IResourceIdentifier rid) |
int |
hashCode()
Get the hashcode.
|
void |
setGlobalIdentifier(IGlobalResourceIdentifier gid)
Set the global identifier.
|
void |
setLocalIdentifier(ILocalResourceIdentifier lid)
Set the local identifier.
|
String |
toString()
Get a string representation of this object.
|
public ResourceIdentifier()
public ResourceIdentifier(ILocalResourceIdentifier lid, IGlobalResourceIdentifier gid)
lid
- The local identifier.gid
- The global idenfifier.public ILocalResourceIdentifier getLocalIdentifier()
getLocalIdentifier
in interface IResourceIdentifier
public IGlobalResourceIdentifier getGlobalIdentifier()
getGlobalIdentifier
in interface IResourceIdentifier
public void setLocalIdentifier(ILocalResourceIdentifier lid)
lid
- The lid to set.public void setGlobalIdentifier(IGlobalResourceIdentifier gid)
gid
- The gid to set.public boolean equals(Object obj)
public static IResourceIdentifier getLocalResourceIdentifier(IResourceIdentifier rid)
Copyright © 2012. All Rights Reserved.