com.mizar.trinidad.components.admin
Class UserSdoGeomMetadataRow

java.lang.Object
  extended by com.mizar.persistence.jpa.beans.GenericBean
      extended by com.mizar.metadata.db.bean.UserSdoGeomMetadataBean
          extended by com.mizar.trinidad.components.admin.UserSdoGeomMetadataRow
All Implemented Interfaces:
RowInterface, RowMutable, JPAInterface, java.io.Serializable, java.lang.Comparable

public class UserSdoGeomMetadataRow
extends UserSdoGeomMetadataBean
implements RowMutable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mizar.persistence.jpa.beans.GenericBean
_logger, DELETE, EDIT, NEW, READ, serialVersionUID
 
Constructor Summary
UserSdoGeomMetadataRow()
           
 
Method Summary
 java.lang.String createIndexScript()
           
 void createIndexScript(javax.faces.event.ActionEvent ignore)
           
 UserSdoGeomMetadataRow createRow()
           
 void createSpatialIndex(javax.faces.event.ActionEvent ignore)
           
 void deleteRow(javax.faces.event.ActionEvent ae)
           
 void dropSpatialIndex(javax.faces.event.ActionEvent ignore)
           
 java.lang.Object getDiminfo()
           
 oracle.spatial.network.SDODimArray getDiminfo(java.util.List<SdoDimElement> sdoDimElements)
           
 java.lang.String getDimInfoDescription()
           
 java.lang.String getDiminfoString(java.util.List<SdoDimElement> sdoDimElements)
           
 boolean getHasSpatialIndex()
           
 java.lang.String getOwner()
           
 java.util.List<SdoDimElement> getSdoDimElements()
           
 boolean isUserReadOnly()
           
 boolean matchesDiminfo(UserSdoGeomMetadataRow otherRow)
           
 boolean matchesGeometry(UserSdoGeomMetadataRow otherRow)
           
 void rebuildSpatialIndex(javax.faces.event.ActionEvent ignore)
           
 void refreshRow(javax.faces.event.ActionEvent ae)
           
 void resetDiminfo(java.util.List<SdoDimElement> sdoDimElements)
           
 void setDiminfo(java.util.List<SdoDimElement> sdoDimElements)
           
 void setDiminfo(org.eclipse.persistence.internal.helper.NonSynchronizedVector diminfo)
           
 void setSdoDimElements(java.util.List<SdoDimElement> sdoDimElements)
           
 void setTemplate(javax.faces.event.ActionEvent ignore)
           
 void updateByReadingTable(javax.faces.event.ActionEvent ignore)
           
 void updateByTemplate(javax.faces.event.ActionEvent ignore)
           
 void updateRow(javax.faces.event.ActionEvent ae)
           
 
Methods inherited from class com.mizar.metadata.db.bean.UserSdoGeomMetadataBean
addUserSdoThemesBean, getColumnName, getJustTableName, getOwnerName, getPk, getPrimaryKeyValue, getSrid, getTableName, getThemes, removeUserSdoThemesBean, setPk, setSrid, setThemes
 
Methods inherited from class com.mizar.persistence.jpa.beans.GenericBean
compareTo, equals, getDELETE, getEDIT, getEntityState, getEntityStateLabel, getLogger, getNEW, getREAD, hashCode, isEditable, isNew, setEditable, setEntityState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mizar.faces.javax.components.RowMutable
isEditable, setEntityState
 
Methods inherited from interface com.mizar.faces.javax.components.RowInterface
getEntityState, getEntityStateLabel, getPrimaryKeyValue
 

Constructor Detail

UserSdoGeomMetadataRow

public UserSdoGeomMetadataRow()
Method Detail

setTemplate

public void setTemplate(javax.faces.event.ActionEvent ignore)

createRow

public UserSdoGeomMetadataRow createRow()
Returns:
See Also:
com.mizar.metadata.utils.GeorasterUtils

matchesGeometry

public boolean matchesGeometry(UserSdoGeomMetadataRow otherRow)
Parameters:
otherRow -
Returns:
true if the two rows share common srid and diminfo
See Also:
matchesDiminfo(com.mizar.trinidad.components.admin.UserSdoGeomMetadataRow)

matchesDiminfo

public boolean matchesDiminfo(UserSdoGeomMetadataRow otherRow)
Parameters:
otherRow -
Returns:
true if the diminfo of otherRow has the same number of SdoDimElement and each of them is within the lesser of the two tolerance properties of corresponding SdoDimElement.

updateByTemplate

public void updateByTemplate(javax.faces.event.ActionEvent ignore)

updateByReadingTable

public void updateByReadingTable(javax.faces.event.ActionEvent ignore)

updateRow

public void updateRow(javax.faces.event.ActionEvent ae)
Specified by:
updateRow in interface RowMutable

refreshRow

public void refreshRow(javax.faces.event.ActionEvent ae)

getHasSpatialIndex

public boolean getHasSpatialIndex()

createIndexScript

public java.lang.String createIndexScript()

createIndexScript

public void createIndexScript(javax.faces.event.ActionEvent ignore)

dropSpatialIndex

public void dropSpatialIndex(javax.faces.event.ActionEvent ignore)

createSpatialIndex

public void createSpatialIndex(javax.faces.event.ActionEvent ignore)

rebuildSpatialIndex

public void rebuildSpatialIndex(javax.faces.event.ActionEvent ignore)

deleteRow

public void deleteRow(javax.faces.event.ActionEvent ae)
Specified by:
deleteRow in interface RowMutable

isUserReadOnly

public boolean isUserReadOnly()
Specified by:
isUserReadOnly in interface RowMutable

setSdoDimElements

public void setSdoDimElements(java.util.List<SdoDimElement> sdoDimElements)

getSdoDimElements

public java.util.List<SdoDimElement> getSdoDimElements()

resetDiminfo

public void resetDiminfo(java.util.List<SdoDimElement> sdoDimElements)

setDiminfo

public void setDiminfo(org.eclipse.persistence.internal.helper.NonSynchronizedVector diminfo)

setDiminfo

public void setDiminfo(java.util.List<SdoDimElement> sdoDimElements)

getDiminfo

public java.lang.Object getDiminfo()

getDiminfo

public oracle.spatial.network.SDODimArray getDiminfo(java.util.List<SdoDimElement> sdoDimElements)
Parameters:
sdoDimElements - a List of SdoDimElements
Returns:
an SDODimArray suitable for use in an update statement

getDiminfoString

public java.lang.String getDiminfoString(java.util.List<SdoDimElement> sdoDimElements)
Parameters:
sdoDimElements - a List of SdoDimElements
Returns:
something like SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .05), SDO_DIM_ELEMENT('Y', -90, 90, .05))
See Also:
com.mizar.metdata.mdsys.utils.GeorasterUtils

getDimInfoDescription

public java.lang.String getDimInfoDescription()

getOwner

public java.lang.String getOwner()