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

public class LegalContextRelationship extends VdmEntity<LegalContextRelationship> implements VdmEntitySet
Legal Context Relationships

Original entity name from the Odata EDM: LegalContextRelationship_Type

  • Field Details

  • Constructor Details

    • LegalContextRelationship

      public LegalContextRelationship()
    • LegalContextRelationship

      public LegalContextRelationship(@Nullable UUID lglCntntMCntxtRelshpUUID, @Nullable UUID lglCntntMContextUUID, @Nullable String lglCntntMRelshpType, @Nullable String lglCntntMCntxtRelshpLglTrans, @Nullable Boolean lglCntntMIsMandatory, @Nullable Boolean lglCntntMIsIntegRelevant, @Nullable LegalContext to_LCMContextTP)
  • Method Details

    • getType

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

      public void setLglCntntMCntxtRelshpUUID(@Nullable UUID lglCntntMCntxtRelshpUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMCntxtRelshpUUID

      Parameters:
      lglCntntMCntxtRelshpUUID - 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
    • setLglCntntMRelshpType

      public void setLglCntntMRelshpType(@Nullable String lglCntntMRelshpType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LglCntntMRelshpType

      Parameters:
      lglCntntMRelshpType - Relationship Type
    • setLglCntntMCntxtRelshpLglTrans

      public void setLglCntntMCntxtRelshpLglTrans(@Nullable String lglCntntMCntxtRelshpLglTrans)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LglCntntMCntxtRelshpLglTrans

      Parameters:
      lglCntntMCntxtRelshpLglTrans - Legal Transaction ID
    • 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<LegalContextRelationship>
    • getKey

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

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

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

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

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

    • getLglCntntMCntxtRelshpUUID

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

      Original property name from the Odata EDM: LglCntntMCntxtRelshpUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMContextUUID

      @Nullable public UUID getLglCntntMContextUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMContextUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMRelshpType

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

      Original property name from the Odata EDM: LglCntntMRelshpType

      Returns:
      Relationship Type
    • getLglCntntMCntxtRelshpLglTrans

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

      Original property name from the Odata EDM: LglCntntMCntxtRelshpLglTrans

      Returns:
      Legal Transaction ID
    • 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<LegalContextRelationship>
    • equals

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

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

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

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