java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<SrvcContrTmplItemLongText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.servicecontracttemplate.SrvcContrTmplItemLongText
All Implemented Interfaces:
VdmEntitySet

public class SrvcContrTmplItemLongText extends VdmEntity<SrvcContrTmplItemLongText> implements VdmEntitySet
Text of Service Contract Template Item

Original entity name from the Odata EDM: SrvcContrTmplItemLongText_Type

  • Field Details

  • Constructor Details

    • SrvcContrTmplItemLongText

      public SrvcContrTmplItemLongText()
    • SrvcContrTmplItemLongText

      public SrvcContrTmplItemLongText(@Nullable String serviceContractTemplate, @Nullable String serviceContractTemplateItem, @Nullable String textObjectType, @Nullable String language, @Nullable String srvcDocLogTextIdentifier, @Nullable String textObjectCategory, @Nullable String serviceObjectType, @Nullable String srvcDocLongTextMimeType, @Nullable String srvcContrTmplItemLongText, @Nullable String referenceTextObjectCategory, @Nullable String referenceTextObjectType, @Nullable String referenceLongTextKey, @Nullable String referenceServiceObjectType, @Nullable String referenceServiceDocument, @Nullable String referenceServiceDocumentItem, @Nullable OffsetDateTime srvcDocLongTxtCreationDateTime, @Nullable String srvcDocLongTextCreatedByUser, @Nullable OffsetDateTime srvcDocLongTextChangedDateTime, @Nullable String srvcDocLongTextChangedByUser, @Nullable ServiceContractTemplateItem to_Item, @Nullable ServiceContractTemplate to_ServiceContractTemplate)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ServiceContractTemplate

      Parameters:
      serviceContractTemplate - Transaction ID
    • setServiceContractTemplateItem

      public void setServiceContractTemplateItem(@Nullable String serviceContractTemplateItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ServiceContractTemplateItem

      Parameters:
      serviceContractTemplateItem - Shortened Item Number in Document
    • setTextObjectType

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

      Original property name from the Odata EDM: TextObjectType

      Parameters:
      textObjectType - Text ID
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setSrvcDocLogTextIdentifier

      public void setSrvcDocLogTextIdentifier(@Nullable String srvcDocLogTextIdentifier)
      (Key Field) Constraints: Not nullable, Maximum length: 17

      Original property name from the Odata EDM: SrvcDocLogTextIdentifier

      Parameters:
      srvcDocLogTextIdentifier - Identifier (truncated timestamp) of a log text
    • setTextObjectCategory

      public void setTextObjectCategory(@Nullable String textObjectCategory)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TextObjectCategory

      Parameters:
      textObjectCategory - Texts: application object
    • setServiceObjectType

      public void setServiceObjectType(@Nullable String serviceObjectType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceObjectType

      Parameters:
      serviceObjectType - Business Trans. Cat.
    • setSrvcDocLongTextMimeType

      public void setSrvcDocLongTextMimeType(@Nullable String srvcDocLongTextMimeType)
      Constraints: Not nullable, Maximum length: 127

      Original property name from the Odata EDM: SrvcDocLongTextMimeType

      Parameters:
      srvcDocLongTextMimeType - MIME Type
    • setSrvcContrTmplItemLongText

      public void setSrvcContrTmplItemLongText(@Nullable String srvcContrTmplItemLongText)
      Constraints: Not nullable

      Original property name from the Odata EDM: SrvcContrTmplItemLongText

      Parameters:
      srvcContrTmplItemLongText - Long Text
    • setReferenceTextObjectCategory

      public void setReferenceTextObjectCategory(@Nullable String referenceTextObjectCategory)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceTextObjectCategory

      Parameters:
      referenceTextObjectCategory - Object of Referenced Text
    • setReferenceTextObjectType

      public void setReferenceTextObjectType(@Nullable String referenceTextObjectType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ReferenceTextObjectType

      Parameters:
      referenceTextObjectType - ID of Referenced Text
    • setReferenceLongTextKey

      public void setReferenceLongTextKey(@Nullable String referenceLongTextKey)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: ReferenceLongTextKey

      Parameters:
      referenceLongTextKey - Name of Referenced Text
    • setReferenceServiceObjectType

      public void setReferenceServiceObjectType(@Nullable String referenceServiceObjectType)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceServiceObjectType

      Parameters:
      referenceServiceObjectType - Business Trans. Cat.
    • setReferenceServiceDocument

      public void setReferenceServiceDocument(@Nullable String referenceServiceDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceServiceDocument

      Parameters:
      referenceServiceDocument - Transaction ID
    • setReferenceServiceDocumentItem

      public void setReferenceServiceDocumentItem(@Nullable String referenceServiceDocumentItem)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ReferenceServiceDocumentItem

      Parameters:
      referenceServiceDocumentItem - Shortened Item Number in Document
    • setSrvcDocLongTxtCreationDateTime

      public void setSrvcDocLongTxtCreationDateTime(@Nullable OffsetDateTime srvcDocLongTxtCreationDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: SrvcDocLongTxtCreationDateTime

      Parameters:
      srvcDocLongTxtCreationDateTime - Creation timestamp of a text
    • setSrvcDocLongTextCreatedByUser

      public void setSrvcDocLongTextCreatedByUser(@Nullable String srvcDocLongTextCreatedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: SrvcDocLongTextCreatedByUser

      Parameters:
      srvcDocLongTextCreatedByUser - User who created a text
    • setSrvcDocLongTextChangedDateTime

      public void setSrvcDocLongTextChangedDateTime(@Nullable OffsetDateTime srvcDocLongTextChangedDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: SrvcDocLongTextChangedDateTime

      Parameters:
      srvcDocLongTextChangedDateTime - Last change timestamp of a text
    • setSrvcDocLongTextChangedByUser

      public void setSrvcDocLongTextChangedByUser(@Nullable String srvcDocLongTextChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: SrvcDocLongTextChangedByUser

      Parameters:
      srvcDocLongTextChangedByUser - User who last changed a text
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<SrvcContrTmplItemLongText>
    • toMapOfFields

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SrvcContrTmplItemLongText>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SrvcContrTmplItemLongText>
    • getItemIfPresent

      @Nonnull public io.vavr.control.Option<ServiceContractTemplateItem> getItemIfPresent()
      Retrieval of associated ServiceContractTemplateItem entity (one to one). This corresponds to the OData navigation property _Item.

      If the navigation property for an entity SrvcContrTmplItemLongText has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _Item is already loaded, the result will contain the ServiceContractTemplateItem entity. If not, an Option with result state empty is returned.
    • setItem

      public void setItem(ServiceContractTemplateItem value)
      Overwrites the associated ServiceContractTemplateItem entity for the loaded navigation property _Item.
      Parameters:
      value - New ServiceContractTemplateItem entity.
    • getServiceContractTemplateIfPresent

      @Nonnull public io.vavr.control.Option<ServiceContractTemplate> getServiceContractTemplateIfPresent()
      Retrieval of associated ServiceContractTemplate entity (one to one). This corresponds to the OData navigation property _ServiceContractTemplate.

      If the navigation property for an entity SrvcContrTmplItemLongText has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property _ServiceContractTemplate is already loaded, the result will contain the ServiceContractTemplate entity. If not, an Option with result state empty is returned.
    • setServiceContractTemplate

      public void setServiceContractTemplate(ServiceContractTemplate value)
      Overwrites the associated ServiceContractTemplate entity for the loaded navigation property _ServiceContractTemplate.
      Parameters:
      value - New ServiceContractTemplate entity.
    • builder

    • getServiceContractTemplate

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

      Original property name from the Odata EDM: ServiceContractTemplate

      Returns:
      Transaction ID
    • getServiceContractTemplateItem

      @Nullable public String getServiceContractTemplateItem()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ServiceContractTemplateItem

      Returns:
      Shortened Item Number in Document
    • getTextObjectType

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

      Original property name from the Odata EDM: TextObjectType

      Returns:
      Text ID
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getSrvcDocLogTextIdentifier

      @Nullable public String getSrvcDocLogTextIdentifier()
      (Key Field) Constraints: Not nullable, Maximum length: 17

      Original property name from the Odata EDM: SrvcDocLogTextIdentifier

      Returns:
      Identifier (truncated timestamp) of a log text
    • getTextObjectCategory

      @Nullable public String getTextObjectCategory()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TextObjectCategory

      Returns:
      Texts: application object
    • getServiceObjectType

      @Nullable public String getServiceObjectType()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceObjectType

      Returns:
      Business Trans. Cat.
    • getSrvcDocLongTextMimeType

      @Nullable public String getSrvcDocLongTextMimeType()
      Constraints: Not nullable, Maximum length: 127

      Original property name from the Odata EDM: SrvcDocLongTextMimeType

      Returns:
      MIME Type
    • getSrvcContrTmplItemLongText

      @Nullable public String getSrvcContrTmplItemLongText()
      Constraints: Not nullable

      Original property name from the Odata EDM: SrvcContrTmplItemLongText

      Returns:
      Long Text
    • getReferenceTextObjectCategory

      @Nullable public String getReferenceTextObjectCategory()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceTextObjectCategory

      Returns:
      Object of Referenced Text
    • getReferenceTextObjectType

      @Nullable public String getReferenceTextObjectType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ReferenceTextObjectType

      Returns:
      ID of Referenced Text
    • getReferenceLongTextKey

      @Nullable public String getReferenceLongTextKey()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: ReferenceLongTextKey

      Returns:
      Name of Referenced Text
    • getReferenceServiceObjectType

      @Nullable public String getReferenceServiceObjectType()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceServiceObjectType

      Returns:
      Business Trans. Cat.
    • getReferenceServiceDocument

      @Nullable public String getReferenceServiceDocument()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ReferenceServiceDocument

      Returns:
      Transaction ID
    • getReferenceServiceDocumentItem

      @Nullable public String getReferenceServiceDocumentItem()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ReferenceServiceDocumentItem

      Returns:
      Shortened Item Number in Document
    • getSrvcDocLongTxtCreationDateTime

      @Nullable public OffsetDateTime getSrvcDocLongTxtCreationDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: SrvcDocLongTxtCreationDateTime

      Returns:
      Creation timestamp of a text
    • getSrvcDocLongTextCreatedByUser

      @Nullable public String getSrvcDocLongTextCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: SrvcDocLongTextCreatedByUser

      Returns:
      User who created a text
    • getSrvcDocLongTextChangedDateTime

      @Nullable public OffsetDateTime getSrvcDocLongTextChangedDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: SrvcDocLongTextChangedDateTime

      Returns:
      Last change timestamp of a text
    • getSrvcDocLongTextChangedByUser

      @Nullable public String getSrvcDocLongTextChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: SrvcDocLongTextChangedByUser

      Returns:
      User who last changed a text
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<SrvcContrTmplItemLongText>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<SrvcContrTmplItemLongText>