public class BusinessPartnerRole extends VdmEntity<BusinessPartnerRole>
Modifier and Type | Class and Description |
---|---|
static class |
BusinessPartnerRole.BusinessPartnerRoleBuilder |
Modifier and Type | Field and Description |
---|---|
static BusinessPartnerRoleSelectable |
ALL_FIELDS
Selector for all available fields of BusinessPartnerRole.
|
static BusinessPartnerRoleField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static BusinessPartnerRoleField<String> |
BUSINESS_PARTNER
Use with available fluent helpers to apply the BusinessPartner field to query operations.
|
static BusinessPartnerRoleField<String> |
BUSINESS_PARTNER_ROLE
Use with available fluent helpers to apply the BusinessPartnerRole field to query operations.
|
static BusinessPartnerRoleField<Calendar> |
VALID_FROM
Use with available fluent helpers to apply the ValidFrom field to query operations.
|
static BusinessPartnerRoleField<Calendar> |
VALID_TO
Use with available fluent helpers to apply the ValidTo field to query operations.
|
Constructor and Description |
---|
BusinessPartnerRole() |
BusinessPartnerRole(String businessPartner,
String businessPartnerRole,
Calendar validFrom,
Calendar validTo,
String authorizationGroup,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static BusinessPartnerRole.BusinessPartnerRoleBuilder |
builder() |
boolean |
equals(Object o) |
static <T> BusinessPartnerRoleField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4 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.
|
String |
getBusinessPartner()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getBusinessPartnerRole()
(Key Field) Constraints: Not nullable, Maximum length: 6 You can define business partner roles along with their attributes in Customizing.You can create an alphanumeric, 6-digit key for the BP role.
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
Class<BusinessPartnerRole> |
getType() |
Calendar |
getValidFrom()
Constraints: Not nullable, Precision: 0
|
Calendar |
getValidTo()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4 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.
|
void |
setBusinessPartner(String businessPartner)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setBusinessPartnerRole(String businessPartnerRole)
(Key Field) Constraints: Not nullable, Maximum length: 6 You can define business partner roles along with their attributes in Customizing.You can create an alphanumeric, 6-digit key for the BP role.
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setValidFrom(Calendar validFrom)
Constraints: Not nullable, Precision: 0
|
void |
setValidTo(Calendar validTo)
Constraints: Not nullable, Precision: 0
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final BusinessPartnerRoleSelectable ALL_FIELDS
public static final BusinessPartnerRoleField<String> BUSINESS_PARTNER
public static final BusinessPartnerRoleField<String> BUSINESS_PARTNER_ROLE
public static final BusinessPartnerRoleField<Calendar> VALID_FROM
public static final BusinessPartnerRoleField<Calendar> VALID_TO
public static final BusinessPartnerRoleField<String> AUTHORIZATION_GROUP
public Class<BusinessPartnerRole> getType()
getType
in class VdmObject<BusinessPartnerRole>
public static <T> BusinessPartnerRoleField<T> field(String fieldName, Class<T> fieldType)
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.public static BusinessPartnerRole.BusinessPartnerRoleBuilder builder()
@Nullable public String getBusinessPartner()
@Nullable public String getBusinessPartnerRole()
You can define business partner roles along with their attributes in Customizing.You can create an alphanumeric, 6-digit key for the BP role. You can also choose a title as the short form and a description as the long form for the role text.Screen control in the dialog takes place by assigning a BP view.A program can access specific business partner roles for a business partner using thebusiness partner role category . The role categories are also in the TB003 table.
@Nullable public Calendar getValidFrom()
@Nullable public Calendar getValidTo()
@Nullable public String getAuthorizationGroup()
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.
@Nullable public ErpConfigContext getErpConfigContext()
public void setBusinessPartner(@Nullable String businessPartner)
businessPartner
- public void setBusinessPartnerRole(@Nullable String businessPartnerRole)
You can define business partner roles along with their attributes in Customizing.You can create an alphanumeric, 6-digit key for the BP role. You can also choose a title as the short form and a description as the long form for the role text.Screen control in the dialog takes place by assigning a BP view.A program can access specific business partner roles for a business partner using thebusiness partner role category . The role categories are also in the TB003 table.
businessPartnerRole
- public void setValidFrom(@Nullable Calendar validFrom)
validFrom
- public void setValidTo(@Nullable Calendar validTo)
validTo
- public void setAuthorizationGroup(@Nullable String 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
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<BusinessPartnerRole>
public boolean equals(Object o)
equals
in class VdmObject<BusinessPartnerRole>
public int hashCode()
hashCode
in class VdmObject<BusinessPartnerRole>
Copyright © 2018 SAP SE. All rights reserved.