info.sswap.api.input.impl
Class BNodeValueImpl

java.lang.Object
  extended by info.sswap.api.input.impl.BNodeValueImpl
All Implemented Interfaces:
BNodeValue, InputValue, java.io.Serializable

public class BNodeValueImpl
extends java.lang.Object
implements BNodeValue, java.io.Serializable

Author:
Evren Sirin
See Also:
Serialized Form

Field Summary
private  java.lang.String bnodeID
           
 
Constructor Summary
BNodeValueImpl(java.lang.String id)
           
 
Method Summary
 void accept(InputVisitor visitor)
          
 boolean equals(java.lang.Object obj)
           
 java.lang.String getID()
          Get the bnode ID for this value.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

bnodeID

private final java.lang.String bnodeID
Constructor Detail

BNodeValueImpl

public BNodeValueImpl(java.lang.String id)
Method Detail

accept

public void accept(InputVisitor visitor)

Specified by:
accept in interface InputValue

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getID

public java.lang.String getID()
Description copied from interface: BNodeValue
Get the bnode ID for this value.

Specified by:
getID in interface BNodeValue
Returns:
the bnode ID for this value.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.