public class IdentifierReference extends Object implements Comparable<IdentifierReference>
| Constructor and Description |
|---|
IdentifierReference(String referenceLocation,
Identifier identifier)
Creates a new instance with a given location for the target referring to
an identifier.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IdentifierReference other) |
boolean |
equals(Object obj) |
Identifier |
getIdentifier()
Gets the identifier referenced.
|
String |
getReferenceLocation()
Gets the location of the target containing the reference.
|
int |
hashCode() |
public IdentifierReference(String referenceLocation, Identifier identifier)
referenceLocation - the location of the target containing the referenceidentifier - the identifier referred topublic String getReferenceLocation()
public Identifier getIdentifier()
public int compareTo(IdentifierReference other)
compareTo in interface Comparable<IdentifierReference>Copyright © 2019. All rights reserved.