public class BR_OneTimePartner extends VdmEntity<BR_OneTimePartner>
Original entity name from the Odata EDM: A_BR_OneTimePartnerType
Modifier and Type | Class and Description |
---|---|
static class |
BR_OneTimePartner.BR_OneTimePartnerBuilder
Helper class to allow for fluent creation of BR_OneTimePartner instances.
|
Modifier and Type | Field and Description |
---|---|
static BR_OneTimePartnerSelectable |
ALL_FIELDS
Selector for all available fields of BR_OneTimePartner.
|
static BR_OneTimePartnerField<String> |
BP_HS_NMBR_SUPLMNT_TXT
Use with available fluent helpers to apply the BPHsNmbrSuplmntTxt field to query operations.
|
static BR_OneTimePartnerField<String> |
BR_NOTA_FISCAL
Use with available fluent helpers to apply the BR_NotaFiscal field to query operations.
|
static BR_OneTimePartnerField<String> |
BR_PARTNER_CNPJ
Use with available fluent helpers to apply the BR_PartnerCNPJ field to query operations.
|
static BR_OneTimePartnerField<String> |
BR_PARTNER_CPF
Use with available fluent helpers to apply the BR_PartnerCPF field to query operations.
|
static BR_OneTimePartnerField<String> |
BR_PARTNER_FUNCTION
Use with available fluent helpers to apply the BR_PartnerFunction field to query operations.
|
static BR_OneTimePartnerField<String> |
BR_PARTNER_STATE_TAX_NUMBER_ST
Use with available fluent helpers to apply the BR_PartnerStateTaxNumberST field to query operations.
|
static BR_OneTimePartnerField<String> |
BUSINESS_PARTNER_DISTRICT
Use with available fluent helpers to apply the BusinessPartnerDistrict field to query operations.
|
static BR_OneTimePartnerField<String> |
BUSINESS_PARTNER_HOUSE_NUMBER
Use with available fluent helpers to apply the BusinessPartnerHouseNumber field to query operations.
|
static BR_OneTimePartnerField<String> |
BUSINESS_PARTNER_NAME1
Use with available fluent helpers to apply the BusinessPartnerName1 field to query operations.
|
static BR_OneTimePartnerField<String> |
BUSINESS_PARTNER_NAME2
Use with available fluent helpers to apply the BusinessPartnerName2 field to query operations.
|
static BR_OneTimePartnerField<String> |
BUSINESS_PARTNER_STREET_NAME
Use with available fluent helpers to apply the BusinessPartnerStreetName field to query operations.
|
static BR_OneTimePartnerField<String> |
BUSINESS_PARTNER_STREET_NAME_ONLY
Use with available fluent helpers to apply the BusinessPartnerStreetNameOnly field to query operations.
|
static BR_OneTimePartnerField<String> |
BUSINESS_PARTNER_TAX_JURISDICTION
Use with available fluent helpers to apply the BusinessPartnerTaxJurisdiction field to query operations.
|
static BR_OneTimePartnerOneToOneLink<BR_NFDocument> |
TO_BRNF_DOC
Use with available fluent helpers to apply the to_BR_NFDoc navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BR_OneTimePartner() |
BR_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) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static BR_OneTimePartner.BR_OneTimePartnerBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
BR_NFDocument |
fetchBR_NFDoc()
Fetches the BR_NFDocument entity (one to one) associated with this entity.
|
static <T> BR_OneTimePartnerField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getBPHsNmbrSuplmntTxt()
Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<BR_NFDocument> |
getBR_NFDocIfPresent()
Retrieval of associated BR_NFDocument entity (one to one).
|
BR_NFDocument |
getBR_NFDocOrFetch()
Retrieval of associated BR_NFDocument entity (one to one).
|
String |
getBR_NotaFiscal()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getBR_PartnerCNPJ()
Constraints: Not nullable, Maximum length: 16
|
String |
getBR_PartnerCPF()
Constraints: Not nullable, Maximum length: 11
|
String |
getBR_PartnerFunction()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getBR_PartnerStateTaxNumberST()
Constraints: Not nullable, Maximum length: 18
|
String |
getBusinessPartnerDistrict()
Constraints: Not nullable, Maximum length: 40
|
String |
getBusinessPartnerHouseNumber()
Constraints: Not nullable, Maximum length: 10
|
String |
getBusinessPartnerName1()
Constraints: Not nullable, Maximum length: 35
|
String |
getBusinessPartnerName2()
Constraints: Not nullable, Maximum length: 35
|
String |
getBusinessPartnerStreetName()
Constraints: Not nullable, Maximum length: 35
|
String |
getBusinessPartnerStreetNameOnly()
Constraints: Not nullable, Maximum length: 60
|
String |
getBusinessPartnerTaxJurisdiction()
Constraints: Not nullable, Maximum length: 15
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
Class<BR_OneTimePartner> |
getType() |
int |
hashCode() |
void |
setBPHsNmbrSuplmntTxt(String bPHsNmbrSuplmntTxt)
Constraints: Not nullable, Maximum length: 10
|
void |
setBR_NFDoc(BR_NFDocument value)
Overwrites the associated BR_NFDocument entity for the loaded navigation property to_BR_NFDoc.
|
void |
setBR_NotaFiscal(String bR_NotaFiscal)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setBR_PartnerCNPJ(String bR_PartnerCNPJ)
Constraints: Not nullable, Maximum length: 16
|
void |
setBR_PartnerCPF(String bR_PartnerCPF)
Constraints: Not nullable, Maximum length: 11
|
void |
setBR_PartnerFunction(String bR_PartnerFunction)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setBR_PartnerStateTaxNumberST(String bR_PartnerStateTaxNumberST)
Constraints: Not nullable, Maximum length: 18
|
void |
setBusinessPartnerDistrict(String businessPartnerDistrict)
Constraints: Not nullable, Maximum length: 40
|
void |
setBusinessPartnerHouseNumber(String businessPartnerHouseNumber)
Constraints: Not nullable, Maximum length: 10
|
void |
setBusinessPartnerName1(String businessPartnerName1)
Constraints: Not nullable, Maximum length: 35
|
void |
setBusinessPartnerName2(String businessPartnerName2)
Constraints: Not nullable, Maximum length: 35
|
void |
setBusinessPartnerStreetName(String businessPartnerStreetName)
Constraints: Not nullable, Maximum length: 35
|
void |
setBusinessPartnerStreetNameOnly(String businessPartnerStreetNameOnly)
Constraints: Not nullable, Maximum length: 60
|
void |
setBusinessPartnerTaxJurisdiction(String businessPartnerTaxJurisdiction)
Constraints: Not nullable, Maximum length: 15
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final BR_OneTimePartnerSelectable ALL_FIELDS
public static final BR_OneTimePartnerField<String> BR_NOTA_FISCAL
public static final BR_OneTimePartnerField<String> BR_PARTNER_FUNCTION
public static final BR_OneTimePartnerField<String> BUSINESS_PARTNER_NAME1
public static final BR_OneTimePartnerField<String> BUSINESS_PARTNER_NAME2
public static final BR_OneTimePartnerField<String> BR_PARTNER_CNPJ
public static final BR_OneTimePartnerField<String> BR_PARTNER_CPF
public static final BR_OneTimePartnerField<String> BR_PARTNER_STATE_TAX_NUMBER_ST
public static final BR_OneTimePartnerField<String> BUSINESS_PARTNER_TAX_JURISDICTION
public static final BR_OneTimePartnerField<String> BUSINESS_PARTNER_STREET_NAME_ONLY
public static final BR_OneTimePartnerField<String> BUSINESS_PARTNER_STREET_NAME
public static final BR_OneTimePartnerField<String> BUSINESS_PARTNER_HOUSE_NUMBER
public static final BR_OneTimePartnerField<String> BP_HS_NMBR_SUPLMNT_TXT
public static final BR_OneTimePartnerField<String> BUSINESS_PARTNER_DISTRICT
public static final BR_OneTimePartnerOneToOneLink<BR_NFDocument> TO_BRNF_DOC
public 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)
@Nonnull public Class<BR_OneTimePartner> getType()
getType
in class VdmObject<BR_OneTimePartner>
public void setBR_NotaFiscal(@Nullable String bR_NotaFiscal)
Original property name from the Odata EDM: BR_NotaFiscal
bR_NotaFiscal
- Document Numberpublic void setBR_PartnerFunction(@Nullable String bR_PartnerFunction)
Original property name from the Odata EDM: BR_PartnerFunction
bR_PartnerFunction
- Nota Fiscal Partner Functionpublic void setBusinessPartnerName1(@Nullable String businessPartnerName1)
Original property name from the Odata EDM: BusinessPartnerName1
businessPartnerName1
- Name 1public void setBusinessPartnerName2(@Nullable String businessPartnerName2)
Original property name from the Odata EDM: BusinessPartnerName2
businessPartnerName2
- Name 2public void setBR_PartnerCNPJ(@Nullable String bR_PartnerCNPJ)
Original property name from the Odata EDM: BR_PartnerCNPJ
bR_PartnerCNPJ
- Tax Number 1public void setBR_PartnerCPF(@Nullable String bR_PartnerCPF)
Original property name from the Odata EDM: BR_PartnerCPF
bR_PartnerCPF
- Tax Number 2public void setBR_PartnerStateTaxNumberST(@Nullable String bR_PartnerStateTaxNumberST)
Original property name from the Odata EDM: BR_PartnerStateTaxNumberST
bR_PartnerStateTaxNumberST
- State Tax Numberpublic void setBusinessPartnerTaxJurisdiction(@Nullable String businessPartnerTaxJurisdiction)
Original property name from the Odata EDM: BusinessPartnerTaxJurisdiction
businessPartnerTaxJurisdiction
- Tax Jurisdictionpublic void setBusinessPartnerStreetNameOnly(@Nullable String businessPartnerStreetNameOnly)
Original property name from the Odata EDM: BusinessPartnerStreetNameOnly
businessPartnerStreetNameOnly
- Streetpublic void setBusinessPartnerStreetName(@Nullable String businessPartnerStreetName)
Original property name from the Odata EDM: BusinessPartnerStreetName
businessPartnerStreetName
- Street and House Numberpublic void setBusinessPartnerHouseNumber(@Nullable String businessPartnerHouseNumber)
Original property name from the Odata EDM: BusinessPartnerHouseNumber
businessPartnerHouseNumber
- House Numberpublic void setBPHsNmbrSuplmntTxt(@Nullable String bPHsNmbrSuplmntTxt)
Original property name from the Odata EDM: BPHsNmbrSuplmntTxt
bPHsNmbrSuplmntTxt
- House number supplementpublic void setBusinessPartnerDistrict(@Nullable String businessPartnerDistrict)
Original property name from the Odata EDM: BusinessPartnerDistrict
businessPartnerDistrict
- Districtprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BR_OneTimePartner>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BR_OneTimePartner>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BR_OneTimePartner>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BR_OneTimePartner>
@Nonnull public static <T> BR_OneTimePartnerField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> BR_OneTimePartnerField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<BR_OneTimePartner>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<BR_OneTimePartner>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<BR_OneTimePartner>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BR_OneTimePartner>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<BR_OneTimePartner>
@Nullable public BR_NFDocument fetchBR_NFDoc() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public BR_NFDocument getBR_NFDocOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<BR_NFDocument> getBR_NFDocIfPresent()
If the navigation property for an entity BR_OneTimePartner has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is
returned.public void setBR_NFDoc(BR_NFDocument value)
value
- New BR_NFDocument entity.@Nonnull public static BR_OneTimePartner.BR_OneTimePartnerBuilder builder()
@Nullable public String getBR_NotaFiscal()
Original property name from the Odata EDM: BR_NotaFiscal
@Nullable public String getBR_PartnerFunction()
Original property name from the Odata EDM: BR_PartnerFunction
@Nullable public String getBusinessPartnerName1()
Original property name from the Odata EDM: BusinessPartnerName1
@Nullable public String getBusinessPartnerName2()
Original property name from the Odata EDM: BusinessPartnerName2
@Nullable public String getBR_PartnerCNPJ()
Original property name from the Odata EDM: BR_PartnerCNPJ
@Nullable public String getBR_PartnerCPF()
Original property name from the Odata EDM: BR_PartnerCPF
@Nullable public String getBR_PartnerStateTaxNumberST()
Original property name from the Odata EDM: BR_PartnerStateTaxNumberST
@Nullable public String getBusinessPartnerTaxJurisdiction()
Original property name from the Odata EDM: BusinessPartnerTaxJurisdiction
@Nullable public String getBusinessPartnerStreetNameOnly()
Original property name from the Odata EDM: BusinessPartnerStreetNameOnly
@Nullable public String getBusinessPartnerStreetName()
Original property name from the Odata EDM: BusinessPartnerStreetName
@Nullable public String getBusinessPartnerHouseNumber()
Original property name from the Odata EDM: BusinessPartnerHouseNumber
@Nullable public String getBPHsNmbrSuplmntTxt()
Original property name from the Odata EDM: BPHsNmbrSuplmntTxt
@Nullable public String getBusinessPartnerDistrict()
Original property name from the Odata EDM: BusinessPartnerDistrict
@Nonnull public String toString()
toString
in class VdmObject<BR_OneTimePartner>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BR_OneTimePartner>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BR_OneTimePartner>
public int hashCode()
hashCode
in class VdmObject<BR_OneTimePartner>
Copyright © 2021 SAP SE. All rights reserved.