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

public class VarConfignCharacteristicGroup extends VdmEntity<VarConfignCharacteristicGroup> implements VdmEntitySet
Variant Confign Charc Group

Original entity name from the Odata EDM: VarConfignCharacteristicGroup_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setConfignCharacteristicGroup(@Nullable String confignCharacteristicGroup)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ConfignCharacteristicGroup

      Parameters:
      confignCharacteristicGroup - Key for Group of Characteristics
    • setChangeNumber

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

      Original property name from the Odata EDM: ChangeNumber

      Parameters:
      changeNumber - Change Number
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Name of Person Responsible for Creating the Object
    • setCreationDateTime

      public void setCreationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - Creation Date
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Name of Person Who Changed Object
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - Last Changed On
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity VarConfignCharacteristicGroup 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 _CharcAllocation is already loaded, the result will contain the VarConfignCharacGroupAllocation entities. If not, an Option with result state empty is returned.
    • setCharcAllocation

      public void setCharcAllocation(@Nonnull List<VarConfignCharacGroupAllocation> value)
      Overwrites the list of associated VarConfignCharacGroupAllocation entities for the loaded navigation property _CharcAllocation.

      If the navigation property _CharcAllocation of a queried VarConfignCharacteristicGroup 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 VarConfignCharacGroupAllocation entities.
    • addCharcAllocation

      public void addCharcAllocation(VarConfignCharacGroupAllocation... entity)
      Adds elements to the list of associated VarConfignCharacGroupAllocation entities. This corresponds to the OData navigation property _CharcAllocation.

      If the navigation property _CharcAllocation of a queried VarConfignCharacteristicGroup 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 VarConfignCharacGroupAllocation entities.
    • getTextIfPresent

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

      If the navigation property for an entity VarConfignCharacteristicGroup 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 _Text is already loaded, the result will contain the VarConfignCharcGroupText entities. If not, an Option with result state empty is returned.
    • setText

      public void setText(@Nonnull List<VarConfignCharcGroupText> value)
      Overwrites the list of associated VarConfignCharcGroupText entities for the loaded navigation property _Text.

      If the navigation property _Text of a queried VarConfignCharacteristicGroup 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 VarConfignCharcGroupText entities.
    • addText

      public void addText(VarConfignCharcGroupText... entity)
      Adds elements to the list of associated VarConfignCharcGroupText entities. This corresponds to the OData navigation property _Text.

      If the navigation property _Text of a queried VarConfignCharacteristicGroup 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 VarConfignCharcGroupText entities.
    • builder

    • getConfignCharacteristicGroup

      @Nullable public String getConfignCharacteristicGroup()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ConfignCharacteristicGroup

      Returns:
      Key for Group of Characteristics
    • getChangeNumber

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

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      Change Number
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Name of Person Responsible for Creating the Object
    • getCreationDateTime

      @Nullable public OffsetDateTime getCreationDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      Creation Date
    • getLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Name of Person Who Changed Object
    • getLastChangeDateTime

      @Nullable public OffsetDateTime getLastChangeDateTime()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      Last Changed On
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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