Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced by
TimeSeriesIdentifierThis class is marked for removal and should not be used. Update to use hec-nucleus data types insteadThis class is marked for removal and should not be used. Update to use hec-nucleus data types insteadThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced byTextTimeSeriesRowThis class is marked for removal and should not be used. Update to use hec-nucleus data types insteadThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced byTimeSeriesIdentifierThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced byTextTimeSeriesThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced byTextTimeSeriesRowPlease use JOptionPane instead.Please use JOptionPane instead.
-
Deprecated InterfacesInterfaceDescriptionThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced by
TimeSeriesIdentifierThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced byTextTimeSeriesRow
-
Deprecated ClassesClassDescriptionuse hec.gui.AbstractEditorPanelReplaced by LoginJDialog.use hec.gui.MoverDialoguse hec.gui.PanelEditoruse hec.gui.RenameDlguse hec.gui.SelectorPaneluse hec.gui.SelectorPanelEditorAs of 02/08/2021 use
OfficeIdfrom hec-nucleus-metadata instead.As of 02/08/2021 useDurationfrom hec-nucleus-metadata instead.As of 02/08/2021 useIntervalor one of the implementations of mil.army.usace.hec.metadata.Interval in hec-nucleus-metadata.As of 02/08/2021 useIntervalOffsetAs of 02/08/2021 useIntervalOffsetPartfrom hec-nucleus-metadata instead.As of 02/08/2021 useLocationIDfrom hec-nucleus-metadata instead.As of 02/08/2021 useParamDoublefrom hec-nucleus-data instead.As of 02/08/2021 useParamDoubleArrayfrom hec-nucleus-data instead.As of 02/08/2021 useParameterfrom hec-nucleus-metadata instead.As of 02/08/2021 useParameterTypefrom hec-nucleus-metadata instead.This class is marked for removal and should not be used. Update to use hec-nucleus data types insteadThis class is marked for removal and should not be used. Update to use hec-nucleus data types insteadThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced byTextTimeSeriesRowThis class is marked for removal and should not be used. Update to use hec-nucleus data types insteadThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced byTimeSeriesIdentifierThis class is marked for removal and should not be used. Update to use hec-nucleus data types instead. Replaced byTextTimeSeriesuse DSSTimeSeriesTranslator and DSSTimeSeriesUtil insteadAs of 02/08/2021 useUnitsandUnitUtilfrom hec-nucleus-metadata instead.As of 02/08/2021 useVersionfrom hec-nucleus-metadata instead.just use RmaJDialog instead. JavaHelp has been removed from the framework so this class is just here for backwards compatibility.just use RmaJFrame instead. JavaHelp has been removed from the framework so this class is just here for backwards compatibility.this class was used in CAVI 2 to control permissions per application. It will be removed in future releaseuse hec.gui.NameDialogUse RmaJSpinner insteadUse RmaJSpinner insteadUseRmaJSpinnerRmaJSpinner instead.use DefaultCellEditor insteadPlease use JOptionPane instead.Please use JOptionPane instead.
-
Deprecated Exception Classes
-
Deprecated FieldsFieldDescriptionLet the database throw an error and handle it.Let the database throw and error and handle it.Replaced by _stringClass The Class contained in the IdentifierThis flag is deprecated and should not be used. It should be considered for removal in future versions. Nothing sets this to false.
-
Deprecated MethodsMethodDescriptionThis method is inefficient as it has to construct the interval. Use the getNextIntervalTime(long, Interval, TimeZone) method instead.This method is inefficient as it has to construct the interval. Use getTimeOnNextInterval(long, Interval, IntervalOffset, TimeZone) instead.This method is inefficient as it has to construct the interval. Use getTimeOnPreviousInterval(long, Interval, IntervalOffset, TimeZone) instead.this method was added in because the NamedType hierarchy was elimatedXML Serialization is no longer usedUse the object equals instead cause it is more accurate.use
TimeSeriesContainerQualityUtil.getNumberValuesMissing(TimeSeriesContainer)insteaduseTimeSeriesContainerQualityUtil.getNumberValuesQuestion(TimeSeriesContainer)insteaduseTimeSeriesContainerQualityUtil.getNumberValuesReject(TimeSeriesContainer)insteaduseTimeSeriesContainerFactory.toTimeSeriesContainer(TimeSeries)insteaduse DSSTimeSeriesUtil::getDefaultDescriptionuse DSSTimeSeriesUtil::getDefaultPathnameuse DSSTimeSeriesUtil::getDefaultPathnameuse DSSTimeSeriesUtil::getDescriptionDifferencesuse DSSTimeSeriesUtil::getDescriptionDifferencesuse DSSTimeSeriesUtil::getDescriptionDifferencesuse DSSTimeSeriesUtil::getDescriptionDifferencesuse DSSTimeSeriesUtil::getDescriptionDifferencesuse DSSTimeSeriesUtil::getDescriptionDifferencesuse DSSTimeSeriesUtil::getDSSTypeuse DSSTimeSeriesUtil::getDSSTypeuse DSSTimeSeriesUtil::getDSSTypeUse addData(DataContainer) instead.Use addData(DataContainer) instead.- use isSelected()- use setSelected(boolean)use getText()use setNameLabel(String)use setNameLabelMnemonic(char)UseDSSFile.getCatalogedPathnames(String)instead.Replaced by getClassName() Returns the Identifier's ClassReplaced by setClassName() Sets the Identifier's Class to the argument Classuse createHorizontalFlowLayout method insteaduse createHorizontalFlowLayout (alignment, gap) method insteadcall wp2lp. With the addition of map transforms the e/n axis are no longer independent. i.e. the x-shift will be smaller or larger, depending on your location on the earthcall wp2lp. With the addition of map transforms the e/n axis are no longer independent. i.e. the x-shift will be smaller or larger, depending on your location on the earthcall wp2lp. With the addition of map transforms the e/n axis are no longer independent. i.e. the x-shift will be smaller or larger, depending on your location on the earthcall wp2lp. With the addition of map transforms the e/n axis are no longer independent. i.e. the x-shift will be smaller or larger, depending on your location on the earthUseBase64insteadUseBase64insteadUseBase64insteadUseBase64insteadUseBase64insteadUseBase64insteadUseBase64insteaduse getText()UseSupplementalProperties.compress(String)insteadUseinsteadinvalid reference
hec.io.SupplementalProperties#compress(String, String)UseSupplementalProperties.uncompress(String)insteadUseinsteadinvalid reference
hec.io.SupplementalProperties#uncompress(String, String)use getDisplayTimeZone() for required null handlinguse loadURLImage(String urlstr) insteaduse ServiceLookup.getTimeZoneDisplayService().getTimeZone(); Returns the TimeZone used by this dialog for Display purposesuse ServiceLookup.getUnitsDisplayService().getDisplayUnitsSystem();use ServiceLookup.getUnitsDisplayService().setDisplayScaleFactor(paramId, scale);use ServiceLookup.getTimeZoneDisplayService().setTimeZone(tz); Sets the timezone used for display purposesuse ServiceLookup.getUnitsDisplayService().setDisplayUnitSystem(unitSystem); Sets the unit system to be used by all open dialogs. This method fires an event to all open dialogs to update. Alluse ServiceLookup.getUnitsDisplayService().updateDisplayScale(c);use ServiceLookup.getTimeZoneDisplayService().updateTimeZone(c);use ServiceLookup.getUnitsDisplayService().updateUnitSystem(c);use ServiceLookup.getTimeZoneDisplayService().getTimeZone();use ServiceLookup.getUnitsDisplayService().getDisplayUnitsSystem();use ServiceLookup.getUnitsDisplayService().getDisplayUnitsSystem();use ServiceLookup.getUnitsDisplayService().setDisplayScaleFactor(paramId, scale);use ServiceLookup.getTimeZoneDisplayService().setTimeZone(tz);use ServiceLookup.getUnitsDisplayService().setDisplayUnitSystem(unitSystem);use ServiceLookup.getUnitsDisplayService().updateDisplayScale(c);use ServiceLookup.getTimeZoneDisplayService().updateTimeZone(c);use ServiceLookup.getTimeZoneDisplayService().updateTimeZone(c, timezone);use ServiceLookup.getUnitsDisplayService().updateUnitSystem(c);This method is replaced by setIntegerSet
-
Deprecated ConstructorsConstructorDescriptionXML Serialization is no longer usedXML Serialization is no longer used- DataSetTx has been replaced by
TimeSeriesuseTimeSeriesContainerFactory.toTimeSeries(TimeSeriesContainer)for transformation instead- DataSetTx has been replaced byTimeSeriesuseTimeSeriesContainerFactory.toTimeSeries(TimeSeriesContainer, mil.army.usace.hec.metadata.timeseries.TimeSeriesIdentifier)for transformation instead- DataSetTx has been replaced byTimeSeriesuseTimeSeriesContainerFactory.toTimeSeries(TimeSeriesContainer)for transformation instead