Package hec.data.operations
Class OperationalProjectChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.data.AbstractJDomDataObject
hec.data.operations.OperationalProjectChanges<OC>
- All Implemented Interfaces:
ILocationRef,IProjectOperationalChanges<OC>,AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable
- Direct Known Subclasses:
JDomProjectGateChanges,JDomProjectTurbineChanges
public abstract class OperationalProjectChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
extends AbstractJDomDataObject
implements ILocationRef, IProjectOperationalChanges<OC>
- See Also:
-
Field Summary
Fields inherited from class hec.data.AbstractJDomDataObject
DD_MM_MYYYY, DD_MM_MYYYY_HHMM, DD_MM_MYYYY_HHMMZ, MM_MYYYY, UNIT, YYYYFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IProjectOperationalChanges<OC>buildProjectOpsChanges(LocationTemplate projectLocationRef) protected abstract OCbuildUndefOperationalChange(LocationTemplate projectLocationRef, Date date) voidvoidvoiddeleteOperationalChanges(Set<Date> dateSet) Returns the ref location templategetOperationalChange(Date changeDate) getOperationalChanges(Date startTime, Date endTime) voidmergeOperationalChanges(IProjectOperationalChanges<OC> projectOperationalChanges, boolean generateModifiedTimeWindow, boolean preserveModifiedData) voidmergeOperationalChanges(NavigableMap<Date, OC> datedOpsChangeMap, boolean generateModifiedTimeWindow, boolean preserveModifiedData) voidsetLocationRef(LocationTemplate projectLocationRef) Sets the ref location template.voidsetProjectLocationRef(LocationTemplate projectLocationRef) intsize()windowAndLimit(Date startTime, Date endTime, boolean headFlag, int rowLimit, boolean pruneUndefined) Methods inherited from class hec.data.AbstractJDomDataObject
buildElement, buildElementOrRemove, camelCaseToLowerUnderbar, getDefaultElementName, getXmlDate, getXmlValue, parseDouble, parseFormattedDouble, parseInt, setXmlDate, setXmlValue, toXmlStringMethods inherited from class hec.lang.NamedType
addModifiableListener, clone, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getFieldObject, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setFieldObject, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, toString, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface rma.lang.Modifiable
isModified, setModified
-
Constructor Details
-
OperationalProjectChanges
public OperationalProjectChanges() -
OperationalProjectChanges
-
-
Method Details
-
clearTimeWindowMap
public void clearTimeWindowMap()- Specified by:
clearTimeWindowMapin interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
-
getLocationRef
Description copied from interface:ILocationRefReturns the ref location template- Specified by:
getLocationRefin interfaceILocationRef- Returns:
-
getOperationalChange
- Specified by:
getOperationalChangein interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
-
getOperationalChanges
- Specified by:
getOperationalChangesin interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
-
getOperationalChanges
-
getProjectLocationRef
- Specified by:
getProjectLocationRefin interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
-
getTimeWindowMap
- Specified by:
getTimeWindowMapin interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
-
mergeOperationalChanges
public void mergeOperationalChanges(IProjectOperationalChanges<OC> projectOperationalChanges, boolean generateModifiedTimeWindow, boolean preserveModifiedData) throws DataObjectException - Specified by:
mergeOperationalChangesin interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>- Throws:
DataObjectException
-
setLocationRef
Description copied from interface:ILocationRefSets the ref location template.- Specified by:
setLocationRefin interfaceILocationRef
-
setProjectLocationRef
-
size
public int size()- Specified by:
sizein interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
-
windowAndLimit
public IProjectOperationalChanges<OC> windowAndLimit(Date startTime, Date endTime, boolean headFlag, int rowLimit, boolean pruneUndefined) - Specified by:
windowAndLimitin interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
-
buildProjectOpsChanges
protected abstract IProjectOperationalChanges<OC> buildProjectOpsChanges(LocationTemplate projectLocationRef) -
deleteOperationalChanges
- Specified by:
deleteOperationalChangesin interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
-
clearUndefinedChanges
public void clearUndefinedChanges()- Specified by:
clearUndefinedChangesin interfaceIProjectOperationalChanges<OC extends IPhysicalStructureOperationalChange<? extends IPhysicalStructureOperationalChangeRef>>
-
buildUndefOperationalChange
-