Record Class IngestMetadataCommand

java.lang.Object
java.lang.Record
org.alfresco.hxi_connector.live_ingester.domain.usecase.metadata.IngestMetadataCommand

public record IngestMetadataCommand(long time, String nodeId, PropertyDelta<String> name, PropertyDelta<String> primaryAssocQName, PropertyDelta<String> nodeType, PropertyDelta<String> createdByUserWithId, PropertyDelta<String> modifiedByUserWithId, PropertyDelta<Set<String>> aspectNames, PropertyDelta<Boolean> isFile, PropertyDelta<Boolean> isFolder, PropertyDelta<Long> createdAt, Set<CustomPropertyDelta<?>> properties) extends Record
  • Constructor Details

    • IngestMetadataCommand

      public IngestMetadataCommand(long time, String nodeId, PropertyDelta<String> name, PropertyDelta<String> primaryAssocQName, PropertyDelta<String> nodeType, PropertyDelta<String> createdByUserWithId, PropertyDelta<String> modifiedByUserWithId, PropertyDelta<Set<String>> aspectNames, PropertyDelta<Boolean> isFile, PropertyDelta<Boolean> isFolder, PropertyDelta<Long> createdAt, Set<CustomPropertyDelta<?>> properties)
      Creates an instance of a IngestMetadataCommand record class.
      Parameters:
      time - the value for the time record component
      nodeId - the value for the nodeId record component
      name - the value for the name record component
      primaryAssocQName - the value for the primaryAssocQName record component
      nodeType - the value for the nodeType record component
      createdByUserWithId - the value for the createdByUserWithId record component
      modifiedByUserWithId - the value for the modifiedByUserWithId record component
      aspectNames - the value for the aspectNames record component
      isFile - the value for the isFile record component
      isFolder - the value for the isFolder record component
      createdAt - the value for the createdAt record component
      properties - the value for the properties record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • time

      public long time()
      Returns the value of the time record component.
      Returns:
      the value of the time record component
    • nodeId

      public String nodeId()
      Returns the value of the nodeId record component.
      Returns:
      the value of the nodeId record component
    • name

      public PropertyDelta<String> name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • primaryAssocQName

      public PropertyDelta<String> primaryAssocQName()
      Returns the value of the primaryAssocQName record component.
      Returns:
      the value of the primaryAssocQName record component
    • nodeType

      public PropertyDelta<String> nodeType()
      Returns the value of the nodeType record component.
      Returns:
      the value of the nodeType record component
    • createdByUserWithId

      public PropertyDelta<String> createdByUserWithId()
      Returns the value of the createdByUserWithId record component.
      Returns:
      the value of the createdByUserWithId record component
    • modifiedByUserWithId

      public PropertyDelta<String> modifiedByUserWithId()
      Returns the value of the modifiedByUserWithId record component.
      Returns:
      the value of the modifiedByUserWithId record component
    • aspectNames

      public PropertyDelta<Set<String>> aspectNames()
      Returns the value of the aspectNames record component.
      Returns:
      the value of the aspectNames record component
    • isFile

      public PropertyDelta<Boolean> isFile()
      Returns the value of the isFile record component.
      Returns:
      the value of the isFile record component
    • isFolder

      public PropertyDelta<Boolean> isFolder()
      Returns the value of the isFolder record component.
      Returns:
      the value of the isFolder record component
    • createdAt

      public PropertyDelta<Long> createdAt()
      Returns the value of the createdAt record component.
      Returns:
      the value of the createdAt record component
    • properties

      public Set<CustomPropertyDelta<?>> properties()
      Returns the value of the properties record component.
      Returns:
      the value of the properties record component