Package de.bsvrz.ars.ars.persistence
Record Class LockedContainerDirectory
java.lang.Object
java.lang.Record
de.bsvrz.ars.ars.persistence.LockedContainerDirectory
- All Implemented Interfaces:
ContainerDirectory,AutoCloseable,Comparable<ContainerDirectory>
public record LockedContainerDirectory(SyncKey<IdDataIdentification> lock, de.bsvrz.dav.daf.main.archive.ArchiveDataKind archiveDataKind)
extends Record
implements ContainerDirectory, AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionLockedContainerDirectory(SyncKey<IdDataIdentification> lock, de.bsvrz.dav.daf.main.archive.ArchiveDataKind archiveDataKind) Creates an instance of aLockedContainerDirectoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionde.bsvrz.dav.daf.main.archive.ArchiveDataKindReturns the value of thearchiveDataKindrecord component.voidclose()Gibt die Datenidentifikation zurückfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lock()Returns the value of thelockrecord component.toString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.bsvrz.ars.ars.persistence.ContainerDirectory
compareTo, getAspectId, getAtgId, getObjectId, getSimVariant
-
Constructor Details
-
LockedContainerDirectory
public LockedContainerDirectory(SyncKey<IdDataIdentification> lock, de.bsvrz.dav.daf.main.archive.ArchiveDataKind archiveDataKind) Creates an instance of aLockedContainerDirectoryrecord class.- Parameters:
lock- the value for thelockrecord componentarchiveDataKind- the value for thearchiveDataKindrecord component
-
-
Method Details
-
dataIdentification
Gibt die Datenidentifikation zurück- Specified by:
dataIdentificationin interfaceContainerDirectory- Returns:
- Datenidentifikation
-
toString
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. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
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). -
lock
Returns the value of thelockrecord component.- Returns:
- the value of the
lockrecord component
-
archiveDataKind
public de.bsvrz.dav.daf.main.archive.ArchiveDataKind archiveDataKind()Returns the value of thearchiveDataKindrecord component.- Specified by:
archiveDataKindin interfaceContainerDirectory- Returns:
- the value of the
archiveDataKindrecord component
-