public class BPItemBusLock extends VdmEntity<BPItemBusLock> implements VdmEntitySet
Original entity name from the Odata EDM: BPItemBusLockType
Modifier and Type | Class and Description |
---|---|
static class |
BPItemBusLock.BPItemBusLockBuilder
Helper class to allow for fluent creation of BPItemBusLock instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
BPItemBusLock() |
BPItemBusLock(String cADocumentNumber,
String cARepetitionItemNumber,
String cABPItemNumber,
String cASubItemNumber,
String cABusinessProcess,
String cABusinessLockReason,
LocalDate cABusinessLockValidFrom,
LocalDate cABusinessLockValidTo,
Collection<SAP__Message> _Messages,
BPItemLogical to_BPItem,
DocumentHeader to_DocHeader) |
Modifier and Type | Method and Description |
---|---|
static BPItemBusLock.BPItemBusLockBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
Collection<SAP__Message> |
get_Messages()
Constraints: Not nullable
|
io.vavr.control.Option<BPItemLogical> |
getBPItemIfPresent()
Retrieval of associated BPItemLogical entity (one to one).
|
String |
getCABPItemNumber()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCABusinessLockReason()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
LocalDate |
getCABusinessLockValidFrom()
(Key Field) Constraints: Not nullable
|
LocalDate |
getCABusinessLockValidTo()
(Key Field) Constraints: Not nullable
|
String |
getCABusinessProcess()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getCADocumentNumber()
(Key Field) Constraints: Not nullable, Maximum length: 12
|
String |
getCARepetitionItemNumber()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getCASubItemNumber()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
io.vavr.control.Option<DocumentHeader> |
getDocHeaderIfPresent()
Retrieval of associated DocumentHeader entity (one to one).
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
Class<BPItemBusLock> |
getType() |
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setBPItem(BPItemLogical value)
Overwrites the associated BPItemLogical entity for the loaded navigation property _BPItem.
|
void |
setCABPItemNumber(String cABPItemNumber)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCABusinessLockReason(String cABusinessLockReason)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setCABusinessLockValidFrom(LocalDate cABusinessLockValidFrom)
(Key Field) Constraints: Not nullable
|
void |
setCABusinessLockValidTo(LocalDate cABusinessLockValidTo)
(Key Field) Constraints: Not nullable
|
void |
setCABusinessProcess(String cABusinessProcess)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setCADocumentNumber(String cADocumentNumber)
(Key Field) Constraints: Not nullable, Maximum length: 12
|
void |
setCARepetitionItemNumber(String cARepetitionItemNumber)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setCASubItemNumber(String cASubItemNumber)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setDocHeader(DocumentHeader value)
Overwrites the associated DocumentHeader entity for the loaded navigation property _DocHeader.
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<BPItemBusLock> ALL_FIELDS
public static final SimpleProperty.String<BPItemBusLock> CA_DOCUMENT_NUMBER
public static final SimpleProperty.String<BPItemBusLock> CA_REPETITION_ITEM_NUMBER
public static final SimpleProperty.String<BPItemBusLock> CABP_ITEM_NUMBER
public static final SimpleProperty.String<BPItemBusLock> CA_SUB_ITEM_NUMBER
public static final SimpleProperty.String<BPItemBusLock> CA_BUSINESS_PROCESS
public static final SimpleProperty.String<BPItemBusLock> CA_BUSINESS_LOCK_REASON
public static final SimpleProperty.Date<BPItemBusLock> CA_BUSINESS_LOCK_VALID_FROM
public static final SimpleProperty.Date<BPItemBusLock> CA_BUSINESS_LOCK_VALID_TO
public static final ComplexProperty.Collection<BPItemBusLock,SAP__Message> _MESSAGES
public static final NavigationProperty.Single<BPItemBusLock,BPItemLogical> TO__B_P_ITEM
public static final NavigationProperty.Single<BPItemBusLock,DocumentHeader> TO__DOC_HEADER
public BPItemBusLock()
public BPItemBusLock(@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 Collection<SAP__Message> _Messages, @Nullable BPItemLogical to_BPItem, @Nullable DocumentHeader to_DocHeader)
@Nonnull public Class<BPItemBusLock> getType()
getType
in class VdmObject<BPItemBusLock>
public void setCADocumentNumber(@Nullable String cADocumentNumber)
Original property name from the Odata EDM: CADocumentNumber
cADocumentNumber
- The cADocumentNumber to set.public void setCARepetitionItemNumber(@Nullable String cARepetitionItemNumber)
Original property name from the Odata EDM: CARepetitionItemNumber
cARepetitionItemNumber
- Repetition Item in FI-CA Documentpublic void setCABPItemNumber(@Nullable String cABPItemNumber)
Original property name from the Odata EDM: CABPItemNumber
cABPItemNumber
- Item Number in FI-CA Documentpublic void setCASubItemNumber(@Nullable String cASubItemNumber)
Original property name from the Odata EDM: CASubItemNumber
cASubItemNumber
- Subitem for a Partial Clearing in Documentpublic void setCABusinessProcess(@Nullable String cABusinessProcess)
Original property name from the Odata EDM: CABusinessProcess
cABusinessProcess
- Process Code (Example: Dunning, Payment)public void setCABusinessLockReason(@Nullable String cABusinessLockReason)
Original property name from the Odata EDM: CABusinessLockReason
cABusinessLockReason
- Lock Reasonpublic void setCABusinessLockValidFrom(@Nullable LocalDate cABusinessLockValidFrom)
Original property name from the Odata EDM: CABusinessLockValidFrom
cABusinessLockValidFrom
- Lock valid frompublic void setCABusinessLockValidTo(@Nullable LocalDate cABusinessLockValidTo)
Original property name from the Odata EDM: CABusinessLockValidTo
cABusinessLockValidTo
- Lock valid topublic void set_Messages(@Nullable Collection<SAP__Message> _Messages)
Original property name from the Odata EDM: SAP__Messages
_Messages
- The _Messages to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BPItemBusLock>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<BPItemBusLock>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<BPItemBusLock>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<BPItemBusLock>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<BPItemBusLock>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<BPItemBusLock>
@Nonnull public io.vavr.control.Option<BPItemLogical> getBPItemIfPresent()
If the navigation property for an entity BPItemBusLock has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is
returned.public void setBPItem(BPItemLogical value)
value
- New BPItemLogical entity.@Nonnull public io.vavr.control.Option<DocumentHeader> getDocHeaderIfPresent()
If the navigation property for an entity BPItemBusLock has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state empty
is
returned.public void setDocHeader(DocumentHeader value)
value
- New DocumentHeader entity.@Nonnull public static BPItemBusLock.BPItemBusLockBuilder builder()
@Nullable public String getCADocumentNumber()
Original property name from the Odata EDM: CADocumentNumber
VdmEntity
.@Nullable public String getCARepetitionItemNumber()
Original property name from the Odata EDM: CARepetitionItemNumber
@Nullable public String getCABPItemNumber()
Original property name from the Odata EDM: CABPItemNumber
@Nullable public String getCASubItemNumber()
Original property name from the Odata EDM: CASubItemNumber
@Nullable public String getCABusinessProcess()
Original property name from the Odata EDM: CABusinessProcess
@Nullable public String getCABusinessLockReason()
Original property name from the Odata EDM: CABusinessLockReason
@Nullable public LocalDate getCABusinessLockValidFrom()
Original property name from the Odata EDM: CABusinessLockValidFrom
@Nullable public LocalDate getCABusinessLockValidTo()
Original property name from the Odata EDM: CABusinessLockValidTo
@Nullable public Collection<SAP__Message> get_Messages()
Original property name from the Odata EDM: SAP__Messages
VdmEntity
.@Nonnull public String toString()
toString
in class VdmObject<BPItemBusLock>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<BPItemBusLock>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<BPItemBusLock>
public int hashCode()
hashCode
in class VdmEntity<BPItemBusLock>
public String getOdataType()
getOdataType
in class VdmObject<BPItemBusLock>
Copyright © 2021 SAP SE. All rights reserved.