Class OrderCategory
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<OrderCategory>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.OrderCategory
Order Category (Master Data)
Original entity name from the Odata EDM: OrderCategory
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OrderCategorySelectableSelector for all available fields of OrderCategory.static final OrderCategoryField<String>Use with available fluent helpers to apply the OrderCategory_ID field to query operations.static final OrderCategoryField<String>Use with available fluent helpers to apply the OrderCategoryText field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
OrderCategoryField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> OrderCategoryField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: nonegetType()inthashCode()voidsetOrderCategory_ID(String orderCategory_ID) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetOrderCategoryText(String orderCategoryText) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of OrderCategory. -
ORDER_CATEGORY_ID
Use with available fluent helpers to apply the OrderCategory_ID field to query operations. -
ORDER_CATEGORY_TEXT
Use with available fluent helpers to apply the OrderCategoryText field to query operations.
-
-
Constructor Details
-
OrderCategory
public OrderCategory() -
OrderCategory
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<OrderCategory>
-
setOrderCategory_ID
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OrderCategory_ID
- Parameters:
orderCategory_ID- Order Category
-
setOrderCategoryText
Constraints: noneOriginal property name from the Odata EDM: OrderCategoryText
- Parameters:
orderCategoryText- Order Category (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<OrderCategory>
-
getKey
- Overrides:
getKeyin classVdmObject<OrderCategory>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<OrderCategory>
-
fromMap
- Overrides:
fromMapin classVdmObject<OrderCategory>
-
field
@Nonnull public static <T> OrderCategoryField<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> OrderCategoryField<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<OrderCategory>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<OrderCategory>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<OrderCategory>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<OrderCategory>
-
builder
-
getOrderCategory_ID
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OrderCategory_ID
- Returns:
- Order Category
-
getOrderCategoryText
Constraints: noneOriginal property name from the Odata EDM: OrderCategoryText
- Returns:
- Order Category (Description)
-
toString
- Overrides:
toStringin classVdmObject<OrderCategory>
-
equals
- Overrides:
equalsin classVdmEntity<OrderCategory>
-
canEqual
- Overrides:
canEqualin classVdmEntity<OrderCategory>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<OrderCategory>
-