public class BuPaIdentification extends VdmEntity<BuPaIdentification>
Original entity name from the Odata EDM: A_BuPaIdentificationType
Modifier and Type | Class and Description |
---|---|
static class |
BuPaIdentification.BuPaIdentificationBuilder |
Modifier and Type | Field and Description |
---|---|
static BuPaIdentificationSelectable |
ALL_FIELDS
Selector for all available fields of BuPaIdentification.
|
static BuPaIdentificationField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static BuPaIdentificationField<LocalDateTime> |
BP_IDENTIFICATION_ENTRY_DATE
Use with available fluent helpers to apply the BPIdentificationEntryDate field to query operations.
|
static BuPaIdentificationField<String> |
BP_IDENTIFICATION_NUMBER
Use with available fluent helpers to apply the BPIdentificationNumber field to query operations.
|
static BuPaIdentificationField<String> |
BP_IDENTIFICATION_TYPE
Use with available fluent helpers to apply the BPIdentificationType field to query operations.
|
static BuPaIdentificationField<String> |
BP_IDN_NMBR_ISSUING_INSTITUTE
Use with available fluent helpers to apply the BPIdnNmbrIssuingInstitute field to query operations.
|
static BuPaIdentificationField<String> |
BUSINESS_PARTNER
Use with available fluent helpers to apply the BusinessPartner field to query operations.
|
static BuPaIdentificationField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static BuPaIdentificationField<String> |
REGION
Use with available fluent helpers to apply the Region field to query operations.
|
static BuPaIdentificationField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static BuPaIdentificationField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BuPaIdentification() |
BuPaIdentification(String businessPartner,
String bPIdentificationType,
String bPIdentificationNumber,
String bPIdnNmbrIssuingInstitute,
LocalDateTime bPIdentificationEntryDate,
String country,
String region,
LocalDateTime validityStartDate,
LocalDateTime validityEndDate,
String authorizationGroup) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static BuPaIdentification.BuPaIdentificationBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> BuPaIdentificationField<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 |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
LocalDateTime |
getBPIdentificationEntryDate()
Constraints: Not nullable, Precision: 0
|
String |
getBPIdentificationNumber()
(Key Field) Constraints: Not nullable, Maximum length: 60
|
String |
getBPIdentificationType()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getBPIdnNmbrIssuingInstitute()
Constraints: Not nullable, Maximum length: 40
|
String |
getBusinessPartner()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCountry()
Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
String |
getRegion()
Constraints: Not nullable, Maximum length: 3
|
Class<BuPaIdentification> |
getType() |
LocalDateTime |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setBPIdentificationEntryDate(LocalDateTime bPIdentificationEntryDate)
Constraints: Not nullable, Precision: 0
|
void |
setBPIdentificationNumber(String bPIdentificationNumber)
(Key Field) Constraints: Not nullable, Maximum length: 60
|
void |
setBPIdentificationType(String bPIdentificationType)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setBPIdnNmbrIssuingInstitute(String bPIdnNmbrIssuingInstitute)
Constraints: Not nullable, Maximum length: 40
|
void |
setBusinessPartner(String businessPartner)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCountry(String country)
Constraints: Not nullable, Maximum length: 3
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setRegion(String region)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final BuPaIdentificationSelectable ALL_FIELDS
public static final BuPaIdentificationField<String> BUSINESS_PARTNER
public static final BuPaIdentificationField<String> BP_IDENTIFICATION_TYPE
public static final BuPaIdentificationField<String> BP_IDENTIFICATION_NUMBER
public static final BuPaIdentificationField<String> BP_IDN_NMBR_ISSUING_INSTITUTE
public static final BuPaIdentificationField<LocalDateTime> BP_IDENTIFICATION_ENTRY_DATE
public static final BuPaIdentificationField<String> COUNTRY
public static final BuPaIdentificationField<String> REGION
public static final BuPaIdentificationField<LocalDateTime> VALIDITY_START_DATE
public static final BuPaIdentificationField<LocalDateTime> VALIDITY_END_DATE
public static final BuPaIdentificationField<String> AUTHORIZATION_GROUP
public BuPaIdentification()
public BuPaIdentification(@Nullable String businessPartner, @Nullable String bPIdentificationType, @Nullable String bPIdentificationNumber, @Nullable String bPIdnNmbrIssuingInstitute, @Nullable LocalDateTime bPIdentificationEntryDate, @Nullable String country, @Nullable String region, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String authorizationGroup)
@Nonnull public Class<BuPaIdentification> getType()
getType
in class VdmObject<BuPaIdentification>
public void setBusinessPartner(@Nullable String businessPartner)
Original property name from the Odata EDM: BusinessPartner
businessPartner
- Key identifying a business partner in the SAP system. The key is unique within a client.public void setBPIdentificationType(@Nullable String bPIdentificationType)
Original property name from the Odata EDM: BPIdentificationType
The identification type is for classifying identification numbers.You can define the identification types and their descriptions in Customizing.You can also specify for which business partner category an ID type should be valid.If necessary, assign the identification type to an Identification Category.You can only assign one identification type to an identification category.
bPIdentificationType
- A document (such as an ID card or driver's license) or an entry in a system of records (such as a
commercial register) whose key can be stored as an attribute for a business partner.public void setBPIdentificationNumber(@Nullable String bPIdentificationNumber)
Original property name from the Odata EDM: BPIdentificationNumber
bPIdentificationNumber
- Number that serves to identify a business partner, such as driver's license, or ID card number.public void setBPIdnNmbrIssuingInstitute(@Nullable String bPIdnNmbrIssuingInstitute)
Original property name from the Odata EDM: BPIdnNmbrIssuingInstitute
bPIdnNmbrIssuingInstitute
- Institution that adminsters or assigns an ID number.public void setBPIdentificationEntryDate(@Nullable LocalDateTime bPIdentificationEntryDate)
Original property name from the Odata EDM: BPIdentificationEntryDate
bPIdentificationEntryDate
- Date on which the ID number was registered or assigned by the appropriate authority.public void setCountry(@Nullable String country)
Original property name from the Odata EDM: Country
country
- Country in which an ID number was assigned, or in which the number is valid.public void setRegion(@Nullable String region)
Original property name from the Odata EDM: Region
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
region
- In some countries, the region forms part of the address. The meaning depends on the country.public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- This date marks the start of validity of an ID number.public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- This date marks the end of validity of an ID number.public void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
Use the following authorization object:'Business partners: authorization groups' (B_BUPA_GRP).The system only checks this authorization if you made an entry in the "Authorization group" field for the business partner. Otherwise, any user may process the business partner.
authorizationGroup
- You can use authorization groups to stipulate which business partners a user is allowed to process.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<BuPaIdentification>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BuPaIdentification>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BuPaIdentification>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BuPaIdentification>
@Nonnull public static <T> BuPaIdentificationField<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> BuPaIdentificationField<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 ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<BuPaIdentification>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<BuPaIdentification>
erpConfigContext
- New ERP configuration context to apply to this entityprotected 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<BuPaIdentification>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
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<BuPaIdentification>
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.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<BuPaIdentification>
public static BuPaIdentification.BuPaIdentificationBuilder builder()
@Nullable public String getBusinessPartner()
Original property name from the Odata EDM: BusinessPartner
@Nullable public String getBPIdentificationType()
Original property name from the Odata EDM: BPIdentificationType
The identification type is for classifying identification numbers.You can define the identification types and their descriptions in Customizing.You can also specify for which business partner category an ID type should be valid.If necessary, assign the identification type to an Identification Category.You can only assign one identification type to an identification category.
@Nullable public String getBPIdentificationNumber()
Original property name from the Odata EDM: BPIdentificationNumber
@Nullable public String getBPIdnNmbrIssuingInstitute()
Original property name from the Odata EDM: BPIdnNmbrIssuingInstitute
@Nullable public LocalDateTime getBPIdentificationEntryDate()
Original property name from the Odata EDM: BPIdentificationEntryDate
@Nullable public String getCountry()
Original property name from the Odata EDM: Country
@Nullable public String getRegion()
Original property name from the Odata EDM: Region
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
Use the following authorization object:'Business partners: authorization groups' (B_BUPA_GRP).The system only checks this authorization if you made an entry in the "Authorization group" field for the business partner. Otherwise, any user may process the business partner.
public String toString()
toString
in class VdmObject<BuPaIdentification>
public boolean equals(Object o)
equals
in class VdmObject<BuPaIdentification>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<BuPaIdentification>
public int hashCode()
hashCode
in class VdmObject<BuPaIdentification>
Copyright © 2019 SAP SE. All rights reserved.