java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<LglTransDate>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.legaltransaction.LglTransDate

public class LglTransDate extends VdmEntity<LglTransDate>
Dates

Original entity name from the Odata EDM: A_LglTransDateType

  • Field Details

    • ALL_FIELDS

      public static final LglTransDateSelectable ALL_FIELDS
      Selector for all available fields of LglTransDate.
    • LGL_CNTNT_M_DATE_TYPE

      public static final LglTransDateField<String> LGL_CNTNT_M_DATE_TYPE
      Use with available fluent helpers to apply the LglCntntMDateType field to query operations.
    • LGL_CNTNT_M_FROM_DATE

      public static final LglTransDateField<LocalDateTime> LGL_CNTNT_M_FROM_DATE
      Use with available fluent helpers to apply the LglCntntMFromDate field to query operations.
    • LGL_CNTNT_M_TO_DATE

      public static final LglTransDateField<LocalDateTime> LGL_CNTNT_M_TO_DATE
      Use with available fluent helpers to apply the LglCntntMToDate field to query operations.
  • Constructor Details

    • LglTransDate

      public LglTransDate()
    • LglTransDate

      public LglTransDate(@Nullable UUID legalTransactionDateUUID, @Nullable String lglCntntMDateType, @Nullable LocalDateTime lglCntntMFromDate, @Nullable LocalDateTime lglCntntMToDate, @Nullable String legalTransDateChangeReason, @Nullable String legalTransactionMandatoryFlag, @Nullable UUID legalTransactionUUID)
  • Method Details

    • getType

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

      public void setLegalTransactionDateUUID(@Nullable UUID legalTransactionDateUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LegalTransactionDateUUID

      Parameters:
      legalTransactionDateUUID - 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
    • setLglCntntMFromDate

      public void setLglCntntMFromDate(@Nullable LocalDateTime lglCntntMFromDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LglCntntMFromDate

      Parameters:
      lglCntntMFromDate - Valid From
    • setLglCntntMToDate

      public void setLglCntntMToDate(@Nullable LocalDateTime lglCntntMToDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LglCntntMToDate

      Parameters:
      lglCntntMToDate - Valid To
    • setLegalTransDateChangeReason

      public void setLegalTransDateChangeReason(@Nullable String legalTransDateChangeReason)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LegalTransDateChangeReason

      Parameters:
      legalTransDateChangeReason - Reason of Change
    • setLegalTransactionMandatoryFlag

      public void setLegalTransactionMandatoryFlag(@Nullable String legalTransactionMandatoryFlag)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: LegalTransactionMandatoryFlag

      Parameters:
      legalTransactionMandatoryFlag - Control Parameter Legal Transaction Mandatory State
    • setLegalTransactionUUID

      public void setLegalTransactionUUID(@Nullable UUID legalTransactionUUID)
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionUUID

      Parameters:
      legalTransactionUUID - Universal Unique Identifier
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> LglTransDateField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> LglTransDateField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<LglTransDate>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<LglTransDate>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<LglTransDate>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<LglTransDate>
    • builder

      @Nonnull public static LglTransDate.LglTransDateBuilder builder()
    • getLegalTransactionDateUUID

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

      Original property name from the Odata EDM: LegalTransactionDateUUID

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

      @Nullable public LocalDateTime getLglCntntMFromDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LglCntntMFromDate

      Returns:
      Valid From
    • getLglCntntMToDate

      @Nullable public LocalDateTime getLglCntntMToDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LglCntntMToDate

      Returns:
      Valid To
    • getLegalTransDateChangeReason

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

      Original property name from the Odata EDM: LegalTransDateChangeReason

      Returns:
      Reason of Change
    • getLegalTransactionMandatoryFlag

      @Nullable public String getLegalTransactionMandatoryFlag()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: LegalTransactionMandatoryFlag

      Returns:
      Control Parameter Legal Transaction Mandatory State
    • getLegalTransactionUUID

      @Nullable public UUID getLegalTransactionUUID()
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionUUID

      Returns:
      Universal Unique Identifier
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<LglTransDate>