org.obolibrary.oboformat.model
Class Clause

java.lang.Object
  extended by org.obolibrary.oboformat.model.Clause

public class Clause
extends Object


Field Summary
protected  Collection<QualifierValue> qualifierValues
           
protected  String tag
           
protected  Collection<Object> values
           
protected  Collection<Xref> xrefs
           
 
Constructor Summary
Clause()
           
Clause(OBOFormatConstants.OboFormatTag tag)
           
Clause(OBOFormatConstants.OboFormatTag tag, String value)
           
Clause(String tag)
           
Clause(String tag, String value)
           
 
Method Summary
 void addQualifierValue(QualifierValue qv)
           
 void addValue(Object v)
           
 void addXref(Xref xref)
           
 boolean equals(Object e)
           
 Collection<QualifierValue> getQualifierValues()
           
 String getTag()
           
 Object getValue()
           
<T> T
getValue(Class<T> cls)
           
 Object getValue2()
           
<T> T
getValue2(Class<T> cls)
           
 Collection<Object> getValues()
           
 Collection<Xref> getXrefs()
           
 void setQualifierValues(Collection<QualifierValue> qualifierValues)
           
 void setTag(String tag)
           
 void setValue(Object v)
           
 void setValues(Collection<Object> values)
           
 void setXrefs(Collection<Xref> xrefs)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tag

protected String tag

values

protected Collection<Object> values

xrefs

protected Collection<Xref> xrefs

qualifierValues

protected Collection<QualifierValue> qualifierValues
Constructor Detail

Clause

public Clause(OBOFormatConstants.OboFormatTag tag)

Clause

public Clause(String tag)

Clause

public Clause(String tag,
              String value)

Clause

public Clause(OBOFormatConstants.OboFormatTag tag,
              String value)

Clause

public Clause()
Method Detail

getTag

public String getTag()

setTag

public void setTag(String tag)

getValues

public Collection<Object> getValues()

setValues

public void setValues(Collection<Object> values)

setValue

public void setValue(Object v)

addValue

public void addValue(Object v)

getValue

public Object getValue()

getValue

public <T> T getValue(Class<T> cls)

getValue2

public Object getValue2()

getValue2

public <T> T getValue2(Class<T> cls)

getXrefs

public Collection<Xref> getXrefs()

setXrefs

public void setXrefs(Collection<Xref> xrefs)

addXref

public void addXref(Xref xref)

getQualifierValues

public Collection<QualifierValue> getQualifierValues()

setQualifierValues

public void setQualifierValues(Collection<QualifierValue> qualifierValues)

addQualifierValue

public void addQualifierValue(QualifierValue qv)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object e)
Overrides:
equals in class Object


Copyright © 2010-2014. All Rights Reserved.