gov.nasa.pds.citool.ingestor
Class Reference

java.lang.Object
  extended by gov.nasa.pds.citool.ingestor.Reference

public class Reference
extends Object

Class that holds metadata of an association.

Author:
hyunlee

Constructor Summary
Reference()
          Constructor.
Reference(String logicalId, String version, String associationType)
           
 
Method Summary
 String getAssociationType()
          Get the association type.
 String getLogicalId()
          Get the logical identifier.
 String getVersion()
          Get the version.
 void setAssociationType(String type)
          Set the association type.
 void setLogicalId(String id)
          Set the logical identifier.
 void setVersion(String ver)
          Set the version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reference

public Reference()
Constructor.


Reference

public Reference(String logicalId,
                 String version,
                 String associationType)
Method Detail

getLogicalId

public String getLogicalId()
Get the logical identifier.

Returns:
A LID.

setLogicalId

public void setLogicalId(String id)
Set the logical identifier.

Parameters:
id - A LID.

getVersion

public String getVersion()
Get the version.

Returns:
A version ID.

setVersion

public void setVersion(String ver)
Set the version.

Parameters:
ver - A version ID.

getAssociationType

public String getAssociationType()
Get the association type.

Returns:
An association type.

setAssociationType

public void setAssociationType(String type)
Set the association type.

Parameters:
type - An association type.


Copyright © 2010-2013 Planetary Data System. All Rights Reserved.