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,
HttpDestinationProperties destination)
Sets the service path and destination 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()
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() |
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 |
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() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, 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
- Business Partner Numberpublic void setBPIdentificationType(@Nullable String bPIdentificationType)
Original property name from the Odata EDM: BPIdentificationType
bPIdentificationType
- Identification Typepublic void setBPIdentificationNumber(@Nullable String bPIdentificationNumber)
Original property name from the Odata EDM: BPIdentificationNumber
bPIdentificationNumber
- Identification Numberpublic void setBPIdnNmbrIssuingInstitute(@Nullable String bPIdnNmbrIssuingInstitute)
Original property name from the Odata EDM: BPIdnNmbrIssuingInstitute
bPIdnNmbrIssuingInstitute
- Responsible Institution for ID Numberpublic void setBPIdentificationEntryDate(@Nullable LocalDateTime bPIdentificationEntryDate)
Original property name from the Odata EDM: BPIdentificationEntryDate
bPIdentificationEntryDate
- Date of Entry for ID Numberpublic void setCountry(@Nullable String country)
Original property name from the Odata EDM: Country
country
- Country in Which ID Number is Valid or Was Assignedpublic void setRegion(@Nullable String region)
Original property name from the Odata EDM: Region
region
- Region (State, Province, County)public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Validity Start for ID Numberpublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Validity End for ID Numberpublic void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
authorizationGroup
- Authorization Groupprotected String getEntityCollection()
VdmEntity
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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<BuPaIdentification>
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<BuPaIdentification>
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<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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BuPaIdentification>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull 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
@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
@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
@Nonnull public String toString()
toString
in class VdmObject<BuPaIdentification>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BuPaIdentification>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BuPaIdentification>
public int hashCode()
hashCode
in class VdmObject<BuPaIdentification>
Copyright © 2021 SAP SE. All rights reserved.