org.sciplore.resources
Class DocumentXref

java.lang.Object
  extended by org.sciplore.resources.Resource
      extended by org.sciplore.resources.DocumentXref

@Entity
public class DocumentXref
extends Resource


Constructor Summary
DocumentXref()
           
DocumentXref(String source, String sourcesId)
           
 
Method Summary
 Document getDocument()
           
 Integer getId()
           
 Date getModified()
           
 String getSource()
           
 String getSourcesId()
           
 void setDocument(Document document)
           
 void setId(Integer id)
           
 void setModified(Date modified)
           
 void setSource(String source)
           
 void setSourcesId(String sourcesId)
           
static DocumentXref sync(DocumentXref x)
           
 
Methods inherited from class org.sciplore.resources.Resource
save
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentXref

public DocumentXref()

DocumentXref

public DocumentXref(String source,
                    String sourcesId)
Method Detail

sync

public static DocumentXref sync(DocumentXref x)

getId

public Integer getId()
Returns:
the id

setId

public void setId(Integer id)
Parameters:
id - the id to set

getDocument

public Document getDocument()
Returns:
the document

setDocument

public void setDocument(Document document)
Parameters:
document - the document to set

getSource

public String getSource()
Returns:
the source

setSource

public void setSource(String source)
Parameters:
source - the source to set

getSourcesId

public String getSourcesId()
Returns:
the sourcesId

setSourcesId

public void setSourcesId(String sourcesId)
Parameters:
sourcesId - the sourcesId to set

getModified

public Date getModified()
Returns:
the modified

setModified

public void setModified(Date modified)
Parameters:
modified - the modified to set