Class BillOfMaterialUsageText
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<BillOfMaterialUsageText>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.billofmaterials.BillOfMaterialUsageText
Usage Description
Original entity name from the Odata EDM: A_BillOfMaterialUsageTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BillOfMaterialUsageTextSelectableSelector for all available fields of BillOfMaterialUsageText.static final BillOfMaterialUsageTextField<String>Use with available fluent helpers to apply the BillOfMaterialVariantUsage field to query operations.static final BillOfMaterialUsageTextField<String>Use with available fluent helpers to apply the BillOfMaterialVariantUsageDesc field to query operations.static final BillOfMaterialUsageTextField<String>Use with available fluent helpers to apply the Language field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionBillOfMaterialUsageText(String language, String billOfMaterialVariantUsage, String billOfMaterialVariantUsageDesc) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
BillOfMaterialUsageTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> BillOfMaterialUsageTextField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 30protected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetBillOfMaterialVariantUsage(String billOfMaterialVariantUsage) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetBillOfMaterialVariantUsageDesc(String billOfMaterialVariantUsageDesc) Constraints: Not nullable, Maximum length: 30voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2protected 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 BillOfMaterialUsageText. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
BILL_OF_MATERIAL_VARIANT_USAGE
Use with available fluent helpers to apply the BillOfMaterialVariantUsage field to query operations. -
BILL_OF_MATERIAL_VARIANT_USAGE_DESC
Use with available fluent helpers to apply the BillOfMaterialVariantUsageDesc field to query operations.
-
-
Constructor Details
-
BillOfMaterialUsageText
public BillOfMaterialUsageText() -
BillOfMaterialUsageText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BillOfMaterialUsageText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setBillOfMaterialVariantUsage
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillOfMaterialVariantUsage
- Parameters:
billOfMaterialVariantUsage- BOM Usage
-
setBillOfMaterialVariantUsageDesc
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: BillOfMaterialVariantUsageDesc
- Parameters:
billOfMaterialVariantUsageDesc- BOM usage text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BillOfMaterialUsageText>
-
getKey
- Overrides:
getKeyin classVdmObject<BillOfMaterialUsageText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BillOfMaterialUsageText>
-
fromMap
- Overrides:
fromMapin classVdmObject<BillOfMaterialUsageText>
-
field
@Nonnull public static <T> BillOfMaterialUsageTextField<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> BillOfMaterialUsageTextField<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<BillOfMaterialUsageText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<BillOfMaterialUsageText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<BillOfMaterialUsageText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BillOfMaterialUsageText>
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getBillOfMaterialVariantUsage
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillOfMaterialVariantUsage
- Returns:
- BOM Usage
-
getBillOfMaterialVariantUsageDesc
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: BillOfMaterialVariantUsageDesc
- Returns:
- BOM usage text
-
toString
- Overrides:
toStringin classVdmObject<BillOfMaterialUsageText>
-
equals
- Overrides:
equalsin classVdmEntity<BillOfMaterialUsageText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BillOfMaterialUsageText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BillOfMaterialUsageText>
-