org.biopax.paxtools.impl.level3
Class PublicationXrefImpl

java.lang.Object
  extended by org.biopax.paxtools.impl.BioPAXElementImpl
      extended by org.biopax.paxtools.impl.level3.L3ElementImpl
          extended by org.biopax.paxtools.impl.level3.XrefImpl
              extended by org.biopax.paxtools.impl.level3.PublicationXrefImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, BioPAXElement, Level3Element, PublicationXref, UtilityClass, Xref

@Entity
@Indexed
public class PublicationXrefImpl
extends XrefImpl
implements PublicationXref

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.biopax.paxtools.model.BioPAXElement
BioPAXElement.Key
 
Field Summary
 
Fields inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
SEARCH_FIELD_AVAILABILITY, SEARCH_FIELD_COMMENT, SEARCH_FIELD_EC_NUMBER, SEARCH_FIELD_KEYWORD, SEARCH_FIELD_NAME, SEARCH_FIELD_SEQUENCE, SEARCH_FIELD_TERM, SEARCH_FIELD_XREF_DB, SEARCH_FIELD_XREF_ID, SEARCH_INDEX_NAME
 
Fields inherited from interface org.biopax.paxtools.model.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
 
Constructor Summary
PublicationXrefImpl()
          Constructor.
 
Method Summary
 void addAuthor(java.lang.String author)
           
 void addSource(java.lang.String source)
           
 void addUrl(java.lang.String url)
           
 java.util.Set<java.lang.String> getAuthor()
           
 java.lang.Class<? extends PublicationXref> getModelInterface()
          This method returns the actual model interface that a class implements.
 java.util.Set<java.lang.String> getSource()
           
 java.lang.String getTitle()
           
 java.util.Set<java.lang.String> getUrl()
           
 int getYear()
           
 void removeAuthor(java.lang.String author)
           
 void removeSource(java.lang.String source)
           
 void removeUrl(java.lang.String url)
           
protected  boolean semanticallyEquivalent(BioPAXElement other)
           
 void setAuthor(java.util.Set<java.lang.String> author)
           
 void setSource(java.util.Set<java.lang.String> source)
           
 void setTitle(java.lang.String title)
           
 void setUrl(java.util.Set<java.lang.String> url)
           
 void setYear(int year)
           
 
Methods inherited from class org.biopax.paxtools.impl.level3.XrefImpl
equivalenceCode, getDb, getDbVersion, getId, getIdVersion, getIdx, getXrefOf, setDb, setDbVersion, setId, setIdVersion, setIdx, setXrefOf, toString
 
Methods inherited from class org.biopax.paxtools.impl.level3.L3ElementImpl
addComment, getComment, removeComment, setComment
 
Methods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
getAnnotations, getProxyId, getRDFId, getVersion, isEquivalent, setProxyId, setRDFId, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.biopax.paxtools.model.level3.Xref
getDb, getDbVersion, getId, getIdVersion, getXrefOf, setDb, setDbVersion, setId, setIdVersion
 
Methods inherited from interface org.biopax.paxtools.model.level3.Level3Element
addComment, getComment, removeComment
 
Methods inherited from interface org.biopax.paxtools.model.BioPAXElement
equivalenceCode, getAnnotations, getRDFId, isEquivalent
 

Constructor Detail

PublicationXrefImpl

public PublicationXrefImpl()
Constructor.

Method Detail

getModelInterface

public java.lang.Class<? extends PublicationXref> getModelInterface()
Description copied from interface: BioPAXElement
This method returns the actual model interface that a class implements.

Specified by:
getModelInterface in interface BioPAXElement
Returns:
an interface from org.biopax.paxtools.model package corresponding to a BioPAX class.

getAuthor

@Field(name="keyword",
       index=TOKENIZED)
@FieldBridge(impl=SetStringBridge.class)
public java.util.Set<java.lang.String> getAuthor()
Specified by:
getAuthor in interface PublicationXref

setAuthor

public void setAuthor(java.util.Set<java.lang.String> author)

addAuthor

public void addAuthor(java.lang.String author)
Specified by:
addAuthor in interface PublicationXref

removeAuthor

public void removeAuthor(java.lang.String author)
Specified by:
removeAuthor in interface PublicationXref

getSource

@Field(name="keyword",
       index=TOKENIZED)
@FieldBridge(impl=SetStringBridge.class)
public java.util.Set<java.lang.String> getSource()
Specified by:
getSource in interface PublicationXref

setSource

public void setSource(java.util.Set<java.lang.String> source)

addSource

public void addSource(java.lang.String source)
Specified by:
addSource in interface PublicationXref

removeSource

public void removeSource(java.lang.String source)
Specified by:
removeSource in interface PublicationXref

getTitle

@Field(name="keyword",
       index=TOKENIZED)
public java.lang.String getTitle()
Specified by:
getTitle in interface PublicationXref

setTitle

public void setTitle(java.lang.String title)
Specified by:
setTitle in interface PublicationXref

getUrl

@Field(name="keyword",
       index=TOKENIZED)
@FieldBridge(impl=SetStringBridge.class)
public java.util.Set<java.lang.String> getUrl()
Specified by:
getUrl in interface PublicationXref

setUrl

public void setUrl(java.util.Set<java.lang.String> url)

addUrl

public void addUrl(java.lang.String url)
Specified by:
addUrl in interface PublicationXref

removeUrl

public void removeUrl(java.lang.String url)
Specified by:
removeUrl in interface PublicationXref

getYear

@Field(name="keyword",
       index=TOKENIZED)
public int getYear()
Specified by:
getYear in interface PublicationXref

setYear

public void setYear(int year)
Specified by:
setYear in interface PublicationXref

semanticallyEquivalent

protected boolean semanticallyEquivalent(BioPAXElement other)
Overrides:
semanticallyEquivalent in class XrefImpl


Copyright © 2011 BioPAX. All Rights Reserved.