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

public class ClfnClassCharcForKeyDate extends VdmEntity<ClfnClassCharcForKeyDate>
Class Characteristics

Original entity name from the Odata EDM: A_ClfnClassCharcForKeyDateType

  • Field Details

    • ALL_FIELDS

      public static final ClfnClassCharcForKeyDateSelectable ALL_FIELDS
      Selector for all available fields of ClfnClassCharcForKeyDate.
    • DELETE_MC

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

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

      public static final ClfnClassCharcForKeyDateField<String> CLASS_INTERNAL_ID
      Use with available fluent helpers to apply the ClassInternalID field to query operations.
    • CHARC_INTERNAL_ID

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

      public static final ClfnClassCharcForKeyDateField<String> CHARC_POSITION_NUMBER
      Use with available fluent helpers to apply the CharcPositionNumber field to query operations.
    • CHARACTERISTIC

      public static final ClfnClassCharcForKeyDateField<String> CHARACTERISTIC
      Use with available fluent helpers to apply the Characteristic field to query operations.
    • ANCESTOR_CLASS_INTERNAL_ID

      public static final ClfnClassCharcForKeyDateField<String> ANCESTOR_CLASS_INTERNAL_ID
      Use with available fluent helpers to apply the AncestorClassInternalID field to query operations.
    • ORIGINAL_CHARC_INTERNAL_ID

      public static final ClfnClassCharcForKeyDateField<String> ORIGINAL_CHARC_INTERNAL_ID
      Use with available fluent helpers to apply the OriginalCharcInternalID field to query operations.
    • CHANGE_NUMBER

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

      public static final ClfnClassCharcForKeyDateField<String> CHARC_IS_PRINT_RELEVANT
      Use with available fluent helpers to apply the CharcIsPrintRelevant field to query operations.
    • CHARC_IS_SEARCH_RELEVANT

      public static final ClfnClassCharcForKeyDateField<String> CHARC_IS_SEARCH_RELEVANT
      Use with available fluent helpers to apply the CharcIsSearchRelevant field to query operations.
    • CHARC_IS_DISPLAY_RELEVANT

      public static final ClfnClassCharcForKeyDateField<String> CHARC_IS_DISPLAY_RELEVANT
      Use with available fluent helpers to apply the CharcIsDisplayRelevant field to query operations.
    • VALIDITY_START_DATE

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

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

      public static final ClfnClassCharcForKeyDateField<Boolean> CHARC_IS_PROPOSAL_RELEVANT
      Use with available fluent helpers to apply the CharcIsProposalRelevant field to query operations.
    • KEY_DATE

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

      public static final ClfnClassCharcForKeyDateField<ZonedDateTime> CLASS_LAST_CHANGED_DATE_TIME
      Use with available fluent helpers to apply the ClassLastChangedDateTime field to query operations.
    • TO_CLASS

      Use with available fluent helpers to apply the to_Class navigation property to query operations.
  • Constructor Details

    • ClfnClassCharcForKeyDate

      public ClfnClassCharcForKeyDate()
    • ClfnClassCharcForKeyDate

      public ClfnClassCharcForKeyDate(@Nullable Boolean delete_mc, @Nullable Boolean update_mc, @Nullable String classInternalID, @Nullable String charcInternalID, @Nullable String charcPositionNumber, @Nullable String characteristic, @Nullable String ancestorClassInternalID, @Nullable String originalCharcInternalID, @Nullable String changeNumber, @Nullable String charcIsPrintRelevant, @Nullable String charcIsSearchRelevant, @Nullable String charcIsDisplayRelevant, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable Boolean charcIsProposalRelevant, @Nullable LocalDateTime keyDate, @Nullable ZonedDateTime classLastChangedDateTime, @Nullable ClfnClassForKeyDate toClass)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ClassInternalID

      Parameters:
      classInternalID - Internal Class Number
    • 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
    • setCharcPositionNumber

      public void setCharcPositionNumber(@Nullable String charcPositionNumber)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CharcPositionNumber

      Parameters:
      charcPositionNumber - Item number
    • 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
    • setAncestorClassInternalID

      public void setAncestorClassInternalID(@Nullable String ancestorClassInternalID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AncestorClassInternalID

      Parameters:
      ancestorClassInternalID - Internal Class Number
    • setOriginalCharcInternalID

      public void setOriginalCharcInternalID(@Nullable String originalCharcInternalID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: OriginalCharcInternalID

      Parameters:
      originalCharcInternalID - Characteristic Internal ID
    • 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
    • setCharcIsPrintRelevant

      public void setCharcIsPrintRelevant(@Nullable String charcIsPrintRelevant)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcIsPrintRelevant

      Parameters:
      charcIsPrintRelevant - The charcIsPrintRelevant to set.
    • setCharcIsSearchRelevant

      public void setCharcIsSearchRelevant(@Nullable String charcIsSearchRelevant)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcIsSearchRelevant

      Parameters:
      charcIsSearchRelevant - The charcIsSearchRelevant to set.
    • setCharcIsDisplayRelevant

      public void setCharcIsDisplayRelevant(@Nullable String charcIsDisplayRelevant)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CharcIsDisplayRelevant

      Parameters:
      charcIsDisplayRelevant - The charcIsDisplayRelevant to set.
    • 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
    • setCharcIsProposalRelevant

      public void setCharcIsProposalRelevant(@Nullable Boolean charcIsProposalRelevant)
      Constraints: none

      Original property name from the Odata EDM: CharcIsProposalRelevant

      Parameters:
      charcIsProposalRelevant - Proposal Relevant
    • 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
    • setClassLastChangedDateTime

      public void setClassLastChangedDateTime(@Nullable ZonedDateTime classLastChangedDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: ClassLastChangedDateTime

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

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

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

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

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

      @Nonnull public static <T> ClfnClassCharcForKeyDateField<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> ClfnClassCharcForKeyDateField<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<ClfnClassCharcForKeyDate>
    • setServicePathForFetch

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

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

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

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

      @Nullable public ClfnClassForKeyDate fetchClassObjects()
      Fetches the ClfnClassForKeyDate entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Class.

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

      Returns:
      The single associated ClfnClassForKeyDate entity, or null if an entity is not associated.
      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.
    • getClassObjectsOrFetch

      @Nullable public ClfnClassForKeyDate getClassObjectsOrFetch()
      Retrieval of associated ClfnClassForKeyDate entity (one to one). This corresponds to the OData navigation property to_Class.

      If the navigation property to_Class of a queried ClfnClassCharcForKeyDate 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 ClfnClassForKeyDate entity.
      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.
    • getClassObjectsIfPresent

      @Nonnull public io.vavr.control.Option<ClfnClassForKeyDate> getClassObjectsIfPresent()
      Retrieval of associated ClfnClassForKeyDate entity (one to one). This corresponds to the OData navigation property to_Class.

      If the navigation property for an entity ClfnClassCharcForKeyDate 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_Class is already loaded, the result will contain the ClfnClassForKeyDate entity. If not, an Option with result state empty is returned.
    • setClassObjects

      public void setClassObjects(ClfnClassForKeyDate value)
      Overwrites the associated ClfnClassForKeyDate entity for the loaded navigation property to_Class.
      Parameters:
      value - New ClfnClassForKeyDate entity.
    • 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
    • getClassInternalID

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

      Original property name from the Odata EDM: ClassInternalID

      Returns:
      Internal Class Number
    • 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
    • getCharcPositionNumber

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

      Original property name from the Odata EDM: CharcPositionNumber

      Returns:
      Item number
    • getCharacteristic

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

      Original property name from the Odata EDM: Characteristic

      Returns:
      Characteristic Name
    • getAncestorClassInternalID

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

      Original property name from the Odata EDM: AncestorClassInternalID

      Returns:
      Internal Class Number
    • getOriginalCharcInternalID

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

      Original property name from the Odata EDM: OriginalCharcInternalID

      Returns:
      Characteristic Internal ID
    • getChangeNumber

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

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      Change Number
    • getCharcIsPrintRelevant

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

      Original property name from the Odata EDM: CharcIsPrintRelevant

      Returns:
      The charcIsPrintRelevant contained in this entity.
    • getCharcIsSearchRelevant

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

      Original property name from the Odata EDM: CharcIsSearchRelevant

      Returns:
      The charcIsSearchRelevant contained in this entity.
    • getCharcIsDisplayRelevant

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

      Original property name from the Odata EDM: CharcIsDisplayRelevant

      Returns:
      The charcIsDisplayRelevant contained in this entity.
    • 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
    • getCharcIsProposalRelevant

      @Nullable public Boolean getCharcIsProposalRelevant()
      Constraints: none

      Original property name from the Odata EDM: CharcIsProposalRelevant

      Returns:
      Proposal Relevant
    • getKeyDate

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

      Original property name from the Odata EDM: KeyDate

      Returns:
      Date data element for SYST
    • getClassLastChangedDateTime

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

      Original property name from the Odata EDM: ClassLastChangedDateTime

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

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

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

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

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