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

public class LabelFieldVersionText extends VdmEntity<LabelFieldVersionText> implements VdmEntitySet
Label Field Version Text

Original entity name from the Odata EDM: LabelFieldVersionText_Type

  • Field Details

  • Constructor Details

    • LabelFieldVersionText

      public LabelFieldVersionText()
    • LabelFieldVersionText

      public LabelFieldVersionText(@Nullable String prodCmplncLabelFieldVersionID, @Nullable String language, @Nullable String prodCmplncLabelFieldName, @Nullable String prodCmplncLabelFieldGroupID, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable LabelFieldVersion to_LabelFieldVersion)
  • Method Details

    • getType

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

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setProdCmplncLabelFieldName

      public void setProdCmplncLabelFieldName(@Nullable String prodCmplncLabelFieldName)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: ProdCmplncLabelFieldName

      Parameters:
      prodCmplncLabelFieldName - Label Field Name
    • 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
    • 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<LabelFieldVersionText>
    • getKey

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

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

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

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

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

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

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

      public void setLabelFieldVersion(LabelFieldVersion value)
      Overwrites the associated LabelFieldVersion entity for the loaded navigation property _LabelFieldVersion.
      Parameters:
      value - New LabelFieldVersion entity.
    • builder

      @Nonnull public static LabelFieldVersionText.LabelFieldVersionTextBuilder 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
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getProdCmplncLabelFieldName

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

      Original property name from the Odata EDM: ProdCmplncLabelFieldName

      Returns:
      Label Field Name
    • getProdCmplncLabelFieldGroupID

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

      Original property name from the Odata EDM: ProdCmplncLabelFieldGroupID

      Returns:
      Label Field Group ID
    • 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<LabelFieldVersionText>
    • equals

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

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

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

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