Record Class ContentProperty
java.lang.Object
java.lang.Record
org.alfresco.hxi_connector.live_ingester.domain.ports.ingestion_engine.ContentProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.mimeType()Returns the value of themimeTyperecord component.Returns the value of thepropertyNamerecord component.Returns the value of thesourceFileNamerecord component.Returns the value of thesourceMimeTyperecord component.Returns the value of thesourceSizeInBytesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ContentProperty
public ContentProperty(String propertyName, String id, String mimeType, String sourceMimeType, Long sourceSizeInBytes, String sourceFileName) Creates an instance of aContentPropertyrecord class.- Parameters:
propertyName- the value for thepropertyNamerecord componentid- the value for theidrecord componentmimeType- the value for themimeTyperecord componentsourceMimeType- the value for thesourceMimeTyperecord componentsourceSizeInBytes- the value for thesourceSizeInBytesrecord componentsourceFileName- the value for thesourceFileNamerecord component
-
-
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
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). -
propertyName
Returns the value of thepropertyNamerecord component.- Returns:
- the value of the
propertyNamerecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
mimeType
Returns the value of themimeTyperecord component.- Returns:
- the value of the
mimeTyperecord component
-
sourceMimeType
Returns the value of thesourceMimeTyperecord component.- Returns:
- the value of the
sourceMimeTyperecord component
-
sourceSizeInBytes
Returns the value of thesourceSizeInBytesrecord component.- Returns:
- the value of the
sourceSizeInBytesrecord component
-
sourceFileName
Returns the value of thesourceFileNamerecord component.- Returns:
- the value of the
sourceFileNamerecord component
-