HiRISE

HiRISE.HiPlan.PTF
Class StringFieldPair<K>

java.lang.Object
  extended by HiRISE.HiPlan.PTF.StringFieldPair<K>
All Implemented Interfaces:
FieldPair<K,String>

public final class StringFieldPair<K>
extends Object
implements FieldPair<K,String>

A PTF field pair for string values.

NOTE This class is in flux.

Version:
1.1
Author:
Christian Schaller - UA/PIRL

Field Summary
static String ID
          Class identification name with source code version and date.
 
Constructor Summary
StringFieldPair(String value1, String value2)
           
 
Method Summary
 String getFieldName()
           
 K getId()
           
 String getValue1()
           
 String getValue2()
           
 void setFieldName(String fieldName)
           
 void setId(K id)
           
 void setValue1(String value)
           
 void setValue2(String value)
           
 boolean valuesDiffer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values
Constructor Detail

StringFieldPair

public StringFieldPair(String value1,
                       String value2)
Method Detail

getId

public K getId()
Specified by:
getId in interface FieldPair<K,String>

setId

public void setId(K id)
Specified by:
setId in interface FieldPair<K,String>

getFieldName

public String getFieldName()
Specified by:
getFieldName in interface FieldPair<K,String>

setFieldName

public void setFieldName(String fieldName)
Specified by:
setFieldName in interface FieldPair<K,String>

getValue1

public String getValue1()
Specified by:
getValue1 in interface FieldPair<K,String>

setValue1

public void setValue1(String value)
Specified by:
setValue1 in interface FieldPair<K,String>

getValue2

public String getValue2()
Specified by:
getValue2 in interface FieldPair<K,String>

setValue2

public void setValue2(String value)
Specified by:
setValue2 in interface FieldPair<K,String>

valuesDiffer

public boolean valuesDiffer()
Specified by:
valuesDiffer in interface FieldPair<K,String>

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona