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

public class ClfnCharacteristicForKeyDate extends VdmEntity<ClfnCharacteristicForKeyDate>
Characteristic Header Data

Original entity name from the Odata EDM: A_ClfnCharacteristicForKeyDateType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

      @Nonnull public Class<ClfnCharacteristicForKeyDate> getType()
      Specified by:
      getType in class VdmObject<ClfnCharacteristicForKeyDate>
    • 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
    • setCharacteristicDesc_oc

      public void setCharacteristicDesc_oc(@Nullable Boolean characteristicDesc_oc)
      Constraints: none

      Original property name from the Odata EDM: to_CharacteristicDesc_oc

      Parameters:
      characteristicDesc_oc - Dynamic CbA-Control
    • setCharacteristicReference_oc

      public void setCharacteristicReference_oc(@Nullable Boolean characteristicReference_oc)
      Constraints: none

      Original property name from the Odata EDM: to_CharacteristicReference_oc

      Parameters:
      characteristicReference_oc - Dynamic CbA-Control
    • setCharacteristicRestriction_oc

      public void setCharacteristicRestriction_oc(@Nullable Boolean characteristicRestriction_oc)
      Constraints: none

      Original property name from the Odata EDM: to_CharacteristicRestriction_oc

      Parameters:
      characteristicRestriction_oc - Dynamic CbA-Control
    • setCharacteristicValue_oc

      public void setCharacteristicValue_oc(@Nullable Boolean characteristicValue_oc)
      Constraints: none

      Original property name from the Odata EDM: to_CharacteristicValue_oc

      Parameters:
      characteristicValue_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
    • setCharacteristic

      public void setCharacteristic(@Nullable String characteristic)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: Characteristic

      Parameters:
      characteristic - Characteristic Name
    • setCharcStatus

      public void setCharcStatus(@Nullable String charcStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcStatus

      Parameters:
      charcStatus - Status of a characteristic
    • setCharcStatusName

      public void setCharcStatusName(@Nullable String charcStatusName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CharcStatusName

      Parameters:
      charcStatusName - Characteristic Status
    • setCharcDataType

      public void setCharcDataType(@Nullable String charcDataType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CharcDataType

      Parameters:
      charcDataType - Data type of characteristic
    • setCharcLength

      public void setCharcLength(@Nullable Short charcLength)
      Constraints: none

      Original property name from the Odata EDM: CharcLength

      Parameters:
      charcLength - Number of Characters
    • setCharcDecimals

      public void setCharcDecimals(@Nullable Short charcDecimals)
      Constraints: none

      Original property name from the Odata EDM: CharcDecimals

      Parameters:
      charcDecimals - Number of Decimal Places
    • setCharcTemplate

      public void setCharcTemplate(@Nullable String charcTemplate)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: CharcTemplate

      Parameters:
      charcTemplate - Value with template
    • setValueIsCaseSensitive

      public void setValueIsCaseSensitive(@Nullable Boolean valueIsCaseSensitive)
      Constraints: none

      Original property name from the Odata EDM: ValueIsCaseSensitive

      Parameters:
      valueIsCaseSensitive - Case Sensitive
    • setCharcGroup

      public void setCharcGroup(@Nullable String charcGroup)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CharcGroup

      Parameters:
      charcGroup - Characteristic Group
    • setCharcGroupName

      public void setCharcGroupName(@Nullable String charcGroupName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CharcGroupName

      Parameters:
      charcGroupName - Characteristics Group Description
    • setEntryIsRequired

      public void setEntryIsRequired(@Nullable Boolean entryIsRequired)
      Constraints: none

      Original property name from the Odata EDM: EntryIsRequired

      Parameters:
      entryIsRequired - Entry Required
    • setMultipleValuesAreAllowed

      public void setMultipleValuesAreAllowed(@Nullable Boolean multipleValuesAreAllowed)
      Constraints: none

      Original property name from the Odata EDM: MultipleValuesAreAllowed

      Parameters:
      multipleValuesAreAllowed - Multiple Values Are Allowed
    • setCharcValueUnit

      public void setCharcValueUnit(@Nullable String charcValueUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcValueUnit

      Parameters:
      charcValueUnit - Unit of Measurement
    • setUnitOfMeasureISOCode

      public void setUnitOfMeasureISOCode(@Nullable String unitOfMeasureISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitOfMeasureISOCode

      Parameters:
      unitOfMeasureISOCode - ISO Code for Unit of Measurement
    • setCurrency

      public void setCurrency(@Nullable String currency)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Parameters:
      currency - Currency Key
    • setCurrencyISOCode

      public void setCurrencyISOCode(@Nullable String currencyISOCode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CurrencyISOCode

      Parameters:
      currencyISOCode - ISO Currency Code
    • setCharcExponentValue

      public void setCharcExponentValue(@Nullable Short charcExponentValue)
      Constraints: none

      Original property name from the Odata EDM: CharcExponentValue

      Parameters:
      charcExponentValue - Exponent display
    • setValueIntervalIsAllowed

      public void setValueIntervalIsAllowed(@Nullable Boolean valueIntervalIsAllowed)
      Constraints: none

      Original property name from the Odata EDM: ValueIntervalIsAllowed

      Parameters:
      valueIntervalIsAllowed - Interval Values Allowed
    • setAdditionalValueIsAllowed

      public void setAdditionalValueIsAllowed(@Nullable Boolean additionalValueIsAllowed)
      Constraints: none

      Original property name from the Odata EDM: AdditionalValueIsAllowed

      Parameters:
      additionalValueIsAllowed - Indicator: Additional Values
    • setNegativeValueIsAllowed

      public void setNegativeValueIsAllowed(@Nullable Boolean negativeValueIsAllowed)
      Constraints: none

      Original property name from the Odata EDM: NegativeValueIsAllowed

      Parameters:
      negativeValueIsAllowed - Value with Plus or Minus Sign
    • 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
    • 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
    • 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
    • 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
    • setCharcMaintAuthGrp

      public void setCharcMaintAuthGrp(@Nullable String charcMaintAuthGrp)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcMaintAuthGrp

      Parameters:
      charcMaintAuthGrp - Authorization Group for Characteristics Maintenance
    • setCharcIsReadOnly

      public void setCharcIsReadOnly(@Nullable Boolean charcIsReadOnly)
      Constraints: none

      Original property name from the Odata EDM: CharcIsReadOnly

      Parameters:
      charcIsReadOnly - No Entry Allowed for Characteristic
    • setCharcIsHidden

      public void setCharcIsHidden(@Nullable Boolean charcIsHidden)
      Constraints: none

      Original property name from the Odata EDM: CharcIsHidden

      Parameters:
      charcIsHidden - Characteristic Not To Be Displayed
    • setCharcIsRestrictable

      public void setCharcIsRestrictable(@Nullable String charcIsRestrictable)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcIsRestrictable

      Parameters:
      charcIsRestrictable - Indicator: restrictable characteristic
    • setCharcExponentFormat

      public void setCharcExponentFormat(@Nullable String charcExponentFormat)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcExponentFormat

      Parameters:
      charcExponentFormat - Exponent Display Format
    • setCharcEntryIsNotFormatCtrld

      public void setCharcEntryIsNotFormatCtrld(@Nullable Boolean charcEntryIsNotFormatCtrld)
      Constraints: none

      Original property name from the Odata EDM: CharcEntryIsNotFormatCtrld

      Parameters:
      charcEntryIsNotFormatCtrld - Unformatted Entry Control
    • setCharcTemplateIsDisplayed

      public void setCharcTemplateIsDisplayed(@Nullable Boolean charcTemplateIsDisplayed)
      Constraints: none

      Original property name from the Odata EDM: CharcTemplateIsDisplayed

      Parameters:
      charcTemplateIsDisplayed - Indicator: Display Template When Assigning Values
    • setCreationDate

      public void setCreationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Record Created On
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Last Changed On
    • 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)
    • 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
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ClfnCharacteristicForKeyDateField<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> ClfnCharacteristicForKeyDateField<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<ClfnCharacteristicForKeyDate>
    • setServicePathForFetch

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

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

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

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

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

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

      Returns:
      List containing one or more associated ClfnCharcDescForKeyDate 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.
    • getCharacteristicDescOrFetch

      @Nonnull public List<ClfnCharcDescForKeyDate> getCharacteristicDescOrFetch()
      Retrieval of associated ClfnCharcDescForKeyDate entities (one to many). This corresponds to the OData navigation property to_CharacteristicDesc.

      If the navigation property to_CharacteristicDesc of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcDescForKeyDate 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.
    • getCharacteristicDescIfPresent

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

      If the navigation property for an entity ClfnCharacteristicForKeyDate 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_CharacteristicDesc is already loaded, the result will contain the ClfnCharcDescForKeyDate entities. If not, an Option with result state empty is returned.
    • setCharacteristicDesc

      public void setCharacteristicDesc(@Nonnull List<ClfnCharcDescForKeyDate> value)
      Overwrites the list of associated ClfnCharcDescForKeyDate entities for the loaded navigation property to_CharacteristicDesc.

      If the navigation property to_CharacteristicDesc of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcDescForKeyDate entities.
    • addCharacteristicDesc

      public void addCharacteristicDesc(ClfnCharcDescForKeyDate... entity)
      Adds elements to the list of associated ClfnCharcDescForKeyDate entities. This corresponds to the OData navigation property to_CharacteristicDesc.

      If the navigation property to_CharacteristicDesc of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcDescForKeyDate entities.
    • fetchCharacteristicReference

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

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

      Returns:
      List containing one or more associated ClfnCharcRefForKeyDate 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.
    • getCharacteristicReferenceOrFetch

      @Nonnull public List<ClfnCharcRefForKeyDate> getCharacteristicReferenceOrFetch()
      Retrieval of associated ClfnCharcRefForKeyDate entities (one to many). This corresponds to the OData navigation property to_CharacteristicReference.

      If the navigation property to_CharacteristicReference of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcRefForKeyDate 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.
    • getCharacteristicReferenceIfPresent

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

      If the navigation property for an entity ClfnCharacteristicForKeyDate 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_CharacteristicReference is already loaded, the result will contain the ClfnCharcRefForKeyDate entities. If not, an Option with result state empty is returned.
    • setCharacteristicReference

      public void setCharacteristicReference(@Nonnull List<ClfnCharcRefForKeyDate> value)
      Overwrites the list of associated ClfnCharcRefForKeyDate entities for the loaded navigation property to_CharacteristicReference.

      If the navigation property to_CharacteristicReference of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcRefForKeyDate entities.
    • addCharacteristicReference

      public void addCharacteristicReference(ClfnCharcRefForKeyDate... entity)
      Adds elements to the list of associated ClfnCharcRefForKeyDate entities. This corresponds to the OData navigation property to_CharacteristicReference.

      If the navigation property to_CharacteristicReference of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcRefForKeyDate entities.
    • fetchCharacteristicRestriction

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

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

      Returns:
      List containing one or more associated ClfnCharcRstrcnForKeyDate 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.
    • getCharacteristicRestrictionOrFetch

      @Nonnull public List<ClfnCharcRstrcnForKeyDate> getCharacteristicRestrictionOrFetch()
      Retrieval of associated ClfnCharcRstrcnForKeyDate entities (one to many). This corresponds to the OData navigation property to_CharacteristicRestriction.

      If the navigation property to_CharacteristicRestriction of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcRstrcnForKeyDate 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.
    • getCharacteristicRestrictionIfPresent

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

      If the navigation property for an entity ClfnCharacteristicForKeyDate 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_CharacteristicRestriction is already loaded, the result will contain the ClfnCharcRstrcnForKeyDate entities. If not, an Option with result state empty is returned.
    • setCharacteristicRestriction

      public void setCharacteristicRestriction(@Nonnull List<ClfnCharcRstrcnForKeyDate> value)
      Overwrites the list of associated ClfnCharcRstrcnForKeyDate entities for the loaded navigation property to_CharacteristicRestriction.

      If the navigation property to_CharacteristicRestriction of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcRstrcnForKeyDate entities.
    • addCharacteristicRestriction

      public void addCharacteristicRestriction(ClfnCharcRstrcnForKeyDate... entity)
      Adds elements to the list of associated ClfnCharcRstrcnForKeyDate entities. This corresponds to the OData navigation property to_CharacteristicRestriction.

      If the navigation property to_CharacteristicRestriction of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcRstrcnForKeyDate entities.
    • fetchCharacteristicValue

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

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

      Returns:
      List containing one or more associated ClfnCharcValueForKeyDate 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.
    • getCharacteristicValueOrFetch

      @Nonnull public List<ClfnCharcValueForKeyDate> getCharacteristicValueOrFetch()
      Retrieval of associated ClfnCharcValueForKeyDate entities (one to many). This corresponds to the OData navigation property to_CharacteristicValue.

      If the navigation property to_CharacteristicValue of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcValueForKeyDate 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.
    • getCharacteristicValueIfPresent

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

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

      public void setCharacteristicValue(@Nonnull List<ClfnCharcValueForKeyDate> value)
      Overwrites the list of associated ClfnCharcValueForKeyDate entities for the loaded navigation property to_CharacteristicValue.

      If the navigation property to_CharacteristicValue of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcValueForKeyDate entities.
    • addCharacteristicValue

      public void addCharacteristicValue(ClfnCharcValueForKeyDate... entity)
      Adds elements to the list of associated ClfnCharcValueForKeyDate entities. This corresponds to the OData navigation property to_CharacteristicValue.

      If the navigation property to_CharacteristicValue of a queried ClfnCharacteristicForKeyDate 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 ClfnCharcValueForKeyDate 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
    • getCharacteristicDesc_oc

      @Nullable public Boolean getCharacteristicDesc_oc()
      Constraints: none

      Original property name from the Odata EDM: to_CharacteristicDesc_oc

      Returns:
      Dynamic CbA-Control
    • getCharacteristicReference_oc

      @Nullable public Boolean getCharacteristicReference_oc()
      Constraints: none

      Original property name from the Odata EDM: to_CharacteristicReference_oc

      Returns:
      Dynamic CbA-Control
    • getCharacteristicRestriction_oc

      @Nullable public Boolean getCharacteristicRestriction_oc()
      Constraints: none

      Original property name from the Odata EDM: to_CharacteristicRestriction_oc

      Returns:
      Dynamic CbA-Control
    • getCharacteristicValue_oc

      @Nullable public Boolean getCharacteristicValue_oc()
      Constraints: none

      Original property name from the Odata EDM: to_CharacteristicValue_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
    • getCharacteristic

      @Nullable public String getCharacteristic()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: Characteristic

      Returns:
      Characteristic Name
    • getCharcStatus

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

      Original property name from the Odata EDM: CharcStatus

      Returns:
      Status of a characteristic
    • getCharcStatusName

      @Nullable public String getCharcStatusName()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CharcStatusName

      Returns:
      Characteristic Status
    • getCharcDataType

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

      Original property name from the Odata EDM: CharcDataType

      Returns:
      Data type of characteristic
    • getCharcLength

      @Nullable public Short getCharcLength()
      Constraints: none

      Original property name from the Odata EDM: CharcLength

      Returns:
      Number of Characters
    • getCharcDecimals

      @Nullable public Short getCharcDecimals()
      Constraints: none

      Original property name from the Odata EDM: CharcDecimals

      Returns:
      Number of Decimal Places
    • getCharcTemplate

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

      Original property name from the Odata EDM: CharcTemplate

      Returns:
      Value with template
    • getValueIsCaseSensitive

      @Nullable public Boolean getValueIsCaseSensitive()
      Constraints: none

      Original property name from the Odata EDM: ValueIsCaseSensitive

      Returns:
      Case Sensitive
    • getCharcGroup

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

      Original property name from the Odata EDM: CharcGroup

      Returns:
      Characteristic Group
    • getCharcGroupName

      @Nullable public String getCharcGroupName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CharcGroupName

      Returns:
      Characteristics Group Description
    • getEntryIsRequired

      @Nullable public Boolean getEntryIsRequired()
      Constraints: none

      Original property name from the Odata EDM: EntryIsRequired

      Returns:
      Entry Required
    • getMultipleValuesAreAllowed

      @Nullable public Boolean getMultipleValuesAreAllowed()
      Constraints: none

      Original property name from the Odata EDM: MultipleValuesAreAllowed

      Returns:
      Multiple Values Are Allowed
    • getCharcValueUnit

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

      Original property name from the Odata EDM: CharcValueUnit

      Returns:
      Unit of Measurement
    • getUnitOfMeasureISOCode

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

      Original property name from the Odata EDM: UnitOfMeasureISOCode

      Returns:
      ISO Code for Unit of Measurement
    • getCurrency

      @Nullable public String getCurrency()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Currency

      Returns:
      Currency Key
    • getCurrencyISOCode

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

      Original property name from the Odata EDM: CurrencyISOCode

      Returns:
      ISO Currency Code
    • getCharcExponentValue

      @Nullable public Short getCharcExponentValue()
      Constraints: none

      Original property name from the Odata EDM: CharcExponentValue

      Returns:
      Exponent display
    • getValueIntervalIsAllowed

      @Nullable public Boolean getValueIntervalIsAllowed()
      Constraints: none

      Original property name from the Odata EDM: ValueIntervalIsAllowed

      Returns:
      Interval Values Allowed
    • getAdditionalValueIsAllowed

      @Nullable public Boolean getAdditionalValueIsAllowed()
      Constraints: none

      Original property name from the Odata EDM: AdditionalValueIsAllowed

      Returns:
      Indicator: Additional Values
    • getNegativeValueIsAllowed

      @Nullable public Boolean getNegativeValueIsAllowed()
      Constraints: none

      Original property name from the Odata EDM: NegativeValueIsAllowed

      Returns:
      Value with Plus or Minus Sign
    • 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
    • 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
    • getDocumentVersion

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

      Original property name from the Odata EDM: DocumentVersion

      Returns:
      Document Version
    • getDocumentPart

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

      Original property name from the Odata EDM: DocumentPart

      Returns:
      Document Part
    • getCharcMaintAuthGrp

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

      Original property name from the Odata EDM: CharcMaintAuthGrp

      Returns:
      Authorization Group for Characteristics Maintenance
    • getCharcIsReadOnly

      @Nullable public Boolean getCharcIsReadOnly()
      Constraints: none

      Original property name from the Odata EDM: CharcIsReadOnly

      Returns:
      No Entry Allowed for Characteristic
    • getCharcIsHidden

      @Nullable public Boolean getCharcIsHidden()
      Constraints: none

      Original property name from the Odata EDM: CharcIsHidden

      Returns:
      Characteristic Not To Be Displayed
    • getCharcIsRestrictable

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

      Original property name from the Odata EDM: CharcIsRestrictable

      Returns:
      Indicator: restrictable characteristic
    • getCharcExponentFormat

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

      Original property name from the Odata EDM: CharcExponentFormat

      Returns:
      Exponent Display Format
    • getCharcEntryIsNotFormatCtrld

      @Nullable public Boolean getCharcEntryIsNotFormatCtrld()
      Constraints: none

      Original property name from the Odata EDM: CharcEntryIsNotFormatCtrld

      Returns:
      Unformatted Entry Control
    • getCharcTemplateIsDisplayed

      @Nullable public Boolean getCharcTemplateIsDisplayed()
      Constraints: none

      Original property name from the Odata EDM: CharcTemplateIsDisplayed

      Returns:
      Indicator: Display Template When Assigning Values
    • getCreationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      Record Created On
    • getLastChangeDate

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

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Last Changed On
    • 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)
    • getKeyDate

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

      Original property name from the Odata EDM: KeyDate

      Returns:
      Date data element for SYST
    • toString

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

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

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

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