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 booleanequals(Object o)StringgetLid()StringgetVersion()inthashCode()booleanhasVersion()booleannearNeighbor(Identifier identifier)Determines where 2 LIDVIDs are near neighbors (equal in some cases).StringtoString()
-
-
-
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).
-
-