Package com.mendix.extensibility
Record Class CustomBlobDocumentInfo
java.lang.Object
java.lang.Record
com.mendix.extensibility.CustomBlobDocumentInfo
- Record Components:
documentID- Unique ID of the document, used to retrieve the actual contentqualifiedDocumentName- Full document namecustomDocumentType- User-defined document type
public record CustomBlobDocumentInfo(UUID documentID, String qualifiedDocumentName, String customDocumentType, String content)
extends Record
Metadata for a custom blob document.
-
Constructor Summary
ConstructorsConstructorDescriptionCustomBlobDocumentInfo(UUID documentID, String qualifiedDocumentName, String customDocumentType, String content) Creates an instance of aCustomBlobDocumentInforecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontent()Returns the value of thecontentrecord component.Returns the value of thecustomDocumentTyperecord component.Returns the value of thedocumentIDrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thequalifiedDocumentNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CustomBlobDocumentInfo
public CustomBlobDocumentInfo(UUID documentID, String qualifiedDocumentName, String customDocumentType, String content) Creates an instance of aCustomBlobDocumentInforecord class.- Parameters:
documentID- the value for thedocumentIDrecord componentqualifiedDocumentName- the value for thequalifiedDocumentNamerecord componentcustomDocumentType- the value for thecustomDocumentTyperecord componentcontent- the value for thecontentrecord 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). -
documentID
Returns the value of thedocumentIDrecord component.- Returns:
- the value of the
documentIDrecord component
-
qualifiedDocumentName
Returns the value of thequalifiedDocumentNamerecord component.- Returns:
- the value of the
qualifiedDocumentNamerecord component
-
customDocumentType
Returns the value of thecustomDocumentTyperecord component.- Returns:
- the value of the
customDocumentTyperecord component
-
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-