Class BuPaAddressUsage
Original entity name from the Odata EDM: A_BuPaAddressUsageType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuPaAddressUsageField<String>Use with available fluent helpers to apply the AddressID field to query operations.static final BuPaAddressUsageField<String>Use with available fluent helpers to apply the AddressUsage field to query operations.static final BuPaAddressUsageSelectableSelector for all available fields of BuPaAddressUsage.static final BuPaAddressUsageField<String>Use with available fluent helpers to apply the AuthorizationGroup field to query operations.static final BuPaAddressUsageField<String>Use with available fluent helpers to apply the BusinessPartner field to query operations.static final BuPaAddressUsageField<Boolean>Use with available fluent helpers to apply the StandardUsage field to query operations.static final BuPaAddressUsageField<ZonedDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final BuPaAddressUsageField<ZonedDateTime>Use with available fluent helpers to apply the ValidityStartDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionBuPaAddressUsage(String businessPartner, ZonedDateTime validityEndDate, String addressUsage, String addressID, ZonedDateTime validityStartDate, Boolean standardUsage, String authorizationGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
BuPaAddressUsageField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> BuPaAddressUsageField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10protected Stringprotected StringgetKey()Constraints: nonegetType()(Key Field) Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetAddressID(String addressID) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetAddressUsage(String addressUsage) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetAuthorizationGroup(String authorizationGroup) Constraints: Not nullable, Maximum length: 4voidsetBusinessPartner(String businessPartner) (Key Field) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) voidsetStandardUsage(Boolean standardUsage) Constraints: nonevoidsetValidityEndDate(ZonedDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetValidityStartDate(ZonedDateTime validityStartDate) 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 BuPaAddressUsage. -
BUSINESS_PARTNER
Use with available fluent helpers to apply the BusinessPartner field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations. -
ADDRESS_USAGE
Use with available fluent helpers to apply the AddressUsage field to query operations. -
ADDRESS_ID
Use with available fluent helpers to apply the AddressID field to query operations. -
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations. -
STANDARD_USAGE
Use with available fluent helpers to apply the StandardUsage field to query operations. -
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
-
-
Constructor Details
-
BuPaAddressUsage
public BuPaAddressUsage() -
BuPaAddressUsage
public BuPaAddressUsage(@Nullable String businessPartner, @Nullable ZonedDateTime validityEndDate, @Nullable String addressUsage, @Nullable String addressID, @Nullable ZonedDateTime validityStartDate, @Nullable Boolean standardUsage, @Nullable String authorizationGroup)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BuPaAddressUsage>
-
setBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Parameters:
businessPartner- Business Partner Number
-
setValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Validity End of a Business Partner Address Usage
-
setAddressUsage
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressUsage
- Parameters:
addressUsage- Address Type
-
setAddressID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressID
- Parameters:
addressID- Address Number
-
setValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Validity Start of a Business Partner Address Usage
-
setStandardUsage
Constraints: noneOriginal property name from the Odata EDM: StandardUsage
- Parameters:
standardUsage- Indicator: Standard Address Usage
-
setAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Parameters:
authorizationGroup- Authorization Group
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BuPaAddressUsage>
-
getKey
- Overrides:
getKeyin classVdmObject<BuPaAddressUsage>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BuPaAddressUsage>
-
fromMap
- Overrides:
fromMapin classVdmObject<BuPaAddressUsage>
-
field
@Nonnull public static <T> BuPaAddressUsageField<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> BuPaAddressUsageField<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<BuPaAddressUsage>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<BuPaAddressUsage>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<BuPaAddressUsage>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BuPaAddressUsage>
-
builder
-
getBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Returns:
- Business Partner Number
-
getValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- Validity End of a Business Partner Address Usage
-
getAddressUsage
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressUsage
- Returns:
- Address Type
-
getAddressID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressID
- Returns:
- Address Number
-
getValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
- Validity Start of a Business Partner Address Usage
-
getStandardUsage
Constraints: noneOriginal property name from the Odata EDM: StandardUsage
- Returns:
- Indicator: Standard Address Usage
-
getAuthorizationGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AuthorizationGroup
- Returns:
- Authorization Group
-
toString
- Overrides:
toStringin classVdmObject<BuPaAddressUsage>
-
equals
- Overrides:
equalsin classVdmEntity<BuPaAddressUsage>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BuPaAddressUsage>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BuPaAddressUsage>
-