public class PerformanceAssessmentRecord extends BaseCollection<PerformanceAssessmentField>
| Constructor and Description |
|---|
PerformanceAssessmentRecord()
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearItems()
Removes all elements from the
PerformanceAssessmentRecord. |
PerformanceAssessmentField |
getFieldByPrn(int prn)
Gets the field in this record that corresponds to a given PRN.
|
PerformanceAssessmentFile |
getFile()
Gets the
PerformanceAssessmentFile with which this record is associated. |
ZonedDateTime |
getValidDate()
Gets the time of validity of this record.
|
JulianDate |
getValidJulianDate()
Gets the time of validity of this record as a
JulianDate. |
protected void |
insertItem(int index,
PerformanceAssessmentField item)
Inserts an element into the
PerformanceAssessmentRecord
at the given index. |
protected void |
removeItem(int index)
Removes the element at the given index of the
PerformanceAssessmentRecord. |
protected void |
setItem(int index,
PerformanceAssessmentField item)
Replaces the element at the given index.
|
void |
setValidDate(ZonedDateTime value)
Sets the time of validity of this record.
|
add, add, addAll, addAll, clear, contains, containsAll, get, getItems, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic PerformanceAssessmentRecord()
public final PerformanceAssessmentFile getFile()
PerformanceAssessmentFile with which this record is associated.@Nonnull public final ZonedDateTime getValidDate()
public final void setValidDate(@Nonnull ZonedDateTime value)
@Nonnull public final JulianDate getValidJulianDate()
JulianDate.@Nonnull public final PerformanceAssessmentField getFieldByPrn(int prn)
This is a fast, constant-time operation for PRNs less than 100. For a PRN greater than or equal to 100, the time to complete this operation increases linearly with the number of fields in the record.
prn - The PRN for which to obtain the field.DataAvailable (get) set to false
is constructed and returned.protected void clearItems()
PerformanceAssessmentRecord.clearItems in class BaseCollection<PerformanceAssessmentField>protected void insertItem(int index,
PerformanceAssessmentField item)
PerformanceAssessmentRecord
at the given index.insertItem in class BaseCollection<PerformanceAssessmentField>index - The index, based at zero, where the item is to be inserted.item - The specific object that is being inserted (Value can be null for reference types).protected void removeItem(int index)
PerformanceAssessmentRecord.removeItem in class BaseCollection<PerformanceAssessmentField>index - The index, based at zero, where the item is to be removed.protected void setItem(int index,
PerformanceAssessmentField item)
setItem in class BaseCollection<PerformanceAssessmentField>index - The index, based at zero, where the item is to be replaced.item - The new value for the element at the given index (Value can be null for reference types).