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

public class LglTransExternalContact extends VdmEntity<LglTransExternalContact>
External Contacts

Original entity name from the Odata EDM: A_LglTransExternalContactType

  • Field Details

    • ALL_FIELDS

      public static final LglTransExternalContactSelectable ALL_FIELDS
      Selector for all available fields of LglTransExternalContact.
    • LGL_CNTNT_M_RANK

      public static final LglTransExternalContactField<Short> LGL_CNTNT_M_RANK
      Use with available fluent helpers to apply the LglCntntMRank field to query operations.
    • LGL_CNTNT_M_EXT_CNTCT_TYPE

      public static final LglTransExternalContactField<String> LGL_CNTNT_M_EXT_CNTCT_TYPE
      Use with available fluent helpers to apply the LglCntntMExtCntctType field to query operations.
    • LGL_CNTNT_M_EXT_CNTCT_BP

      public static final LglTransExternalContactField<String> LGL_CNTNT_M_EXT_CNTCT_BP
      Use with available fluent helpers to apply the LglCntntMExtCntctBP field to query operations.
  • Constructor Details

    • LglTransExternalContact

      public LglTransExternalContact()
    • LglTransExternalContact

      public LglTransExternalContact(@Nullable UUID legalTransactionExtCntctUUID, @Nullable Short lglCntntMRank, @Nullable String lglCntntMExtCntctType, @Nullable String lglCntntMExtCntctBP, @Nullable String legalTransactionMandatoryFlag, @Nullable UUID legalTransactionUUID)
  • Method Details

    • getType

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

      public void setLegalTransactionExtCntctUUID(@Nullable UUID legalTransactionExtCntctUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LegalTransactionExtCntctUUID

      Parameters:
      legalTransactionExtCntctUUID - Universal Unique Identifier
    • setLglCntntMRank

      public void setLglCntntMRank(@Nullable Short lglCntntMRank)
      Constraints: none

      Original property name from the Odata EDM: LglCntntMRank

      Parameters:
      lglCntntMRank - Sequence Number
    • setLglCntntMExtCntctType

      public void setLglCntntMExtCntctType(@Nullable String lglCntntMExtCntctType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LglCntntMExtCntctType

      Parameters:
      lglCntntMExtCntctType - External context type
    • setLglCntntMExtCntctBP

      public void setLglCntntMExtCntctBP(@Nullable String lglCntntMExtCntctBP)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LglCntntMExtCntctBP

      Parameters:
      lglCntntMExtCntctBP - Business Partner Number
    • setLegalTransactionMandatoryFlag

      public void setLegalTransactionMandatoryFlag(@Nullable String legalTransactionMandatoryFlag)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: LegalTransactionMandatoryFlag

      Parameters:
      legalTransactionMandatoryFlag - Control Parameter Legal Transaction Mandatory State
    • setLegalTransactionUUID

      public void setLegalTransactionUUID(@Nullable UUID legalTransactionUUID)
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionUUID

      Parameters:
      legalTransactionUUID - Universal Unique Identifier
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> LglTransExternalContactField<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> LglTransExternalContactField<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<LglTransExternalContact>
    • setServicePathForFetch

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

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

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

    • getLegalTransactionExtCntctUUID

      @Nullable public UUID getLegalTransactionExtCntctUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LegalTransactionExtCntctUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMRank

      @Nullable public Short getLglCntntMRank()
      Constraints: none

      Original property name from the Odata EDM: LglCntntMRank

      Returns:
      Sequence Number
    • getLglCntntMExtCntctType

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

      Original property name from the Odata EDM: LglCntntMExtCntctType

      Returns:
      External context type
    • getLglCntntMExtCntctBP

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

      Original property name from the Odata EDM: LglCntntMExtCntctBP

      Returns:
      Business Partner Number
    • getLegalTransactionMandatoryFlag

      @Nullable public String getLegalTransactionMandatoryFlag()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: LegalTransactionMandatoryFlag

      Returns:
      Control Parameter Legal Transaction Mandatory State
    • getLegalTransactionUUID

      @Nullable public UUID getLegalTransactionUUID()
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionUUID

      Returns:
      Universal Unique Identifier
    • toString

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

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

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

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