Class LegalCotextExternalContact

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

public class LegalCotextExternalContact extends VdmEntity<LegalCotextExternalContact> implements VdmEntitySet
Legal Context External Contacts

Original entity name from the Odata EDM: LegalCotextExternalContact_Type

  • Field Details

  • Constructor Details

    • LegalCotextExternalContact

      public LegalCotextExternalContact()
    • LegalCotextExternalContact

      public LegalCotextExternalContact(@Nullable UUID lglCntntMCntxtExtCntctUUID, @Nullable UUID lglCntntMContextUUID, @Nullable Short lglCntntMRank, @Nullable String lglCntntMExtCntctBP, @Nullable String lglCntntMExtCntctType, @Nullable Boolean lglCntntMIsMandatory, @Nullable Boolean lglCntntMIsIntegRelevant, @Nullable LegalContext to_LCMContextTP)
  • Method Details

    • getType

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

      public void setLglCntntMCntxtExtCntctUUID(@Nullable UUID lglCntntMCntxtExtCntctUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMCntxtExtCntctUUID

      Parameters:
      lglCntntMCntxtExtCntctUUID - Universal Unique Identifier
    • setLglCntntMContextUUID

      public void setLglCntntMContextUUID(@Nullable UUID lglCntntMContextUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMContextUUID

      Parameters:
      lglCntntMContextUUID - Universal Unique Identifier
    • setLglCntntMRank

      public void setLglCntntMRank(@Nullable Short lglCntntMRank)
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMRank

      Parameters:
      lglCntntMRank - Sequence Number
    • 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
    • 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
    • setLglCntntMIsMandatory

      public void setLglCntntMIsMandatory(@Nullable Boolean lglCntntMIsMandatory)
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMIsMandatory

      Parameters:
      lglCntntMIsMandatory - Mandatory
    • setLglCntntMIsIntegRelevant

      public void setLglCntntMIsIntegRelevant(@Nullable Boolean lglCntntMIsIntegRelevant)
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMIsIntegRelevant

      Parameters:
      lglCntntMIsIntegRelevant - Integrated
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity LegalCotextExternalContact 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 _LCMContextTP is already loaded, the result will contain the LegalContext entity. If not, an Option with result state empty is returned.
    • setLCMContextTP

      public void setLCMContextTP(LegalContext value)
      Overwrites the associated LegalContext entity for the loaded navigation property _LCMContextTP.
      Parameters:
      value - New LegalContext entity.
    • builder

    • getLglCntntMCntxtExtCntctUUID

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

      Original property name from the Odata EDM: LglCntntMCntxtExtCntctUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMContextUUID

      @Nullable public UUID getLglCntntMContextUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMContextUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMRank

      @Nullable public Short getLglCntntMRank()
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMRank

      Returns:
      Sequence Number
    • getLglCntntMExtCntctBP

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

      Original property name from the Odata EDM: LglCntntMExtCntctBP

      Returns:
      Business Partner Number
    • getLglCntntMExtCntctType

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

      Original property name from the Odata EDM: LglCntntMExtCntctType

      Returns:
      External context type
    • getLglCntntMIsMandatory

      @Nullable public Boolean getLglCntntMIsMandatory()
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMIsMandatory

      Returns:
      Mandatory
    • getLglCntntMIsIntegRelevant

      @Nullable public Boolean getLglCntntMIsIntegRelevant()
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMIsIntegRelevant

      Returns:
      Integrated
    • toString

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

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

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

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

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