com.ibm.itim.adhocreport
Class EntityInfo

java.lang.Object
  |
  +--com.ibm.itim.adhocreport.EntityInfo

public class EntityInfo
extends java.lang.Object


Constructor Summary
EntityInfo(java.lang.String entityName, DistinguishedName tenantDN, java.sql.Connection conn)
           
EntityInfo(java.lang.String entityName, java.lang.String tableName, java.lang.String[] columnNames, java.lang.String[] attributeNames, DistinguishedName tenantDN, java.sql.Connection conn)
           
EntityInfo(java.lang.String entityName, java.lang.String tableName, java.lang.String[] columnNames, java.lang.String[] attributeNames, java.sql.PreparedStatement[] prepStmts, DistinguishedName tenantDN)
           
EntityInfo(java.lang.String entityName, java.lang.String tableName, java.lang.String targetClass, java.util.HashMap targetClassMap, java.lang.String[] columnNames, java.lang.String[] attributeNames, DistinguishedName tenantDN, java.sql.Connection conn)
           
EntityInfo(java.lang.String entityName, java.lang.String tableName, java.lang.String targetClass, java.util.HashMap targetClassMap, java.lang.String[] columnNames, java.lang.String[] attributeNames, java.sql.PreparedStatement[] prepStmts, DistinguishedName tenantDN)
           
 
Method Summary
 void close()
           
 boolean customClassToBeStaged()
           
 void finalize()
           
 java.lang.String[] getAttributeNames()
           
 java.lang.String[] getColumnNames()
           
 java.lang.String getEntityName()
           
 java.sql.PreparedStatement[] getPreparedStatements()
           
 java.lang.String getTableName()
           
 java.lang.String getTargetClass()
           
 java.util.HashMap getTargetClassMap()
           
 boolean hasSelfPrincipal()
           
 void resetAttributePermissions()
           
 void setAttributeNames(java.lang.String[] attributeNames)
           
 void setCategory(DistinguishedName tenantDN)
           
 void setColumnNames(java.lang.String[] columnNames)
           
 void setPreparedStatements(java.sql.PreparedStatement[] prepStmts)
          Set the preparedStatements for the entity
 void setTableName(java.lang.String tableName)
           
 void setTargetClass(java.lang.String targetClass)
           
 void setTargetClassMap(java.util.HashMap targetClassMap)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityInfo

public EntityInfo(java.lang.String entityName,
                  java.lang.String tableName,
                  java.lang.String targetClass,
                  java.util.HashMap targetClassMap,
                  java.lang.String[] columnNames,
                  java.lang.String[] attributeNames,
                  java.sql.PreparedStatement[] prepStmts,
                  DistinguishedName tenantDN)

EntityInfo

public EntityInfo(java.lang.String entityName,
                  DistinguishedName tenantDN,
                  java.sql.Connection conn)
           throws ModelCommunicationException,
                  ModelIntegrityException,
                  java.sql.SQLException

EntityInfo

public EntityInfo(java.lang.String entityName,
                  java.lang.String tableName,
                  java.lang.String[] columnNames,
                  java.lang.String[] attributeNames,
                  DistinguishedName tenantDN,
                  java.sql.Connection conn)
           throws ModelCommunicationException,
                  ModelIntegrityException,
                  java.sql.SQLException

EntityInfo

public EntityInfo(java.lang.String entityName,
                  java.lang.String tableName,
                  java.lang.String targetClass,
                  java.util.HashMap targetClassMap,
                  java.lang.String[] columnNames,
                  java.lang.String[] attributeNames,
                  DistinguishedName tenantDN,
                  java.sql.Connection conn)
           throws java.sql.SQLException

EntityInfo

public EntityInfo(java.lang.String entityName,
                  java.lang.String tableName,
                  java.lang.String[] columnNames,
                  java.lang.String[] attributeNames,
                  java.sql.PreparedStatement[] prepStmts,
                  DistinguishedName tenantDN)
           throws ModelCommunicationException,
                  ModelIntegrityException
Method Detail

getEntityName

public java.lang.String getEntityName()

setTableName

public void setTableName(java.lang.String tableName)

getTableName

public java.lang.String getTableName()

setColumnNames

public void setColumnNames(java.lang.String[] columnNames)

getColumnNames

public java.lang.String[] getColumnNames()

setAttributeNames

public void setAttributeNames(java.lang.String[] attributeNames)

getAttributeNames

public java.lang.String[] getAttributeNames()

setTargetClass

public void setTargetClass(java.lang.String targetClass)

getTargetClass

public java.lang.String getTargetClass()

setTargetClassMap

public void setTargetClassMap(java.util.HashMap targetClassMap)

getTargetClassMap

public java.util.HashMap getTargetClassMap()

setPreparedStatements

public void setPreparedStatements(java.sql.PreparedStatement[] prepStmts)
Set the preparedStatements for the entity
Parameters:
PreparedStatement - [] prepStmts

getPreparedStatements

public java.sql.PreparedStatement[] getPreparedStatements()

setCategory

public void setCategory(DistinguishedName tenantDN)

hasSelfPrincipal

public boolean hasSelfPrincipal()

customClassToBeStaged

public boolean customClassToBeStaged()

resetAttributePermissions

public void resetAttributePermissions()

close

public void close()

finalize

public void finalize()