Class AnnotationPersistentData
java.lang.Object
java.util.AbstractCollection<Annotation>
java.util.AbstractList<Annotation>
java.util.ArrayList<Annotation>
com.inductiveautomation.ignition.gateway.history.AnnotationPersistentData
- All Implemented Interfaces:
TagHistoryData, PersistentData, Serializable, Cloneable, Iterable<Annotation>, Collection<Annotation>, List<Annotation>, RandomAccess, SequencedCollection<Annotation>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the count of data elements.@NonNull PersistentFlavor<AnnotationPersistentData> Retrieves thePersistentFlavorassociated with this kind of persistent data.Methods inherited from class ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Field Details
-
FLAVOR
-
-
Constructor Details
-
AnnotationPersistentData
public AnnotationPersistentData() -
AnnotationPersistentData
-
-
Method Details
-
getDataCount
public int getDataCount()Description copied from interface:PersistentDataReturns the count of data elements. Default implementation assumes there's always at least one data element.- Specified by:
getDataCountin interfacePersistentData- Returns:
- the count of data elements
-
getFlavor
Description copied from interface:PersistentDataRetrieves thePersistentFlavorassociated with this kind of persistent data.- Specified by:
getFlavorin interfacePersistentData- Specified by:
getFlavorin interfaceTagHistoryData- Returns:
- a
PersistentFlavorobject
-