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

public class LegalContextDate extends VdmEntity<LegalContextDate> implements VdmEntitySet
Legal Context Dates

Original entity name from the Odata EDM: LegalContextDate_Type

  • Field Details

  • Constructor Details

    • LegalContextDate

      public LegalContextDate()
    • LegalContextDate

      public LegalContextDate(@Nullable UUID lglCntntMCntxtDateUUID, @Nullable UUID lglCntntMContextUUID, @Nullable String lglCntntMDateType, @Nullable Boolean lglCntntMIsMandatory, @Nullable Boolean lglCntntMIsIntegRelevant, @Nullable LegalContext to_LCMContextTP)
  • Method Details

    • getType

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

      public void setLglCntntMCntxtDateUUID(@Nullable UUID lglCntntMCntxtDateUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMCntxtDateUUID

      Parameters:
      lglCntntMCntxtDateUUID - 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
    • setLglCntntMDateType

      public void setLglCntntMDateType(@Nullable String lglCntntMDateType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LglCntntMDateType

      Parameters:
      lglCntntMDateType - Date 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<LegalContextDate>
    • getKey

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

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

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

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

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

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

      Original property name from the Odata EDM: LglCntntMCntxtDateUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMContextUUID

      @Nullable public UUID getLglCntntMContextUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: LglCntntMContextUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMDateType

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

      Original property name from the Odata EDM: LglCntntMDateType

      Returns:
      Date 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<LegalContextDate>
    • equals

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

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

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

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