java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<AttachmentLink>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.jointventurebilling.AttachmentLink

public class AttachmentLink extends VdmEntity<AttachmentLink>
Billing File

Original entity name from the Odata EDM: AttachmentLink

  • Field Details

    • ALL_FIELDS

      public static final AttachmentLinkSelectable ALL_FIELDS
      Selector for all available fields of AttachmentLink.
    • COMPANY_CODE

      public static final AttachmentLinkField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • FISCAL_YEAR

      public static final AttachmentLinkField<String> FISCAL_YEAR
      Use with available fluent helpers to apply the FiscalYear field to query operations.
    • FISCAL_PERIOD

      public static final AttachmentLinkField<String> FISCAL_PERIOD
      Use with available fluent helpers to apply the FiscalPeriod field to query operations.
    • JOINT_VENTURE_PARTNER

      public static final AttachmentLinkField<String> JOINT_VENTURE_PARTNER
      Use with available fluent helpers to apply the JointVenturePartner field to query operations.
    • DOCUMENT_INFO_RECORD_DOC_TYPE

      public static final AttachmentLinkField<String> DOCUMENT_INFO_RECORD_DOC_TYPE
      Use with available fluent helpers to apply the DocumentInfoRecordDocType field to query operations.
    • DOCUMENT_INFO_RECORD_DOC_NUMBER

      public static final AttachmentLinkField<String> DOCUMENT_INFO_RECORD_DOC_NUMBER
      Use with available fluent helpers to apply the DocumentInfoRecordDocNumber field to query operations.
    • DOCUMENT_INFO_RECORD_DOC_VERSION

      public static final AttachmentLinkField<String> DOCUMENT_INFO_RECORD_DOC_VERSION
      Use with available fluent helpers to apply the DocumentInfoRecordDocVersion field to query operations.
    • DOCUMENT_INFO_RECORD_DOC_PART

      public static final AttachmentLinkField<String> DOCUMENT_INFO_RECORD_DOC_PART
      Use with available fluent helpers to apply the DocumentInfoRecordDocPart field to query operations.
    • LOGICAL_DOCUMENT

      public static final AttachmentLinkField<String> LOGICAL_DOCUMENT
      Use with available fluent helpers to apply the LogicalDocument field to query operations.
    • ARCHIVE_DOCUMENT_ID

      public static final AttachmentLinkField<String> ARCHIVE_DOCUMENT_ID
      Use with available fluent helpers to apply the ArchiveDocumentID field to query operations.
    • LINKED_SAP_OBJECT_KEY

      public static final AttachmentLinkField<String> LINKED_SAP_OBJECT_KEY
      Use with available fluent helpers to apply the LinkedSAPObjectKey field to query operations.
    • BUSINESS_OBJECT_TYPE_NAME

      public static final AttachmentLinkField<String> BUSINESS_OBJECT_TYPE_NAME
      Use with available fluent helpers to apply the BusinessObjectTypeName field to query operations.
    • WORKSTATION_APPLICATION

      public static final AttachmentLinkField<String> WORKSTATION_APPLICATION
      Use with available fluent helpers to apply the WorkstationApplication field to query operations.
  • Constructor Details

    • AttachmentLink

      public AttachmentLink()
    • AttachmentLink

      public AttachmentLink(@Nullable String companyCode, @Nullable String fiscalYear, @Nullable String fiscalPeriod, @Nullable String jointVenturePartner, @Nullable String documentInfoRecordDocType, @Nullable String documentInfoRecordDocNumber, @Nullable String documentInfoRecordDocVersion, @Nullable String documentInfoRecordDocPart, @Nullable String logicalDocument, @Nullable String archiveDocumentID, @Nullable String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nullable String workstationApplication)
  • Method Details

    • getType

      @Nonnull public Class<AttachmentLink> getType()
      Specified by:
      getType in class VdmObject<AttachmentLink>
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - The companyCode to set.
    • setFiscalYear

      public void setFiscalYear(@Nullable String fiscalYear)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYear

      Parameters:
      fiscalYear - The fiscalYear to set.
    • setFiscalPeriod

      public void setFiscalPeriod(@Nullable String fiscalPeriod)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FiscalPeriod

      Parameters:
      fiscalPeriod - The fiscalPeriod to set.
    • setJointVenturePartner

      public void setJointVenturePartner(@Nullable String jointVenturePartner)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: JointVenturePartner

      Parameters:
      jointVenturePartner - The jointVenturePartner to set.
    • setDocumentInfoRecordDocType

      public void setDocumentInfoRecordDocType(@Nullable String documentInfoRecordDocType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentInfoRecordDocType

      Parameters:
      documentInfoRecordDocType - The documentInfoRecordDocType to set.
    • setDocumentInfoRecordDocNumber

      public void setDocumentInfoRecordDocNumber(@Nullable String documentInfoRecordDocNumber)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: DocumentInfoRecordDocNumber

      Parameters:
      documentInfoRecordDocNumber - The documentInfoRecordDocNumber to set.
    • setDocumentInfoRecordDocVersion

      public void setDocumentInfoRecordDocVersion(@Nullable String documentInfoRecordDocVersion)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DocumentInfoRecordDocVersion

      Parameters:
      documentInfoRecordDocVersion - The documentInfoRecordDocVersion to set.
    • setDocumentInfoRecordDocPart

      public void setDocumentInfoRecordDocPart(@Nullable String documentInfoRecordDocPart)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentInfoRecordDocPart

      Parameters:
      documentInfoRecordDocPart - The documentInfoRecordDocPart to set.
    • setLogicalDocument

      public void setLogicalDocument(@Nullable String logicalDocument)
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: LogicalDocument

      Parameters:
      logicalDocument - The logicalDocument to set.
    • setArchiveDocumentID

      public void setArchiveDocumentID(@Nullable String archiveDocumentID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ArchiveDocumentID

      Parameters:
      archiveDocumentID - The archiveDocumentID to set.
    • setLinkedSAPObjectKey

      public void setLinkedSAPObjectKey(@Nullable String linkedSAPObjectKey)
      (Key Field) Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: LinkedSAPObjectKey

      Parameters:
      linkedSAPObjectKey - The linkedSAPObjectKey to set.
    • setBusinessObjectTypeName

      public void setBusinessObjectTypeName(@Nullable String businessObjectTypeName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BusinessObjectTypeName

      Parameters:
      businessObjectTypeName - The businessObjectTypeName to set.
    • setWorkstationApplication

      public void setWorkstationApplication(@Nullable String workstationApplication)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: WorkstationApplication

      Parameters:
      workstationApplication - The workstationApplication to set.
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<AttachmentLink>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<AttachmentLink>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<AttachmentLink>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<AttachmentLink>
    • field

      @Nonnull public static <T> AttachmentLinkField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> AttachmentLinkField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<AttachmentLink>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<AttachmentLink>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<AttachmentLink>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<AttachmentLink>
    • builder

      @Nonnull public static AttachmentLink.AttachmentLinkBuilder builder()
    • getCompanyCode

      @Nullable public String getCompanyCode()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      The companyCode contained in this entity.
    • getFiscalYear

      @Nullable public String getFiscalYear()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FiscalYear

      Returns:
      The fiscalYear contained in this entity.
    • getFiscalPeriod

      @Nullable public String getFiscalPeriod()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: FiscalPeriod

      Returns:
      The fiscalPeriod contained in this entity.
    • getJointVenturePartner

      @Nullable public String getJointVenturePartner()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: JointVenturePartner

      Returns:
      The jointVenturePartner contained in this entity.
    • getDocumentInfoRecordDocType

      @Nullable public String getDocumentInfoRecordDocType()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentInfoRecordDocType

      Returns:
      The documentInfoRecordDocType contained in this entity.
    • getDocumentInfoRecordDocNumber

      @Nullable public String getDocumentInfoRecordDocNumber()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: DocumentInfoRecordDocNumber

      Returns:
      The documentInfoRecordDocNumber contained in this entity.
    • getDocumentInfoRecordDocVersion

      @Nullable public String getDocumentInfoRecordDocVersion()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DocumentInfoRecordDocVersion

      Returns:
      The documentInfoRecordDocVersion contained in this entity.
    • getDocumentInfoRecordDocPart

      @Nullable public String getDocumentInfoRecordDocPart()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentInfoRecordDocPart

      Returns:
      The documentInfoRecordDocPart contained in this entity.
    • getLogicalDocument

      @Nullable public String getLogicalDocument()
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: LogicalDocument

      Returns:
      The logicalDocument contained in this entity.
    • getArchiveDocumentID

      @Nullable public String getArchiveDocumentID()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ArchiveDocumentID

      Returns:
      The archiveDocumentID contained in this entity.
    • getLinkedSAPObjectKey

      @Nullable public String getLinkedSAPObjectKey()
      (Key Field) Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: LinkedSAPObjectKey

      Returns:
      The linkedSAPObjectKey contained in this entity.
    • getBusinessObjectTypeName

      @Nullable public String getBusinessObjectTypeName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BusinessObjectTypeName

      Returns:
      The businessObjectTypeName contained in this entity.
    • getWorkstationApplication

      @Nullable public String getWorkstationApplication()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: WorkstationApplication

      Returns:
      The workstationApplication contained in this entity.
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<AttachmentLink>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<AttachmentLink>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<AttachmentLink>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<AttachmentLink>