Record Class AnnotationHistoricalData
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.storeforward.deprecated.AnnotationHistoricalData
- All Implemented Interfaces:
HistoricalData,Serializable
@Deprecated(since="8.3.0")
public record AnnotationHistoricalData(List<Annotation> data)
extends Record
implements HistoricalData
Deprecated.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Deprecated.Creates an instance of aAnnotationHistoricalDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Deprecated.Returns the value of thedatarecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.intDeprecated.Retrieves the count of data entries in the historical data.Deprecated.Retrieves the flavor of the historical data.Deprecated.Retrieves the logger name associated with the historical data, if any.Deprecated.Retrieves the signature of the historical data.final inthashCode()Deprecated.Returns a hash code value for this object.final StringtoString()Deprecated.Returns a string representation of this record class.Deprecated.Attempts to upgrade the historical data to persistent data using the specified engine ID if necessary.
-
Field Details
-
LEGACY_CLASS_PATH
Deprecated.
-
-
Constructor Details
-
AnnotationHistoricalData
public AnnotationHistoricalData()Deprecated. -
AnnotationHistoricalData
Deprecated.Creates an instance of aAnnotationHistoricalDatarecord class.- Parameters:
data- the value for thedatarecord component
-
-
Method Details
-
getFlavor
Deprecated.Description copied from interface:HistoricalDataRetrieves the flavor of the historical data.- Specified by:
getFlavorin interfaceHistoricalData- Returns:
- the flavor of the historical data
-
getSignature
Deprecated.Description copied from interface:HistoricalDataRetrieves the signature of the historical data.- Specified by:
getSignaturein interfaceHistoricalData- Returns:
- the signature of the historical data
-
getDataCount
public int getDataCount()Deprecated.Description copied from interface:HistoricalDataRetrieves the count of data entries in the historical data.- Specified by:
getDataCountin interfaceHistoricalData- Returns:
- the count of data entries
-
getLoggerName
Deprecated.Description copied from interface:HistoricalDataRetrieves the logger name associated with the historical data, if any.- Specified by:
getLoggerNamein interfaceHistoricalData- Returns:
- the logger name, or null if none is associated
-
upgrade
Deprecated.Description copied from interface:HistoricalDataAttempts to upgrade the historical data to persistent data using the specified engine ID if necessary.- Specified by:
upgradein interfaceHistoricalData- Parameters:
engineId- the engine ID to use for the upgrade if necessary- Returns:
- the upgraded persistent data
-
toString
Deprecated.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
data
Deprecated.Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-