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

public class LglTransCategory extends VdmEntity<LglTransCategory>
Categories

Original entity name from the Odata EDM: A_LglTransCategoryType

  • Field Details

    • ALL_FIELDS

      public static final LglTransCategorySelectable ALL_FIELDS
      Selector for all available fields of LglTransCategory.
    • LGL_CNTNT_M_CATEGORY

      public static final LglTransCategoryField<String> LGL_CNTNT_M_CATEGORY
      Use with available fluent helpers to apply the LglCntntMCategory field to query operations.
    • LGL_CNTNT_M_IS_MANDATORY

      public static final LglTransCategoryField<Boolean> LGL_CNTNT_M_IS_MANDATORY
      Use with available fluent helpers to apply the LglCntntMIsMandatory field to query operations.
  • Constructor Details

    • LglTransCategory

      public LglTransCategory()
    • LglTransCategory

      public LglTransCategory(@Nullable UUID legalTransactionCategoryUUID, @Nullable UUID legalTransactionParCatUUID, @Nullable UUID legalTransactionUUID, @Nullable String lglCntntMCategory, @Nullable Boolean lglCntntMIsMandatory)
  • Method Details

    • getType

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

      public void setLegalTransactionCategoryUUID(@Nullable UUID legalTransactionCategoryUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LegalTransactionCategoryUUID

      Parameters:
      legalTransactionCategoryUUID - Universal Unique Identifier
    • setLegalTransactionParCatUUID

      public void setLegalTransactionParCatUUID(@Nullable UUID legalTransactionParCatUUID)
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionParCatUUID

      Parameters:
      legalTransactionParCatUUID - Universal Unique Identifier
    • setLegalTransactionUUID

      public void setLegalTransactionUUID(@Nullable UUID legalTransactionUUID)
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionUUID

      Parameters:
      legalTransactionUUID - Universal Unique Identifier
    • setLglCntntMCategory

      public void setLglCntntMCategory(@Nullable String lglCntntMCategory)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: LglCntntMCategory

      Parameters:
      lglCntntMCategory - Category ID
    • setLglCntntMIsMandatory

      public void setLglCntntMIsMandatory(@Nullable Boolean lglCntntMIsMandatory)
      Constraints: none

      Original property name from the Odata EDM: LglCntntMIsMandatory

      Parameters:
      lglCntntMIsMandatory - Mandatory
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> LglTransCategoryField<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> LglTransCategoryField<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<LglTransCategory>
    • setServicePathForFetch

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

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

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

      @Nonnull public static LglTransCategory.LglTransCategoryBuilder builder()
    • getLegalTransactionCategoryUUID

      @Nullable public UUID getLegalTransactionCategoryUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: LegalTransactionCategoryUUID

      Returns:
      Universal Unique Identifier
    • getLegalTransactionParCatUUID

      @Nullable public UUID getLegalTransactionParCatUUID()
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionParCatUUID

      Returns:
      Universal Unique Identifier
    • getLegalTransactionUUID

      @Nullable public UUID getLegalTransactionUUID()
      Constraints: none

      Original property name from the Odata EDM: LegalTransactionUUID

      Returns:
      Universal Unique Identifier
    • getLglCntntMCategory

      @Nullable public String getLglCntntMCategory()
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: LglCntntMCategory

      Returns:
      Category ID
    • getLglCntntMIsMandatory

      @Nullable public Boolean getLglCntntMIsMandatory()
      Constraints: none

      Original property name from the Odata EDM: LglCntntMIsMandatory

      Returns:
      Mandatory
    • toString

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

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

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

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