com.mizar.trinidad.components.admin
Class UserSdoGeomMetadataRow
java.lang.Object
com.mizar.persistence.jpa.beans.GenericBean
com.mizar.metadata.db.bean.UserSdoGeomMetadataBean
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
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 |
UserSdoGeomMetadataRow
public UserSdoGeomMetadataRow()
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 SdoDimElement
s
- 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 SdoDimElement
s
- 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()