Class CADocBPItemBusLock
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CADocBPItemBusLock_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CADocBPItemBusLock instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CADocBPItemBusLock>Selector for all available fields of CADocBPItemBusLock.static final SimpleProperty.String<CADocBPItemBusLock>static final SimpleProperty.Date<CADocBPItemBusLock>static final SimpleProperty.Date<CADocBPItemBusLock>static final SimpleProperty.String<CADocBPItemBusLock>static final SimpleProperty.String<CADocBPItemBusLock>static final SimpleProperty.String<CADocBPItemBusLock>static final SimpleProperty.String<CADocBPItemBusLock>static final SimpleProperty.String<CADocBPItemBusLock>static final NavigationProperty.Single<CADocBPItemBusLock,CADocBPItem> Use with available request builders to apply the _BPItem navigation property to query operations.static final NavigationProperty.Single<CADocBPItemBusLock,CADocHeader> Use with available request builders to apply the _DocHeader navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionCADocBPItemBusLock(String cADocumentNumber, String cARepetitionItemNumber, String cABPItemNumber, String cASubItemNumber, String cABusinessProcess, String cABusinessLockReason, LocalDate cABusinessLockValidFrom, LocalDate cABusinessLockValidTo, CADocBPItem to_BPItem, CADocHeader to_DocHeader) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidio.vavr.control.Option<CADocBPItem>Retrieval of associated CADocBPItem entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable(Key Field) Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 3protected Stringio.vavr.control.Option<CADocHeader>Retrieval of associated CADocHeader entity (one to one).protected Stringprotected ODataEntityKeygetKey()getType()inthashCode()voidsetBPItem(CADocBPItem value) Overwrites the associated CADocBPItem entity for the loaded navigation property _BPItem.voidsetCABPItemNumber(String cABPItemNumber) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCABusinessLockReason(String cABusinessLockReason) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetCABusinessLockValidFrom(LocalDate cABusinessLockValidFrom) (Key Field) Constraints: Not nullablevoidsetCABusinessLockValidTo(LocalDate cABusinessLockValidTo) (Key Field) Constraints: Not nullablevoidsetCABusinessProcess(String cABusinessProcess) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetCADocumentNumber(String cADocumentNumber) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetCARepetitionItemNumber(String cARepetitionItemNumber) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetCASubItemNumber(String cASubItemNumber) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetDocHeader(CADocHeader value) Overwrites the associated CADocHeader entity for the loaded navigation property _DocHeader.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CADocBPItemBusLock. -
CA_DOCUMENT_NUMBER
-
CA_REPETITION_ITEM_NUMBER
-
CABP_ITEM_NUMBER
-
CA_SUB_ITEM_NUMBER
-
CA_BUSINESS_PROCESS
-
CA_BUSINESS_LOCK_REASON
-
CA_BUSINESS_LOCK_VALID_FROM
-
CA_BUSINESS_LOCK_VALID_TO
-
TO__B_P_ITEM
Use with available request builders to apply the _BPItem navigation property to query operations. -
TO__DOC_HEADER
Use with available request builders to apply the _DocHeader navigation property to query operations.
-
-
Constructor Details
-
CADocBPItemBusLock
public CADocBPItemBusLock() -
CADocBPItemBusLock
public CADocBPItemBusLock(@Nullable String cADocumentNumber, @Nullable String cARepetitionItemNumber, @Nullable String cABPItemNumber, @Nullable String cASubItemNumber, @Nullable String cABusinessProcess, @Nullable String cABusinessLockReason, @Nullable LocalDate cABusinessLockValidFrom, @Nullable LocalDate cABusinessLockValidTo, @Nullable CADocBPItem to_BPItem, @Nullable CADocHeader to_DocHeader)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CADocBPItemBusLock>
-
setCADocumentNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CADocumentNumber
- Parameters:
cADocumentNumber- Document
-
setCARepetitionItemNumber
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CARepetitionItemNumber
- Parameters:
cARepetitionItemNumber- Repetition Item in FI-CA Document
-
setCABPItemNumber
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CABPItemNumber
- Parameters:
cABPItemNumber- Item Number in FI-CA Document
-
setCASubItemNumber
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CASubItemNumber
- Parameters:
cASubItemNumber- Subitem for a Partial Clearing in Document
-
setCABusinessProcess
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CABusinessProcess
- Parameters:
cABusinessProcess- Process Code (Example: Dunning, Payment)
-
setCABusinessLockReason
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CABusinessLockReason
- Parameters:
cABusinessLockReason- Lock Reason
-
setCABusinessLockValidFrom
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CABusinessLockValidFrom
- Parameters:
cABusinessLockValidFrom- Lock valid from
-
setCABusinessLockValidTo
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CABusinessLockValidTo
- Parameters:
cABusinessLockValidTo- Lock valid to
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CADocBPItemBusLock>
-
getKey
- Overrides:
getKeyin classVdmObject<CADocBPItemBusLock>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CADocBPItemBusLock>
-
fromMap
- Overrides:
fromMapin classVdmObject<CADocBPItemBusLock>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CADocBPItemBusLock>
-
getBPItemIfPresent
Retrieval of associated CADocBPItem entity (one to one). This corresponds to the OData navigation property _BPItem.If the navigation property for an entity CADocBPItemBusLock has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _BPItem is already loaded, the result will contain the
CADocBPItem entity. If not, an
Optionwith result stateemptyis returned.
-
setBPItem
Overwrites the associated CADocBPItem entity for the loaded navigation property _BPItem.- Parameters:
value- New CADocBPItem entity.
-
getDocHeaderIfPresent
Retrieval of associated CADocHeader entity (one to one). This corresponds to the OData navigation property _DocHeader.If the navigation property for an entity CADocBPItemBusLock has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _DocHeader is already loaded, the result will contain
the CADocHeader entity. If not, an
Optionwith result stateemptyis returned.
-
setDocHeader
Overwrites the associated CADocHeader entity for the loaded navigation property _DocHeader.- Parameters:
value- New CADocHeader entity.
-
builder
-
getCADocumentNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CADocumentNumber
- Returns:
- Document
-
getCARepetitionItemNumber
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CARepetitionItemNumber
- Returns:
- Repetition Item in FI-CA Document
-
getCABPItemNumber
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CABPItemNumber
- Returns:
- Item Number in FI-CA Document
-
getCASubItemNumber
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CASubItemNumber
- Returns:
- Subitem for a Partial Clearing in Document
-
getCABusinessProcess
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CABusinessProcess
- Returns:
- Process Code (Example: Dunning, Payment)
-
getCABusinessLockReason
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CABusinessLockReason
- Returns:
- Lock Reason
-
getCABusinessLockValidFrom
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CABusinessLockValidFrom
- Returns:
- Lock valid from
-
getCABusinessLockValidTo
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CABusinessLockValidTo
- Returns:
- Lock valid to
-
toString
- Overrides:
toStringin classVdmObject<CADocBPItemBusLock>
-
equals
- Overrides:
equalsin classVdmEntity<CADocBPItemBusLock>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CADocBPItemBusLock>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CADocBPItemBusLock>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CADocBPItemBusLock>
-