Class BR_OneTimePartner
Original entity name from the Odata EDM: A_BR_OneTimePartnerType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of BR_OneTimePartner instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BR_OneTimePartnerSelectableSelector for all available fields of BR_OneTimePartner.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BPHsNmbrSuplmntTxt field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BR_NotaFiscal field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BR_PartnerCNPJ field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BR_PartnerCPF field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BR_PartnerFunction field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BR_PartnerStateTaxNumberST field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BusinessPartnerDistrict field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BusinessPartnerHouseNumber field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BusinessPartnerName1 field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BusinessPartnerName2 field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BusinessPartnerStreetName field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BusinessPartnerStreetNameOnly field to query operations.static final BR_OneTimePartnerField<String>Use with available fluent helpers to apply the BusinessPartnerTaxJurisdiction field to query operations.static final BR_OneTimePartnerOneToOneLink<BR_NFDocument>Use with available fluent helpers to apply the to_BR_NFDoc navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionBR_OneTimePartner(String bR_NotaFiscal, String bR_PartnerFunction, String businessPartnerName1, String businessPartnerName2, String bR_PartnerCNPJ, String bR_PartnerCPF, String bR_PartnerStateTaxNumberST, String businessPartnerTaxJurisdiction, String businessPartnerStreetNameOnly, String businessPartnerStreetName, String businessPartnerHouseNumber, String bPHsNmbrSuplmntTxt, String businessPartnerDistrict, BR_NFDocument toBR_NFDoc) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the BR_NFDocument entity (one to one) associated with this entity.static <T,DomainT>
BR_OneTimePartnerField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> BR_OneTimePartnerField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 10io.vavr.control.Option<BR_NFDocument>Retrieval of associated BR_NFDocument entity (one to one).Retrieval of associated BR_NFDocument entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 16Constraints: Not nullable, Maximum length: 11(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 15protected Stringprotected StringgetKey()getType()inthashCode()voidsetBPHsNmbrSuplmntTxt(String bPHsNmbrSuplmntTxt) Constraints: Not nullable, Maximum length: 10voidsetBR_NFDoc(BR_NFDocument value) Overwrites the associated BR_NFDocument entity for the loaded navigation property to_BR_NFDoc.voidsetBR_NotaFiscal(String bR_NotaFiscal) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetBR_PartnerCNPJ(String bR_PartnerCNPJ) Constraints: Not nullable, Maximum length: 16voidsetBR_PartnerCPF(String bR_PartnerCPF) Constraints: Not nullable, Maximum length: 11voidsetBR_PartnerFunction(String bR_PartnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetBR_PartnerStateTaxNumberST(String bR_PartnerStateTaxNumberST) Constraints: Not nullable, Maximum length: 18voidsetBusinessPartnerDistrict(String businessPartnerDistrict) Constraints: Not nullable, Maximum length: 40voidsetBusinessPartnerHouseNumber(String businessPartnerHouseNumber) Constraints: Not nullable, Maximum length: 10voidsetBusinessPartnerName1(String businessPartnerName1) Constraints: Not nullable, Maximum length: 35voidsetBusinessPartnerName2(String businessPartnerName2) Constraints: Not nullable, Maximum length: 35voidsetBusinessPartnerStreetName(String businessPartnerStreetName) Constraints: Not nullable, Maximum length: 35voidsetBusinessPartnerStreetNameOnly(String businessPartnerStreetNameOnly) Constraints: Not nullable, Maximum length: 60voidsetBusinessPartnerTaxJurisdiction(String businessPartnerTaxJurisdiction) Constraints: Not nullable, Maximum length: 15protected 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
-
Field Details
-
ALL_FIELDS
Selector for all available fields of BR_OneTimePartner. -
BR_NOTA_FISCAL
Use with available fluent helpers to apply the BR_NotaFiscal field to query operations. -
BR_PARTNER_FUNCTION
Use with available fluent helpers to apply the BR_PartnerFunction field to query operations. -
BUSINESS_PARTNER_NAME1
Use with available fluent helpers to apply the BusinessPartnerName1 field to query operations. -
BUSINESS_PARTNER_NAME2
Use with available fluent helpers to apply the BusinessPartnerName2 field to query operations. -
BR_PARTNER_CNPJ
Use with available fluent helpers to apply the BR_PartnerCNPJ field to query operations. -
BR_PARTNER_CPF
Use with available fluent helpers to apply the BR_PartnerCPF field to query operations. -
BR_PARTNER_STATE_TAX_NUMBER_ST
Use with available fluent helpers to apply the BR_PartnerStateTaxNumberST field to query operations. -
BUSINESS_PARTNER_TAX_JURISDICTION
Use with available fluent helpers to apply the BusinessPartnerTaxJurisdiction field to query operations. -
BUSINESS_PARTNER_STREET_NAME_ONLY
Use with available fluent helpers to apply the BusinessPartnerStreetNameOnly field to query operations. -
BUSINESS_PARTNER_STREET_NAME
Use with available fluent helpers to apply the BusinessPartnerStreetName field to query operations. -
BUSINESS_PARTNER_HOUSE_NUMBER
Use with available fluent helpers to apply the BusinessPartnerHouseNumber field to query operations. -
BP_HS_NMBR_SUPLMNT_TXT
Use with available fluent helpers to apply the BPHsNmbrSuplmntTxt field to query operations. -
BUSINESS_PARTNER_DISTRICT
Use with available fluent helpers to apply the BusinessPartnerDistrict field to query operations. -
TO_BRNF_DOC
Use with available fluent helpers to apply the to_BR_NFDoc navigation property to query operations.
-
-
Constructor Details
-
BR_OneTimePartner
public BR_OneTimePartner() -
BR_OneTimePartner
public BR_OneTimePartner(@Nullable String bR_NotaFiscal, @Nullable String bR_PartnerFunction, @Nullable String businessPartnerName1, @Nullable String businessPartnerName2, @Nullable String bR_PartnerCNPJ, @Nullable String bR_PartnerCPF, @Nullable String bR_PartnerStateTaxNumberST, @Nullable String businessPartnerTaxJurisdiction, @Nullable String businessPartnerStreetNameOnly, @Nullable String businessPartnerStreetName, @Nullable String businessPartnerHouseNumber, @Nullable String bPHsNmbrSuplmntTxt, @Nullable String businessPartnerDistrict, @Nullable BR_NFDocument toBR_NFDoc)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BR_OneTimePartner>
-
setBR_NotaFiscal
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BR_NotaFiscal
- Parameters:
bR_NotaFiscal- Document Number
-
setBR_PartnerFunction
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BR_PartnerFunction
- Parameters:
bR_PartnerFunction- Nota Fiscal Partner Function
-
setBusinessPartnerName1
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: BusinessPartnerName1
- Parameters:
businessPartnerName1- Name 1
-
setBusinessPartnerName2
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: BusinessPartnerName2
- Parameters:
businessPartnerName2- Name 2
-
setBR_PartnerCNPJ
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: BR_PartnerCNPJ
- Parameters:
bR_PartnerCNPJ- Tax Number 1
-
setBR_PartnerCPF
Constraints: Not nullable, Maximum length: 11Original property name from the Odata EDM: BR_PartnerCPF
- Parameters:
bR_PartnerCPF- Tax Number 2
-
setBR_PartnerStateTaxNumberST
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: BR_PartnerStateTaxNumberST
- Parameters:
bR_PartnerStateTaxNumberST- State Tax Number
-
setBusinessPartnerTaxJurisdiction
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: BusinessPartnerTaxJurisdiction
- Parameters:
businessPartnerTaxJurisdiction- Tax Jurisdiction
-
setBusinessPartnerStreetNameOnly
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: BusinessPartnerStreetNameOnly
- Parameters:
businessPartnerStreetNameOnly- Street
-
setBusinessPartnerStreetName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: BusinessPartnerStreetName
- Parameters:
businessPartnerStreetName- Street and House Number
-
setBusinessPartnerHouseNumber
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartnerHouseNumber
- Parameters:
businessPartnerHouseNumber- House Number
-
setBPHsNmbrSuplmntTxt
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BPHsNmbrSuplmntTxt
- Parameters:
bPHsNmbrSuplmntTxt- House number supplement
-
setBusinessPartnerDistrict
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BusinessPartnerDistrict
- Parameters:
businessPartnerDistrict- District
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BR_OneTimePartner>
-
getKey
- Overrides:
getKeyin classVdmObject<BR_OneTimePartner>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BR_OneTimePartner>
-
fromMap
- Overrides:
fromMapin classVdmObject<BR_OneTimePartner>
-
field
@Nonnull public static <T> BR_OneTimePartnerField<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> BR_OneTimePartnerField<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<BR_OneTimePartner>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<BR_OneTimePartner>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<BR_OneTimePartner>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BR_OneTimePartner>
-
fetchBR_NFDoc
Fetches the BR_NFDocument entity (one to one) associated with this entity. This corresponds to the OData navigation property to_BR_NFDoc.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated BR_NFDocument entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getBR_NFDocOrFetch
Retrieval of associated BR_NFDocument entity (one to one). This corresponds to the OData navigation property to_BR_NFDoc.If the navigation property to_BR_NFDoc of a queried BR_OneTimePartner is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated BR_NFDocument entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getBR_NFDocIfPresent
Retrieval of associated BR_NFDocument entity (one to one). This corresponds to the OData navigation property to_BR_NFDoc.If the navigation property for an entity BR_OneTimePartner 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 to_BR_NFDoc is already loaded, the result will contain
the BR_NFDocument entity. If not, an
Optionwith result stateemptyis returned.
-
setBR_NFDoc
Overwrites the associated BR_NFDocument entity for the loaded navigation property to_BR_NFDoc.- Parameters:
value- New BR_NFDocument entity.
-
builder
-
getBR_NotaFiscal
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BR_NotaFiscal
- Returns:
- Document Number
-
getBR_PartnerFunction
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BR_PartnerFunction
- Returns:
- Nota Fiscal Partner Function
-
getBusinessPartnerName1
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: BusinessPartnerName1
- Returns:
- Name 1
-
getBusinessPartnerName2
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: BusinessPartnerName2
- Returns:
- Name 2
-
getBR_PartnerCNPJ
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: BR_PartnerCNPJ
- Returns:
- Tax Number 1
-
getBR_PartnerCPF
Constraints: Not nullable, Maximum length: 11Original property name from the Odata EDM: BR_PartnerCPF
- Returns:
- Tax Number 2
-
getBR_PartnerStateTaxNumberST
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: BR_PartnerStateTaxNumberST
- Returns:
- State Tax Number
-
getBusinessPartnerTaxJurisdiction
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: BusinessPartnerTaxJurisdiction
- Returns:
- Tax Jurisdiction
-
getBusinessPartnerStreetNameOnly
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: BusinessPartnerStreetNameOnly
- Returns:
- Street
-
getBusinessPartnerStreetName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: BusinessPartnerStreetName
- Returns:
- Street and House Number
-
getBusinessPartnerHouseNumber
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartnerHouseNumber
- Returns:
- House Number
-
getBPHsNmbrSuplmntTxt
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BPHsNmbrSuplmntTxt
- Returns:
- House number supplement
-
getBusinessPartnerDistrict
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BusinessPartnerDistrict
- Returns:
- District
-
toString
- Overrides:
toStringin classVdmObject<BR_OneTimePartner>
-
equals
- Overrides:
equalsin classVdmEntity<BR_OneTimePartner>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BR_OneTimePartner>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BR_OneTimePartner>
-