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

public class ClfnCharcValueForKeyDate extends VdmEntity<ClfnCharcValueForKeyDate>
Characteristic Values

Original entity name from the Odata EDM: A_ClfnCharcValueForKeyDateType

  • Field Details

    • ALL_FIELDS

      public static final ClfnCharcValueForKeyDateSelectable ALL_FIELDS
      Selector for all available fields of ClfnCharcValueForKeyDate.
    • DELETE_MC

      public static final ClfnCharcValueForKeyDateField<Boolean> DELETE_MC
      Use with available fluent helpers to apply the Delete_mc field to query operations.
    • UPDATE_MC

      public static final ClfnCharcValueForKeyDateField<Boolean> UPDATE_MC
      Use with available fluent helpers to apply the Update_mc field to query operations.
    • CHARC_VALUE_DESC_OC

      public static final ClfnCharcValueForKeyDateField<Boolean> CHARC_VALUE_DESC_OC
      Use with available fluent helpers to apply the to_CharcValueDesc_oc field to query operations.
    • CHARC_INTERNAL_ID

      public static final ClfnCharcValueForKeyDateField<String> CHARC_INTERNAL_ID
      Use with available fluent helpers to apply the CharcInternalID field to query operations.
    • CHARC_VALUE_POSITION_NUMBER

      public static final ClfnCharcValueForKeyDateField<String> CHARC_VALUE_POSITION_NUMBER
      Use with available fluent helpers to apply the CharcValuePositionNumber field to query operations.
    • CHARC_VALUE_DEPENDENCY

      public static final ClfnCharcValueForKeyDateField<String> CHARC_VALUE_DEPENDENCY
      Use with available fluent helpers to apply the CharcValueDependency field to query operations.
    • CHARC_VALUE

      public static final ClfnCharcValueForKeyDateField<String> CHARC_VALUE
      Use with available fluent helpers to apply the CharcValue field to query operations.
    • CHARC_FROM_NUMERIC_VALUE

      public static final ClfnCharcValueForKeyDateField<Double> CHARC_FROM_NUMERIC_VALUE
      Use with available fluent helpers to apply the CharcFromNumericValue field to query operations.
    • CHARC_TO_NUMERIC_VALUE

      public static final ClfnCharcValueForKeyDateField<Double> CHARC_TO_NUMERIC_VALUE
      Use with available fluent helpers to apply the CharcToNumericValue field to query operations.
    • IS_DEFAULT_VALUE

      public static final ClfnCharcValueForKeyDateField<Boolean> IS_DEFAULT_VALUE
      Use with available fluent helpers to apply the IsDefaultValue field to query operations.
    • CHARC_FROM_NUMERIC_VALUE_UNIT

      public static final ClfnCharcValueForKeyDateField<String> CHARC_FROM_NUMERIC_VALUE_UNIT
      Use with available fluent helpers to apply the CharcFromNumericValueUnit field to query operations.
    • CHARC_TO_NUMERIC_VALUE_UNIT

      public static final ClfnCharcValueForKeyDateField<String> CHARC_TO_NUMERIC_VALUE_UNIT
      Use with available fluent helpers to apply the CharcToNumericValueUnit field to query operations.
    • LONG_TEXT_ID

      public static final ClfnCharcValueForKeyDateField<String> LONG_TEXT_ID
      Use with available fluent helpers to apply the LongTextID field to query operations.
    • CHANGE_NUMBER

      public static final ClfnCharcValueForKeyDateField<String> CHANGE_NUMBER
      Use with available fluent helpers to apply the ChangeNumber field to query operations.
    • DOCUMENT_TYPE

      public static final ClfnCharcValueForKeyDateField<String> DOCUMENT_TYPE
      Use with available fluent helpers to apply the DocumentType field to query operations.
    • DOC_NUMBER

      public static final ClfnCharcValueForKeyDateField<String> DOC_NUMBER
      Use with available fluent helpers to apply the DocNumber field to query operations.
    • DOCUMENT_PART

      public static final ClfnCharcValueForKeyDateField<String> DOCUMENT_PART
      Use with available fluent helpers to apply the DocumentPart field to query operations.
    • DOCUMENT_VERSION

      public static final ClfnCharcValueForKeyDateField<String> DOCUMENT_VERSION
      Use with available fluent helpers to apply the DocumentVersion field to query operations.
    • VALIDITY_START_DATE

      public static final ClfnCharcValueForKeyDateField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • VALIDITY_END_DATE

      public static final ClfnCharcValueForKeyDateField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • KEY_DATE

      public static final ClfnCharcValueForKeyDateField<LocalDateTime> KEY_DATE
      Use with available fluent helpers to apply the KeyDate field to query operations.
    • CHARC_LAST_CHANGED_DATE_TIME

      public static final ClfnCharcValueForKeyDateField<ZonedDateTime> CHARC_LAST_CHANGED_DATE_TIME
      Use with available fluent helpers to apply the CharcLastChangedDateTime field to query operations.
    • TO_CHARC_VALUE_DESC

      public static final ClfnCharcValueForKeyDateLink<ClfnCharcValueDescForKeyDate> TO_CHARC_VALUE_DESC
      Use with available fluent helpers to apply the to_CharcValueDesc navigation property to query operations.
  • Constructor Details

    • ClfnCharcValueForKeyDate

      public ClfnCharcValueForKeyDate()
    • ClfnCharcValueForKeyDate

      public ClfnCharcValueForKeyDate(@Nullable Boolean delete_mc, @Nullable Boolean update_mc, @Nullable Boolean charcValueDesc_oc, @Nullable String charcInternalID, @Nullable String charcValuePositionNumber, @Nullable String charcValueDependency, @Nullable String charcValue, @Nullable Double charcFromNumericValue, @Nullable Double charcToNumericValue, @Nullable Boolean isDefaultValue, @Nullable String charcFromNumericValueUnit, @Nullable String charcToNumericValueUnit, @Nullable String longTextID, @Nullable String changeNumber, @Nullable String documentType, @Nullable String docNumber, @Nullable String documentPart, @Nullable String documentVersion, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable LocalDateTime keyDate, @Nullable ZonedDateTime charcLastChangedDateTime, List<ClfnCharcValueDescForKeyDate> toCharcValueDesc)
  • Method Details

    • getType

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

      public void setDelete_mc(@Nullable Boolean delete_mc)
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Parameters:
      delete_mc - Dyn. Method Control
    • setUpdate_mc

      public void setUpdate_mc(@Nullable Boolean update_mc)
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Parameters:
      update_mc - Dyn. Method Control
    • setCharcValueDesc_oc

      public void setCharcValueDesc_oc(@Nullable Boolean charcValueDesc_oc)
      Constraints: none

      Original property name from the Odata EDM: to_CharcValueDesc_oc

      Parameters:
      charcValueDesc_oc - Dynamic CbA-Control
    • setCharcInternalID

      public void setCharcInternalID(@Nullable String charcInternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CharcInternalID

      Parameters:
      charcInternalID - Characteristic Internal ID
    • setCharcValuePositionNumber

      public void setCharcValuePositionNumber(@Nullable String charcValuePositionNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CharcValuePositionNumber

      Parameters:
      charcValuePositionNumber - Int counter
    • setCharcValueDependency

      public void setCharcValueDependency(@Nullable String charcValueDependency)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcValueDependency

      Parameters:
      charcValueDependency - Code for value dependency
    • setCharcValue

      public void setCharcValue(@Nullable String charcValue)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: CharcValue

      Parameters:
      charcValue - Characteristic Value
    • setCharcFromNumericValue

      public void setCharcFromNumericValue(@Nullable Double charcFromNumericValue)
      Constraints: none

      Original property name from the Odata EDM: CharcFromNumericValue

      Parameters:
      charcFromNumericValue - Internal floating point from
    • setCharcToNumericValue

      public void setCharcToNumericValue(@Nullable Double charcToNumericValue)
      Constraints: none

      Original property name from the Odata EDM: CharcToNumericValue

      Parameters:
      charcToNumericValue - Internal floating point value to
    • setIsDefaultValue

      public void setIsDefaultValue(@Nullable Boolean isDefaultValue)
      Constraints: none

      Original property name from the Odata EDM: IsDefaultValue

      Parameters:
      isDefaultValue - Default value
    • setCharcFromNumericValueUnit

      public void setCharcFromNumericValueUnit(@Nullable String charcFromNumericValueUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcFromNumericValueUnit

      Parameters:
      charcFromNumericValueUnit - Unit of Measurement
    • setCharcToNumericValueUnit

      public void setCharcToNumericValueUnit(@Nullable String charcToNumericValueUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcToNumericValueUnit

      Parameters:
      charcToNumericValueUnit - Unit of Measurement
    • setLongTextID

      public void setLongTextID(@Nullable String longTextID)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: LongTextID

      Parameters:
      longTextID - Number of Related Text
    • setChangeNumber

      public void setChangeNumber(@Nullable String changeNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Parameters:
      changeNumber - Change Number
    • setDocumentType

      public void setDocumentType(@Nullable String documentType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentType

      Parameters:
      documentType - Document Type
    • setDocNumber

      public void setDocNumber(@Nullable String docNumber)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: DocNumber

      Parameters:
      docNumber - Document number
    • setDocumentPart

      public void setDocumentPart(@Nullable String documentPart)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentPart

      Parameters:
      documentPart - Document Part
    • setDocumentVersion

      public void setDocumentVersion(@Nullable String documentVersion)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DocumentVersion

      Parameters:
      documentVersion - Document Version
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-From Date
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Valid-to date
    • setKeyDate

      public void setKeyDate(@Nullable LocalDateTime keyDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: KeyDate

      Parameters:
      keyDate - Date data element for SYST
    • setCharcLastChangedDateTime

      public void setCharcLastChangedDateTime(@Nullable ZonedDateTime charcLastChangedDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CharcLastChangedDateTime

      Parameters:
      charcLastChangedDateTime - UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ClfnCharcValueForKeyDateField<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> ClfnCharcValueForKeyDateField<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<ClfnCharcValueForKeyDate>
    • setServicePathForFetch

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<ClfnCharcValueForKeyDate>
    • fetchCharcValueDesc

      @Nonnull public List<ClfnCharcValueDescForKeyDate> fetchCharcValueDesc()
      Fetches the ClfnCharcValueDescForKeyDate entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CharcValueDesc.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated ClfnCharcValueDescForKeyDate entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getCharcValueDescOrFetch

      @Nonnull public List<ClfnCharcValueDescForKeyDate> getCharcValueDescOrFetch()
      Retrieval of associated ClfnCharcValueDescForKeyDate entities (one to many). This corresponds to the OData navigation property to_CharcValueDesc.

      If the navigation property to_CharcValueDesc of a queried ClfnCharcValueForKeyDate is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated ClfnCharcValueDescForKeyDate entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getCharcValueDescIfPresent

      @Nonnull public io.vavr.control.Option<List<ClfnCharcValueDescForKeyDate>> getCharcValueDescIfPresent()
      Retrieval of associated ClfnCharcValueDescForKeyDate entities (one to many). This corresponds to the OData navigation property to_CharcValueDesc.

      If the navigation property for an entity ClfnCharcValueForKeyDate 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 to_CharcValueDesc is already loaded, the result will contain the ClfnCharcValueDescForKeyDate entities. If not, an Option with result state empty is returned.
    • setCharcValueDesc

      public void setCharcValueDesc(@Nonnull List<ClfnCharcValueDescForKeyDate> value)
      Overwrites the list of associated ClfnCharcValueDescForKeyDate entities for the loaded navigation property to_CharcValueDesc.

      If the navigation property to_CharcValueDesc of a queried ClfnCharcValueForKeyDate is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of ClfnCharcValueDescForKeyDate entities.
    • addCharcValueDesc

      public void addCharcValueDesc(ClfnCharcValueDescForKeyDate... entity)
      Adds elements to the list of associated ClfnCharcValueDescForKeyDate entities. This corresponds to the OData navigation property to_CharcValueDesc.

      If the navigation property to_CharcValueDesc of a queried ClfnCharcValueForKeyDate is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of ClfnCharcValueDescForKeyDate entities.
    • builder

    • getDelete_mc

      @Nullable public Boolean getDelete_mc()
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Returns:
      Dyn. Method Control
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getCharcValueDesc_oc

      @Nullable public Boolean getCharcValueDesc_oc()
      Constraints: none

      Original property name from the Odata EDM: to_CharcValueDesc_oc

      Returns:
      Dynamic CbA-Control
    • getCharcInternalID

      @Nullable public String getCharcInternalID()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CharcInternalID

      Returns:
      Characteristic Internal ID
    • getCharcValuePositionNumber

      @Nullable public String getCharcValuePositionNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CharcValuePositionNumber

      Returns:
      Int counter
    • getCharcValueDependency

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

      Original property name from the Odata EDM: CharcValueDependency

      Returns:
      Code for value dependency
    • getCharcValue

      @Nullable public String getCharcValue()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: CharcValue

      Returns:
      Characteristic Value
    • getCharcFromNumericValue

      @Nullable public Double getCharcFromNumericValue()
      Constraints: none

      Original property name from the Odata EDM: CharcFromNumericValue

      Returns:
      Internal floating point from
    • getCharcToNumericValue

      @Nullable public Double getCharcToNumericValue()
      Constraints: none

      Original property name from the Odata EDM: CharcToNumericValue

      Returns:
      Internal floating point value to
    • getIsDefaultValue

      @Nullable public Boolean getIsDefaultValue()
      Constraints: none

      Original property name from the Odata EDM: IsDefaultValue

      Returns:
      Default value
    • getCharcFromNumericValueUnit

      @Nullable public String getCharcFromNumericValueUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcFromNumericValueUnit

      Returns:
      Unit of Measurement
    • getCharcToNumericValueUnit

      @Nullable public String getCharcToNumericValueUnit()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcToNumericValueUnit

      Returns:
      Unit of Measurement
    • getLongTextID

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

      Original property name from the Odata EDM: LongTextID

      Returns:
      Number of Related Text
    • getChangeNumber

      @Nullable public String getChangeNumber()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      Change Number
    • getDocumentType

      @Nullable public String getDocumentType()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentType

      Returns:
      Document Type
    • getDocNumber

      @Nullable public String getDocNumber()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: DocNumber

      Returns:
      Document number
    • getDocumentPart

      @Nullable public String getDocumentPart()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentPart

      Returns:
      Document Part
    • getDocumentVersion

      @Nullable public String getDocumentVersion()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DocumentVersion

      Returns:
      Document Version
    • getValidityStartDate

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

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-From Date
    • getValidityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Valid-to date
    • getKeyDate

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

      Original property name from the Odata EDM: KeyDate

      Returns:
      Date data element for SYST
    • getCharcLastChangedDateTime

      @Nullable public ZonedDateTime getCharcLastChangedDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CharcLastChangedDateTime

      Returns:
      UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • toString

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

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

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

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