Class BusinessPartnerRole
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<BusinessPartnerRole>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.businesspartner.BusinessPartnerRole
Role
Original entity name from the Odata EDM: A_BusinessPartnerRoleType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BusinessPartnerRoleSelectableSelector for all available fields of BusinessPartnerRole.static final BusinessPartnerRoleField<String>Use with available fluent helpers to apply the AuthorizationGroup field to query operations.static final BusinessPartnerRoleField<String>Use with available fluent helpers to apply the BusinessPartner field to query operations.static final BusinessPartnerRoleField<String>Use with available fluent helpers to apply the BusinessPartnerRole field to query operations.static final BusinessPartnerRoleField<ZonedDateTime>Use with available fluent helpers to apply the ValidFrom field to query operations.static final BusinessPartnerRoleField<ZonedDateTime>Use with available fluent helpers to apply the ValidTo field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionBusinessPartnerRole(String businessPartner, String businessPartnerRole, ZonedDateTime validFrom, ZonedDateTime validTo, String authorizationGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
BusinessPartnerRoleField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> BusinessPartnerRoleField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 6protected Stringprotected StringgetKey()getType()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetAuthorizationGroup(String authorizationGroup) Constraints: Not nullable, Maximum length: 4voidsetBusinessPartner(String businessPartner) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetBusinessPartnerRole(String businessPartnerRole) (Key Field) Constraints: Not nullable, Maximum length: 6protected voidsetServicePathForFetch(String servicePathForFetch) voidsetValidFrom(ZonedDateTime validFrom) Constraints: Not nullable, Precision: 0voidsetValidTo(ZonedDateTime validTo) Constraints: Not nullable, Precision: 0toString()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, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of BusinessPartnerRole. -
BUSINESS_PARTNER
Use with available fluent helpers to apply the BusinessPartner field to query operations. -
BUSINESS_PARTNER_ROLE
Use with available fluent helpers to apply the BusinessPartnerRole field to query operations. -
VALID_FROM
Use with available fluent helpers to apply the ValidFrom field to query operations. -
VALID_TO
Use with available fluent helpers to apply the ValidTo field to query operations. -
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
-
-
Constructor Details
-
BusinessPartnerRole
public BusinessPartnerRole() -
BusinessPartnerRole
public BusinessPartnerRole(@Nullable String businessPartner, @Nullable String businessPartnerRole, @Nullable ZonedDateTime validFrom, @Nullable ZonedDateTime validTo, @Nullable String authorizationGroup)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BusinessPartnerRole>
-
setBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Parameters:
businessPartner- Business Partner Number
-
setBusinessPartnerRole
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: BusinessPartnerRole
- Parameters:
businessPartnerRole- BP Role
-
setValidFrom
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidFrom
- Parameters:
validFrom- Validity Start of a BP Role
-
setValidTo
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidTo
- Parameters:
validTo- Validity End of a BP Role
-
setAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Parameters:
authorizationGroup- Authorization Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BusinessPartnerRole>
-
getKey
- Overrides:
getKeyin classVdmObject<BusinessPartnerRole>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BusinessPartnerRole>
-
fromMap
- Overrides:
fromMapin classVdmObject<BusinessPartnerRole>
-
field
@Nonnull public static <T> BusinessPartnerRoleField<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> BusinessPartnerRoleField<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<BusinessPartnerRole>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<BusinessPartnerRole>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<BusinessPartnerRole>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BusinessPartnerRole>
-
builder
-
getBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Returns:
- Business Partner Number
-
getBusinessPartnerRole
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: BusinessPartnerRole
- Returns:
- BP Role
-
getValidFrom
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidFrom
- Returns:
- Validity Start of a BP Role
-
getValidTo
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidTo
- Returns:
- Validity End of a BP Role
-
getAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Returns:
- Authorization Group
-
toString
- Overrides:
toStringin classVdmObject<BusinessPartnerRole>
-
equals
- Overrides:
equalsin classVdmEntity<BusinessPartnerRole>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BusinessPartnerRole>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BusinessPartnerRole>
-