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

public class EHSPersonValueHelp extends VdmEntity<EHSPersonValueHelp>
EHS Person Value Help

Original entity name from the Odata EDM: C_EHSPersonValueHelpType

  • Field Details

    • ALL_FIELDS

      public static final EHSPersonValueHelpSelectable ALL_FIELDS
      Selector for all available fields of EHSPersonValueHelp.
    • BUSINESS_PARTNER

      public static final EHSPersonValueHelpField<String> BUSINESS_PARTNER
      Use with available fluent helpers to apply the BusinessPartner field to query operations.
    • EHS_COMBINED_BUSINESS_PARTNER

      public static final EHSPersonValueHelpField<String> EHS_COMBINED_BUSINESS_PARTNER
      Use with available fluent helpers to apply the EHSCombinedBusinessPartner field to query operations.
    • FIRST_NAME

      public static final EHSPersonValueHelpField<String> FIRST_NAME
      Use with available fluent helpers to apply the FirstName field to query operations.
    • LAST_NAME

      public static final EHSPersonValueHelpField<String> LAST_NAME
      Use with available fluent helpers to apply the LastName field to query operations.
    • BUSINESS_PARTNER_NAME

      public static final EHSPersonValueHelpField<String> BUSINESS_PARTNER_NAME
      Use with available fluent helpers to apply the BusinessPartnerName field to query operations.
    • PERSON_WORK_AGREEMENT

      public static final EHSPersonValueHelpField<String> PERSON_WORK_AGREEMENT
      Use with available fluent helpers to apply the PersonWorkAgreement field to query operations.
    • ORGANIZATIONAL_UNIT

      public static final EHSPersonValueHelpField<String> ORGANIZATIONAL_UNIT
      Use with available fluent helpers to apply the OrganizationalUnit field to query operations.
    • COMPANY_CODE

      public static final EHSPersonValueHelpField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • COMPANY_CODE_NAME

      public static final EHSPersonValueHelpField<String> COMPANY_CODE_NAME
      Use with available fluent helpers to apply the CompanyCodeName field to query operations.
  • Constructor Details

    • EHSPersonValueHelp

      public EHSPersonValueHelp()
    • EHSPersonValueHelp

      public EHSPersonValueHelp(@Nullable String businessPartner, @Nullable String eHSCombinedBusinessPartner, @Nullable String firstName, @Nullable String lastName, @Nullable String businessPartnerName, @Nullable String personWorkAgreement, @Nullable String organizationalUnit, @Nullable String companyCode, @Nullable String companyCodeName)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Business Partner Number
    • setEHSCombinedBusinessPartner

      public void setEHSCombinedBusinessPartner(@Nullable String eHSCombinedBusinessPartner)
      Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: EHSCombinedBusinessPartner

      Parameters:
      eHSCombinedBusinessPartner - The eHSCombinedBusinessPartner to set.
    • setFirstName

      public void setFirstName(@Nullable String firstName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: FirstName

      Parameters:
      firstName - First Name of Business Partner (Person)
    • setLastName

      public void setLastName(@Nullable String lastName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: LastName

      Parameters:
      lastName - Last Name of Business Partner (Person)
    • setBusinessPartnerName

      public void setBusinessPartnerName(@Nullable String businessPartnerName)
      Constraints: Not nullable, Maximum length: 81

      Original property name from the Odata EDM: BusinessPartnerName

      Parameters:
      businessPartnerName - BUSINESS PARTNER NAME
    • setPersonWorkAgreement

      public void setPersonWorkAgreement(@Nullable String personWorkAgreement)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PersonWorkAgreement

      Parameters:
      personWorkAgreement - Personnel Number
    • setOrganizationalUnit

      public void setOrganizationalUnit(@Nullable String organizationalUnit)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: OrganizationalUnit

      Parameters:
      organizationalUnit - Organizational Unit
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setCompanyCodeName

      public void setCompanyCodeName(@Nullable String companyCodeName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CompanyCodeName

      Parameters:
      companyCodeName - Name of Company Code or Company
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> EHSPersonValueHelpField<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> EHSPersonValueHelpField<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<EHSPersonValueHelp>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<EHSPersonValueHelp>
    • builder

      @Nonnull public static EHSPersonValueHelp.EHSPersonValueHelpBuilder builder()
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Business Partner Number
    • getEHSCombinedBusinessPartner

      @Nullable public String getEHSCombinedBusinessPartner()
      Constraints: Not nullable, Maximum length: 13

      Original property name from the Odata EDM: EHSCombinedBusinessPartner

      Returns:
      The eHSCombinedBusinessPartner contained in this entity.
    • getFirstName

      @Nullable public String getFirstName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: FirstName

      Returns:
      First Name of Business Partner (Person)
    • getLastName

      @Nullable public String getLastName()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: LastName

      Returns:
      Last Name of Business Partner (Person)
    • getBusinessPartnerName

      @Nullable public String getBusinessPartnerName()
      Constraints: Not nullable, Maximum length: 81

      Original property name from the Odata EDM: BusinessPartnerName

      Returns:
      BUSINESS PARTNER NAME
    • getPersonWorkAgreement

      @Nullable public String getPersonWorkAgreement()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: PersonWorkAgreement

      Returns:
      Personnel Number
    • getOrganizationalUnit

      @Nullable public String getOrganizationalUnit()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: OrganizationalUnit

      Returns:
      Organizational Unit
    • getCompanyCode

      @Nullable public String getCompanyCode()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getCompanyCodeName

      @Nullable public String getCompanyCodeName()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: CompanyCodeName

      Returns:
      Name of Company Code or Company
    • toString

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

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

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

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