org.hibernatespatial.pojo
Class ClassInfo

java.lang.Object
  extended by org.hibernatespatial.pojo.ClassInfo

public class ClassInfo
extends Object


Constructor Summary
ClassInfo(String tableName, String className)
           
 
Method Summary
 void addAttribute(AttributeInfo ai)
           
 void clearAttributes()
           
 boolean equals(Object obj)
           
 List<AttributeInfo> getAttributes()
           
 String getClassName()
           
 AttributeInfo getGeomAttribute()
           
 AttributeInfo getIdAttribute()
           
 String getTableName()
           
 int hashCode()
           
 void removeAttribute(AttributeInfo ai)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassInfo

public ClassInfo(String tableName,
                 String className)
Method Detail

getIdAttribute

public AttributeInfo getIdAttribute()
                             throws MissingIdentifierException
Throws:
MissingIdentifierException

getGeomAttribute

public AttributeInfo getGeomAttribute()
                               throws GeometryNotFoundException
Throws:
GeometryNotFoundException

getAttributes

public List<AttributeInfo> getAttributes()

getClassName

public String getClassName()

getTableName

public String getTableName()

addAttribute

public void addAttribute(AttributeInfo ai)

removeAttribute

public void removeAttribute(AttributeInfo ai)

clearAttributes

public void clearAttributes()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2011 hibernatespatial.org. All Rights Reserved.