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

public class LegalContextLinkedObject extends VdmEntity<LegalContextLinkedObject> implements VdmEntitySet
Legal Context Linked Objects

Original entity name from the Odata EDM: LegalContextLinkedObject_Type

  • Field Details

  • Constructor Details

    • LegalContextLinkedObject

      public LegalContextLinkedObject()
    • LegalContextLinkedObject

      public LegalContextLinkedObject(@Nullable UUID lglCntntMCntxtLinkObjUUID, @Nullable UUID lglCntntMContextUUID, @Nullable String lglCntntMLinkdObjType, @Nullable Boolean lglCntntMIsMandatory, @Nullable Boolean lglCntntMIsIntegRelevant, @Nullable LegalContext to_LCMContextTP)
  • Method Details

    • getType

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

      public void setLglCntntMCntxtLinkObjUUID(@Nullable UUID lglCntntMCntxtLinkObjUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMCntxtLinkObjUUID

      Parameters:
      lglCntntMCntxtLinkObjUUID - 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
    • setLglCntntMLinkdObjType

      public void setLglCntntMLinkdObjType(@Nullable String lglCntntMLinkdObjType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LglCntntMLinkdObjType

      Parameters:
      lglCntntMLinkdObjType - Linked Object 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<LegalContextLinkedObject>
    • getKey

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<LegalContextLinkedObject>
    • 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 LegalContextLinkedObject 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

    • getLglCntntMCntxtLinkObjUUID

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

      Original property name from the Odata EDM: LglCntntMCntxtLinkObjUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMContextUUID

      @Nullable public UUID getLglCntntMContextUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMContextUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMLinkdObjType

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

      Original property name from the Odata EDM: LglCntntMLinkdObjType

      Returns:
      Linked Object 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<LegalContextLinkedObject>
    • equals

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

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

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

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