Class BPRelationship
Original entity name from the Odata EDM: A_BPRelationshipType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BPRelationshipSelectableSelector for all available fields of BPRelationship.static final BPRelationshipField<String>Use with available fluent helpers to apply the BPRelationshipType field to query operations.static final BPRelationshipField<String>Use with available fluent helpers to apply the BusinessPartner1 field to query operations.static final BPRelationshipField<String>Use with available fluent helpers to apply the BusinessPartner2 field to query operations.static final BPRelationshipField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final BPRelationshipField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final BPRelationshipField<LocalTime>Use with available fluent helpers to apply the CreationTime field to query operations.static final BPRelationshipField<Boolean>Use with available fluent helpers to apply the IsStandardRelationship field to query operations.static final BPRelationshipField<LocalDateTime>Use with available fluent helpers to apply the LastChangeDate field to query operations.static final BPRelationshipField<LocalTime>Use with available fluent helpers to apply the LastChangeTime field to query operations.static final BPRelationshipField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final BPRelationshipField<String>Use with available fluent helpers to apply the RelationshipCategory field to query operations.static final BPRelationshipField<String>Use with available fluent helpers to apply the RelationshipNumber field to query operations.static final BPRelationshipField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final BPRelationshipField<LocalDateTime>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
ConstructorsConstructorDescriptionBPRelationship(String relationshipNumber, String businessPartner1, String businessPartner2, LocalDateTime validityEndDate, LocalDateTime validityStartDate, Boolean isStandardRelationship, String relationshipCategory, String bPRelationshipType, String createdByUser, LocalDateTime creationDate, LocalTime creationTime, String lastChangedByUser, LocalDateTime lastChangeDate, LocalTime lastChangeTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
BPRelationshipField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> BPRelationshipField<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: 10Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0protected Stringprotected StringConstraints: nonegetKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 12getType()(Key Field) Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetBPRelationshipType(String bPRelationshipType) Constraints: Not nullable, Maximum length: 4voidsetBusinessPartner1(String businessPartner1) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetBusinessPartner2(String businessPartner2) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0voidsetCreationTime(LocalTime creationTime) Constraints: Not nullable, Precision: 0voidsetIsStandardRelationship(Boolean isStandardRelationship) Constraints: nonevoidsetLastChangeDate(LocalDateTime lastChangeDate) Constraints: Not nullable, Precision: 0voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetLastChangeTime(LocalTime lastChangeTime) Constraints: Not nullable, Precision: 0voidsetRelationshipCategory(String relationshipCategory) Constraints: Not nullable, Maximum length: 6voidsetRelationshipNumber(String relationshipNumber) (Key Field) Constraints: Not nullable, Maximum length: 12protected voidsetServicePathForFetch(String servicePathForFetch) voidsetValidityEndDate(LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetValidityStartDate(LocalDateTime 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 BPRelationship. -
RELATIONSHIP_NUMBER
Use with available fluent helpers to apply the RelationshipNumber field to query operations. -
BUSINESS_PARTNER1
Use with available fluent helpers to apply the BusinessPartner1 field to query operations. -
BUSINESS_PARTNER2
Use with available fluent helpers to apply the BusinessPartner2 field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations. -
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations. -
IS_STANDARD_RELATIONSHIP
Use with available fluent helpers to apply the IsStandardRelationship field to query operations. -
RELATIONSHIP_CATEGORY
Use with available fluent helpers to apply the RelationshipCategory field to query operations. -
BP_RELATIONSHIP_TYPE
Use with available fluent helpers to apply the BPRelationshipType field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
CREATION_TIME
Use with available fluent helpers to apply the CreationTime field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations. -
LAST_CHANGE_TIME
Use with available fluent helpers to apply the LastChangeTime field to query operations.
-
-
Constructor Details
-
BPRelationship
public BPRelationship() -
BPRelationship
public BPRelationship(@Nullable String relationshipNumber, @Nullable String businessPartner1, @Nullable String businessPartner2, @Nullable LocalDateTime validityEndDate, @Nullable LocalDateTime validityStartDate, @Nullable Boolean isStandardRelationship, @Nullable String relationshipCategory, @Nullable String bPRelationshipType, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable LocalTime creationTime, @Nullable String lastChangedByUser, @Nullable LocalDateTime lastChangeDate, @Nullable LocalTime lastChangeTime)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BPRelationship>
-
setRelationshipNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: RelationshipNumber
- Parameters:
relationshipNumber- BP Relationship Number
-
setBusinessPartner1
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner1
- Parameters:
businessPartner1- Business Partner Number
-
setBusinessPartner2
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner2
- Parameters:
businessPartner2- Business Partner Number
-
setValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Validity Date (Valid To)
-
setValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Validity Date (Valid From)
-
setIsStandardRelationship
Constraints: noneOriginal property name from the Odata EDM: IsStandardRelationship
- Parameters:
isStandardRelationship- Standard Relationship
-
setRelationshipCategory
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: RelationshipCategory
- Parameters:
relationshipCategory- Business Partner Relationship Category
-
setBPRelationshipType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BPRelationshipType
- Parameters:
bPRelationshipType- Business partner relationship type
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- User who created the object
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Date on which the object was created
-
setCreationTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationTime
- Parameters:
creationTime- Time at which the object was created
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Last user to change object
-
setLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Parameters:
lastChangeDate- Date when object was last changed
-
setLastChangeTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeTime
- Parameters:
lastChangeTime- Time at which object was last changed
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BPRelationship>
-
getKey
- Overrides:
getKeyin classVdmObject<BPRelationship>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BPRelationship>
-
fromMap
- Overrides:
fromMapin classVdmObject<BPRelationship>
-
field
@Nonnull public static <T> BPRelationshipField<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> BPRelationshipField<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<BPRelationship>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<BPRelationship>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<BPRelationship>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BPRelationship>
-
builder
-
getRelationshipNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: RelationshipNumber
- Returns:
- BP Relationship Number
-
getBusinessPartner1
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner1
- Returns:
- Business Partner Number
-
getBusinessPartner2
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner2
- Returns:
- Business Partner Number
-
getValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- Validity Date (Valid To)
-
getValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
- Validity Date (Valid From)
-
getIsStandardRelationship
Constraints: noneOriginal property name from the Odata EDM: IsStandardRelationship
- Returns:
- Standard Relationship
-
getRelationshipCategory
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: RelationshipCategory
- Returns:
- Business Partner Relationship Category
-
getBPRelationshipType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BPRelationshipType
- Returns:
- Business partner relationship type
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- User who created the object
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- Date on which the object was created
-
getCreationTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationTime
- Returns:
- Time at which the object was created
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Last user to change object
-
getLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Returns:
- Date when object was last changed
-
getLastChangeTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeTime
- Returns:
- Time at which object was last changed
-
toString
- Overrides:
toStringin classVdmObject<BPRelationship>
-
equals
- Overrides:
equalsin classVdmEntity<BPRelationship>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BPRelationship>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BPRelationship>
-