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

public class LabelFieldGroup extends VdmEntity<LabelFieldGroup> implements VdmEntitySet
Label Field Group

Original entity name from the Odata EDM: LabelFieldGroup_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setProdCmplncLabelFieldGroupID(@Nullable String prodCmplncLabelFieldGroupID)
      (Key Field) Constraints: Not nullable, Maximum length: 21

      Original property name from the Odata EDM: ProdCmplncLabelFieldGroupID

      Parameters:
      prodCmplncLabelFieldGroupID - Label Field Group ID
    • setProdCmplncLblFldParentGroupID

      public void setProdCmplncLblFldParentGroupID(@Nullable String prodCmplncLblFldParentGroupID)
      Constraints: Not nullable, Maximum length: 21

      Original property name from the Odata EDM: ProdCmplncLblFldParentGroupID

      Parameters:
      prodCmplncLblFldParentGroupID - Label Field Group ID
    • setProdCmplncLblFldGrpDDICStruc

      public void setProdCmplncLblFldGrpDDICStruc(@Nullable String prodCmplncLblFldGrpDDICStruc)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: ProdCmplncLblFldGrpDDICStruc

      Parameters:
      prodCmplncLblFldGrpDDICStruc - Label Field Group Technical Name
    • setCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - User Name
    • setCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • setLastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - User Name
    • setLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

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

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

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

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

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

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

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

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

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

      public void setChildrenLabelFieldGroups(@Nonnull List<LabelFieldGroup> value)
      Overwrites the list of associated LabelFieldGroup entities for the loaded navigation property _ChildrenLabelFieldGroups.

      If the navigation property _ChildrenLabelFieldGroups of a queried LabelFieldGroup 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 LabelFieldGroup entities.
    • addChildrenLabelFieldGroups

      public void addChildrenLabelFieldGroups(LabelFieldGroup... entity)
      Adds elements to the list of associated LabelFieldGroup entities. This corresponds to the OData navigation property _ChildrenLabelFieldGroups.

      If the navigation property _ChildrenLabelFieldGroups of a queried LabelFieldGroup 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 LabelFieldGroup entities.
    • getLabelFieldVersionsIfPresent

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

      If the navigation property for an entity LabelFieldGroup 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 _LabelFieldVersions is already loaded, the result will contain the LabelFieldVersion entities. If not, an Option with result state empty is returned.
    • setLabelFieldVersions

      public void setLabelFieldVersions(@Nonnull List<LabelFieldVersion> value)
      Overwrites the list of associated LabelFieldVersion entities for the loaded navigation property _LabelFieldVersions.

      If the navigation property _LabelFieldVersions of a queried LabelFieldGroup 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 LabelFieldVersion entities.
    • addLabelFieldVersions

      public void addLabelFieldVersions(LabelFieldVersion... entity)
      Adds elements to the list of associated LabelFieldVersion entities. This corresponds to the OData navigation property _LabelFieldVersions.

      If the navigation property _LabelFieldVersions of a queried LabelFieldGroup 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 LabelFieldVersion entities.
    • getParentLabelFieldGroupIfPresent

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

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

      public void setParentLabelFieldGroup(LabelFieldGroup value)
      Overwrites the associated LabelFieldGroup entity for the loaded navigation property _ParentLabelFieldGroup.
      Parameters:
      value - New LabelFieldGroup entity.
    • getTextsIfPresent

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

      If the navigation property for an entity LabelFieldGroup 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 _Texts is already loaded, the result will contain the LabelFieldGroupText entities. If not, an Option with result state empty is returned.
    • setTexts

      public void setTexts(@Nonnull List<LabelFieldGroupText> value)
      Overwrites the list of associated LabelFieldGroupText entities for the loaded navigation property _Texts.

      If the navigation property _Texts of a queried LabelFieldGroup 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 LabelFieldGroupText entities.
    • addTexts

      public void addTexts(LabelFieldGroupText... entity)
      Adds elements to the list of associated LabelFieldGroupText entities. This corresponds to the OData navigation property _Texts.

      If the navigation property _Texts of a queried LabelFieldGroup 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 LabelFieldGroupText entities.
    • builder

      @Nonnull public static LabelFieldGroup.LabelFieldGroupBuilder builder()
    • getProdCmplncLabelFieldGroupID

      @Nullable public String getProdCmplncLabelFieldGroupID()
      (Key Field) Constraints: Not nullable, Maximum length: 21

      Original property name from the Odata EDM: ProdCmplncLabelFieldGroupID

      Returns:
      Label Field Group ID
    • getProdCmplncLblFldParentGroupID

      @Nullable public String getProdCmplncLblFldParentGroupID()
      Constraints: Not nullable, Maximum length: 21

      Original property name from the Odata EDM: ProdCmplncLblFldParentGroupID

      Returns:
      Label Field Group ID
    • getProdCmplncLblFldGrpDDICStruc

      @Nullable public String getProdCmplncLblFldGrpDDICStruc()
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: ProdCmplncLblFldGrpDDICStruc

      Returns:
      Label Field Group Technical Name
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      User Name
    • getCreationDateTime

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

      Original property name from the Odata EDM: CreationDateTime

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

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      User Name
    • getLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

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

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

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

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

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

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