Package gov.nasa.pds.tools.validate
Class Identifier
- java.lang.Object
-
- gov.nasa.pds.tools.validate.Identifier
-
public class Identifier extends Object
Class that represents the lidvid of a PDS4 data product.- Author:
- mcayanan
-
-
Constructor Summary
Constructors Constructor Description Identifier(String id)
Identifier(String lid, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getLid()
String
getVersion()
int
hashCode()
boolean
hasVersion()
boolean
nearNeighbor(Identifier identifier)
Determines where 2 LIDVIDs are near neighbors (equal in some cases).String
toString()
-
-
-
Method Detail
-
getLid
public String getLid()
-
getVersion
public String getVersion()
-
hasVersion
public boolean hasVersion()
-
nearNeighbor
public boolean nearNeighbor(Identifier identifier)
Determines where 2 LIDVIDs are near neighbors (equal in some cases).
-
-