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

public class LegalContextEntity extends VdmEntity<LegalContextEntity> implements VdmEntitySet
Legal Context Entity

Original entity name from the Odata EDM: LegalContextEntity_Type

  • Field Details

  • Constructor Details

    • LegalContextEntity

      public LegalContextEntity()
    • LegalContextEntity

      public LegalContextEntity(@Nullable UUID lglCntntMCntxtEntityUUID, @Nullable UUID lglCntntMContextUUID, @Nullable Short lglCntntMRank, @Nullable String lglCntntMEntityType, @Nullable String lglCntntMEntity, @Nullable Boolean lglCntntMIsMandatory, @Nullable Boolean lglCntntMIsMainEntity, @Nullable Boolean lglCntntMIsIntegRelevant, @Nullable LegalContext to_LCMContextTP)
  • Method Details

    • getType

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

      public void setLglCntntMCntxtEntityUUID(@Nullable UUID lglCntntMCntxtEntityUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMCntxtEntityUUID

      Parameters:
      lglCntntMCntxtEntityUUID - 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
    • setLglCntntMEntityType

      public void setLglCntntMEntityType(@Nullable String lglCntntMEntityType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LglCntntMEntityType

      Parameters:
      lglCntntMEntityType - Entity Type
    • setLglCntntMEntity

      public void setLglCntntMEntity(@Nullable String lglCntntMEntity)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LglCntntMEntity

      Parameters:
      lglCntntMEntity - Entity ID
    • setLglCntntMIsMandatory

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

      Original property name from the Odata EDM: LglCntntMIsMandatory

      Parameters:
      lglCntntMIsMandatory - Mandatory
    • setLglCntntMIsMainEntity

      public void setLglCntntMIsMainEntity(@Nullable Boolean lglCntntMIsMainEntity)
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMIsMainEntity

      Parameters:
      lglCntntMIsMainEntity - Entity is Main Entity of Legal Transaction
    • 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<LegalContextEntity>
    • getKey

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

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

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

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

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

      @Nonnull public static LegalContextEntity.LegalContextEntityBuilder builder()
    • getLglCntntMCntxtEntityUUID

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

      Original property name from the Odata EDM: LglCntntMCntxtEntityUUID

      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
    • getLglCntntMEntityType

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

      Original property name from the Odata EDM: LglCntntMEntityType

      Returns:
      Entity Type
    • getLglCntntMEntity

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

      Original property name from the Odata EDM: LglCntntMEntity

      Returns:
      Entity ID
    • getLglCntntMIsMandatory

      @Nullable public Boolean getLglCntntMIsMandatory()
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMIsMandatory

      Returns:
      Mandatory
    • getLglCntntMIsMainEntity

      @Nullable public Boolean getLglCntntMIsMainEntity()
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMIsMainEntity

      Returns:
      Entity is Main Entity of Legal Transaction
    • 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<LegalContextEntity>
    • equals

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

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

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

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