com.hudson.hibernatesynchronizer.mapping
Class HibernateDocument

java.lang.Object
  extended bycom.hudson.hibernatesynchronizer.mapping.HibernateDocument

public class HibernateDocument
extends java.lang.Object


Nested Class Summary
 class HibernateDocument.LocalEntityResolver
           
 
Constructor Summary
HibernateDocument(IFile file)
          Load the document from the file contents
 
Method Summary
 java.util.List getClasses()
           
 org.w3c.dom.Document getDocument()
          Return the XML document relating to this mapping file
 IFile getFile()
           
 java.lang.String getFilePathInProject()
           
 long getLastModTime()
           
 java.lang.String getPackageName()
           
 java.util.List getQueries()
           
protected  boolean hasTopLevelSubclassNodes()
           
 void load(java.io.InputStream is)
          Load this document from the given input stream
 boolean loadTopLevelSubclasses(java.util.Map classes)
          Load this document from the given input stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateDocument

public HibernateDocument(IFile file)
                  throws java.lang.Exception
Load the document from the file contents

Parameters:
file -
Method Detail

load

public void load(java.io.InputStream is)
          throws java.lang.Exception
Load this document from the given input stream

Parameters:
is -
Throws:
java.lang.Exception

loadTopLevelSubclasses

public boolean loadTopLevelSubclasses(java.util.Map classes)
                               throws java.lang.Exception
Load this document from the given input stream

Throws:
java.lang.Exception

getLastModTime

public long getLastModTime()

getClasses

public java.util.List getClasses()

getQueries

public java.util.List getQueries()

getFile

public IFile getFile()
Returns:
Returns the file.

getFilePathInProject

public java.lang.String getFilePathInProject()

getPackageName

public java.lang.String getPackageName()
Returns:
Returns the packageName.

hasTopLevelSubclassNodes

protected boolean hasTopLevelSubclassNodes()
Returns:
Returns the hasTopLevelSubclassNodes.

getDocument

public org.w3c.dom.Document getDocument()
Return the XML document relating to this mapping file