Class ProdPlntInternationalTrade
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProdPlntInternationalTrade_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProdPlntInternationalTrade instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ProdPlntInternationalTrade>Selector for all available fields of ProdPlntInternationalTrade.static final SimpleProperty.String<ProdPlntInternationalTrade>static final SimpleProperty.String<ProdPlntInternationalTrade>static final SimpleProperty.String<ProdPlntInternationalTrade>static final SimpleProperty.String<ProdPlntInternationalTrade>static final SimpleProperty.String<ProdPlntInternationalTrade>static final SimpleProperty.String<ProdPlntInternationalTrade>static final SimpleProperty.String<ProdPlntInternationalTrade>static final SimpleProperty.String<ProdPlntInternationalTrade>static final NavigationProperty.Single<ProdPlntInternationalTrade,Product> Use with available request builders to apply the _Product navigation property to query operations.static final NavigationProperty.Single<ProdPlntInternationalTrade,ProductPlant> Use with available request builders to apply the _ProductPlant navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionProdPlntInternationalTrade(String product, String plant, String countryOfOrigin, String regionOfOrigin, String consumptionTaxCtrlCode, String exportAndImportProductGroup, String productCASNumber, String prodIntlTradeClassification, Product to_Product, ProductPlant to_ProductPlant) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 16Constraints: Not nullable, Maximum length: 3protected Stringprotected StringConstraints: Not nullable, Maximum length: 4protected ODataEntityKeygetKey()getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 9(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 15io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).io.vavr.control.Option<ProductPlant>Retrieval of associated ProductPlant entity (one to one).Constraints: Not nullable, Maximum length: 3getType()inthashCode()voidsetConsumptionTaxCtrlCode(String consumptionTaxCtrlCode) Constraints: Not nullable, Maximum length: 16voidsetCountryOfOrigin(String countryOfOrigin) Constraints: Not nullable, Maximum length: 3voidsetExportAndImportProductGroup(String exportAndImportProductGroup) Constraints: Not nullable, Maximum length: 4void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProdIntlTradeClassification(String prodIntlTradeClassification) Constraints: Not nullable, Maximum length: 9voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property _Product.voidsetProduct(String product) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetProductCASNumber(String productCASNumber) Constraints: Not nullable, Maximum length: 15voidsetProductPlant(ProductPlant value) Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.voidsetRegionOfOrigin(String regionOfOrigin) Constraints: Not nullable, Maximum length: 3toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProdPlntInternationalTrade. -
PRODUCT
-
PLANT
-
COUNTRY_OF_ORIGIN
-
REGION_OF_ORIGIN
-
CONSUMPTION_TAX_CTRL_CODE
-
EXPORT_AND_IMPORT_PRODUCT_GROUP
public static final SimpleProperty.String<ProdPlntInternationalTrade> EXPORT_AND_IMPORT_PRODUCT_GROUP -
PRODUCT_CAS_NUMBER
-
PROD_INTL_TRADE_CLASSIFICATION
public static final SimpleProperty.String<ProdPlntInternationalTrade> PROD_INTL_TRADE_CLASSIFICATION -
TO__PRODUCT
Use with available request builders to apply the _Product navigation property to query operations. -
TO__PRODUCT_PLANT
public static final NavigationProperty.Single<ProdPlntInternationalTrade,ProductPlant> TO__PRODUCT_PLANTUse with available request builders to apply the _ProductPlant navigation property to query operations.
-
-
Constructor Details
-
ProdPlntInternationalTrade
public ProdPlntInternationalTrade() -
ProdPlntInternationalTrade
public ProdPlntInternationalTrade(@Nullable String product, @Nullable String plant, @Nullable String countryOfOrigin, @Nullable String regionOfOrigin, @Nullable String consumptionTaxCtrlCode, @Nullable String exportAndImportProductGroup, @Nullable String productCASNumber, @Nullable String prodIntlTradeClassification, @Nullable Product to_Product, @Nullable ProductPlant to_ProductPlant)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProdPlntInternationalTrade>
-
setProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Parameters:
product- Product Number
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setCountryOfOrigin
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CountryOfOrigin
- Parameters:
countryOfOrigin- Country/Region of Origin of Product
-
setRegionOfOrigin
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RegionOfOrigin
- Parameters:
regionOfOrigin- Region of Origin
-
setConsumptionTaxCtrlCode
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: ConsumptionTaxCtrlCode
- Parameters:
consumptionTaxCtrlCode- Control code for consumption taxes in foreign trade
-
setExportAndImportProductGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ExportAndImportProductGroup
- Parameters:
exportAndImportProductGroup- Material Group for Intrastat
-
setProductCASNumber
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: ProductCASNumber
- Parameters:
productCASNumber- CAS number for pharmaceutical products in foreign trade
-
setProdIntlTradeClassification
Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: ProdIntlTradeClassification
- Parameters:
prodIntlTradeClassification- Production statistics: PRODCOM number for foreign trade
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProdPlntInternationalTrade>
-
getKey
- Overrides:
getKeyin classVdmObject<ProdPlntInternationalTrade>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProdPlntInternationalTrade>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProdPlntInternationalTrade>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProdPlntInternationalTrade>
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property _Product.If the navigation property for an entity ProdPlntInternationalTrade has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _Product is already loaded, the result will contain the
Product entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated Product entity for the loaded navigation property _Product.- Parameters:
value- New Product entity.
-
getProductPlantIfPresent
Retrieval of associated ProductPlant entity (one to one). This corresponds to the OData navigation property _ProductPlant.If the navigation property for an entity ProdPlntInternationalTrade has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _ProductPlant is already loaded, the result will
contain the ProductPlant entity. If not, an
Optionwith result stateemptyis returned.
-
setProductPlant
Overwrites the associated ProductPlant entity for the loaded navigation property _ProductPlant.- Parameters:
value- New ProductPlant entity.
-
builder
-
getProduct
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Product
- Returns:
- Product Number
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getCountryOfOrigin
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CountryOfOrigin
- Returns:
- Country/Region of Origin of Product
-
getRegionOfOrigin
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RegionOfOrigin
- Returns:
- Region of Origin
-
getConsumptionTaxCtrlCode
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: ConsumptionTaxCtrlCode
- Returns:
- Control code for consumption taxes in foreign trade
-
getExportAndImportProductGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ExportAndImportProductGroup
- Returns:
- Material Group for Intrastat
-
getProductCASNumber
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: ProductCASNumber
- Returns:
- CAS number for pharmaceutical products in foreign trade
-
getProdIntlTradeClassification
Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: ProdIntlTradeClassification
- Returns:
- Production statistics: PRODCOM number for foreign trade
-
toString
- Overrides:
toStringin classVdmObject<ProdPlntInternationalTrade>
-
equals
- Overrides:
equalsin classVdmEntity<ProdPlntInternationalTrade>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProdPlntInternationalTrade>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProdPlntInternationalTrade>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProdPlntInternationalTrade>
-