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

public class LabelFieldVersion extends VdmEntity<LabelFieldVersion> implements VdmEntitySet
Label Field Version

Original entity name from the Odata EDM: LabelFieldVersion_Type

  • Field Details

  • Constructor Details

    • LabelFieldVersion

      public LabelFieldVersion()
    • LabelFieldVersion

      public LabelFieldVersion(@Nullable String prodCmplncLabelFieldVersionID, @Nullable String prodCmplncLabelFieldID, @Nullable Short prodCmplncLabelFieldVersion, @Nullable String prodCmplncLblFldVersionStatus, @Nullable String prodCmplncLabelFieldGroupID, @Nullable String prodCmplncLblFldTechnicalName, @Nullable String prodCmplncLblFldDataDefinition, @Nullable String prodCmplncLblFieldCardinality, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable LabelFieldGroup to_LabelFieldGroup, List<LabelFieldVersionText> to_Texts)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ProdCmplncLabelFieldVersionID

      Parameters:
      prodCmplncLabelFieldVersionID - Label Field Version Identificator
    • setProdCmplncLabelFieldID

      public void setProdCmplncLabelFieldID(@Nullable String prodCmplncLabelFieldID)
      Constraints: Not nullable, Maximum length: 21

      Original property name from the Odata EDM: ProdCmplncLabelFieldID

      Parameters:
      prodCmplncLabelFieldID - Label Field Identificator
    • setProdCmplncLabelFieldVersion

      public void setProdCmplncLabelFieldVersion(@Nullable Short prodCmplncLabelFieldVersion)
      Constraints: Not nullable

      Original property name from the Odata EDM: ProdCmplncLabelFieldVersion

      Parameters:
      prodCmplncLabelFieldVersion - Label Field Version
    • setProdCmplncLblFldVersionStatus

      public void setProdCmplncLblFldVersionStatus(@Nullable String prodCmplncLblFldVersionStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProdCmplncLblFldVersionStatus

      Parameters:
      prodCmplncLblFldVersionStatus - Label Field Version Status
    • setProdCmplncLabelFieldGroupID

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

      Original property name from the Odata EDM: ProdCmplncLabelFieldGroupID

      Parameters:
      prodCmplncLabelFieldGroupID - Label Field Group ID
    • setProdCmplncLblFldTechnicalName

      public void setProdCmplncLblFldTechnicalName(@Nullable String prodCmplncLblFldTechnicalName)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: ProdCmplncLblFldTechnicalName

      Parameters:
      prodCmplncLblFldTechnicalName - Label Field Technical Name
    • setProdCmplncLblFldDataDefinition

      public void setProdCmplncLblFldDataDefinition(@Nullable String prodCmplncLblFldDataDefinition)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProdCmplncLblFldDataDefinition

      Parameters:
      prodCmplncLblFldDataDefinition - Label Field Data Definition
    • setProdCmplncLblFieldCardinality

      public void setProdCmplncLblFieldCardinality(@Nullable String prodCmplncLblFieldCardinality)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: ProdCmplncLblFieldCardinality

      Parameters:
      prodCmplncLblFieldCardinality - Label Field Cardinality
    • 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)
    • getEntityCollection

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

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

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

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

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

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

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

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

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

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

      If the navigation property for an entity LabelFieldVersion 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 LabelFieldVersionText entities. If not, an Option with result state empty is returned.
    • setTexts

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

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

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

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

      @Nonnull public static LabelFieldVersion.LabelFieldVersionBuilder builder()
    • getProdCmplncLabelFieldVersionID

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

      Original property name from the Odata EDM: ProdCmplncLabelFieldVersionID

      Returns:
      Label Field Version Identificator
    • getProdCmplncLabelFieldID

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

      Original property name from the Odata EDM: ProdCmplncLabelFieldID

      Returns:
      Label Field Identificator
    • getProdCmplncLabelFieldVersion

      @Nullable public Short getProdCmplncLabelFieldVersion()
      Constraints: Not nullable

      Original property name from the Odata EDM: ProdCmplncLabelFieldVersion

      Returns:
      Label Field Version
    • getProdCmplncLblFldVersionStatus

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

      Original property name from the Odata EDM: ProdCmplncLblFldVersionStatus

      Returns:
      Label Field Version Status
    • getProdCmplncLabelFieldGroupID

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

      Original property name from the Odata EDM: ProdCmplncLabelFieldGroupID

      Returns:
      Label Field Group ID
    • getProdCmplncLblFldTechnicalName

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

      Original property name from the Odata EDM: ProdCmplncLblFldTechnicalName

      Returns:
      Label Field Technical Name
    • getProdCmplncLblFldDataDefinition

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

      Original property name from the Odata EDM: ProdCmplncLblFldDataDefinition

      Returns:
      Label Field Data Definition
    • getProdCmplncLblFieldCardinality

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

      Original property name from the Odata EDM: ProdCmplncLblFieldCardinality

      Returns:
      Label Field Cardinality
    • 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)
    • toString

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

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

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

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

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