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

public class ActivityDef extends VdmEntity<ActivityDef> implements VdmEntitySet
Statutory Reporting Activity Definition

Original entity name from the Odata EDM: ActivityDef_Type

  • Field Details

  • Constructor Details

    • ActivityDef

      public ActivityDef()
    • ActivityDef

      public ActivityDef(@Nullable String statryRptCategory, @Nullable String statryRptActivityId, @Nullable String statryRptDef, @Nullable String statryRptActivityType, @Nullable String statryRptCatPhase, @Nullable String statryRptApplicationID, @Nullable CategoryDef to_CategoryDef)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: StatryRptCategory

      Parameters:
      statryRptCategory - Report Category ID
    • setStatryRptActivityId

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

      Original property name from the Odata EDM: StatryRptActivityId

      Parameters:
      statryRptActivityId - Activity ID
    • setStatryRptDef

      public void setStatryRptDef(@Nullable String statryRptDef)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: StatryRptDef

      Parameters:
      statryRptDef - Report Definition
    • setStatryRptActivityType

      public void setStatryRptActivityType(@Nullable String statryRptActivityType)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: StatryRptActivityType

      Parameters:
      statryRptActivityType - Activity Type
    • setStatryRptCatPhase

      public void setStatryRptCatPhase(@Nullable String statryRptCatPhase)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: StatryRptCatPhase

      Parameters:
      statryRptCatPhase - Report Category Phase
    • setStatryRptApplicationID

      public void setStatryRptApplicationID(@Nullable String statryRptApplicationID)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: StatryRptApplicationID

      Parameters:
      statryRptApplicationID - Application ID
    • getEntityCollection

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

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

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

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

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

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

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

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

      public void setCategoryDef(CategoryDef value)
      Overwrites the associated CategoryDef entity for the loaded navigation property _CategoryDef.
      Parameters:
      value - New CategoryDef entity.
    • builder

      @Nonnull public static ActivityDef.ActivityDefBuilder builder()
    • getStatryRptCategory

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

      Original property name from the Odata EDM: StatryRptCategory

      Returns:
      Report Category ID
    • getStatryRptActivityId

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

      Original property name from the Odata EDM: StatryRptActivityId

      Returns:
      Activity ID
    • getStatryRptDef

      @Nullable public String getStatryRptDef()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: StatryRptDef

      Returns:
      Report Definition
    • getStatryRptActivityType

      @Nullable public String getStatryRptActivityType()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: StatryRptActivityType

      Returns:
      Activity Type
    • getStatryRptCatPhase

      @Nullable public String getStatryRptCatPhase()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: StatryRptCatPhase

      Returns:
      Report Category Phase
    • getStatryRptApplicationID

      @Nullable public String getStatryRptApplicationID()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: StatryRptApplicationID

      Returns:
      Application ID
    • toString

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

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

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

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

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