Record Class ImportCDMFrComponent.ImportCDMFrContext
java.lang.Object
java.lang.Record
org.ametys.plugins.odfsync.cdmfr.components.ImportCDMFrComponent.ImportCDMFrContext
- Record Components:
scc- The synchronizable content collectiondocument- the document that is being importedlang- the language of the imported contentcatalog- the catalog which will contain the imported contentlogger- the logger
- Enclosing interface:
ImportCDMFrComponent
public static record ImportCDMFrComponent.ImportCDMFrContext(SynchronizableContentsCollection scc, Document document, String lang, String catalog, org.slf4j.Logger logger)
extends Record
Context of imported content for CDM-fr
-
Constructor Summary
ConstructorsConstructorDescriptionImportCDMFrContext(SynchronizableContentsCollection scc, Document document, String lang, String catalog, org.slf4j.Logger logger) Creates an instance of aImportCDMFrContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncatalog()Returns the value of thecatalogrecord component.document()Returns the value of thedocumentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lang()Returns the value of thelangrecord component.org.slf4j.Loggerlogger()Returns the value of theloggerrecord component.scc()Returns the value of thesccrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ImportCDMFrContext
public ImportCDMFrContext(SynchronizableContentsCollection scc, Document document, String lang, String catalog, org.slf4j.Logger logger) Creates an instance of aImportCDMFrContextrecord class.
-
-
Method Details
-
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. -
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). -
scc
Returns the value of thesccrecord component.- Returns:
- the value of the
sccrecord component
-
document
Returns the value of thedocumentrecord component.- Returns:
- the value of the
documentrecord component
-
lang
Returns the value of thelangrecord component.- Returns:
- the value of the
langrecord component
-
catalog
Returns the value of thecatalogrecord component.- Returns:
- the value of the
catalogrecord component
-
logger
Returns the value of theloggerrecord component.- Returns:
- the value of the
loggerrecord component
-