public class IdentifierReference extends java.lang.Object implements java.lang.Comparable<IdentifierReference>
Constructor and Description |
---|
IdentifierReference(java.lang.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(java.lang.Object obj) |
Identifier |
getIdentifier()
Gets the identifier referenced.
|
java.lang.String |
getReferenceLocation()
Gets the location of the target containing the reference.
|
int |
hashCode() |
public IdentifierReference(java.lang.String referenceLocation, Identifier identifier)
referenceLocation
- the location of the target containing the referenceidentifier
- the identifier referred topublic java.lang.String getReferenceLocation()
public Identifier getIdentifier()
public int compareTo(IdentifierReference other)
compareTo
in interface java.lang.Comparable<IdentifierReference>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.