Class LongestPathInBOM
Original entity name from the Odata EDM: A_LongestPathInBOMType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LongestPathInBOM instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LongestPathInBOMSelectableSelector for all available fields of LongestPathInBOM.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the BillOfMaterialComponent field to query operations.static final LongestPathInBOMField<UUID>Use with available fluent helpers to apply the BillOfMaterialUUID field to query operations.static final LongestPathInBOMField<BigDecimal>Use with available fluent helpers to apply the ComponentLeadTime field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the ComponentMRPArea field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the ComponentPlant field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the ComponentSOS field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the ComponentSOSType field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the LeadTimeCalculationMethod field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the Material field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the MRPArea field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the ParentComponent field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the ParentMRPArea field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the ParentPlant field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the Plant field to query operations.static final LongestPathInBOMField<LocalDateTime>Use with available fluent helpers to apply the ProposalStartDate field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the ProposalVersion field to query operations.static final LongestPathInBOMField<String>Use with available fluent helpers to apply the SOSTypeDescription field to query operations.static final LongestPathInBOMOneToOneLink<ProposalHeader>Use with available fluent helpers to apply the to_ProposalHdr navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionLongestPathInBOM(String material, String plant, String mRPArea, LocalDateTime proposalStartDate, String proposalVersion, UUID billOfMaterialUUID, String parentComponent, String parentPlant, String billOfMaterialComponent, String componentPlant, String parentMRPArea, String componentMRPArea, BigDecimal componentLeadTime, String leadTimeCalculationMethod, String componentSOS, String componentSOSType, String sOSTypeDescription, ProposalHeader toProposalHdr) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ProposalHeader entity (one to one) associated with this entity.static <T,DomainT>
LongestPathInBOMField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> LongestPathInBOMField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 18(Key Field) Constraints: Not nullableConstraints: Not nullable, Precision: 7, Scale: 2Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 5protected Stringprotected StringgetKey()Constraints: Not nullable, Maximum length: 8(Key Field) Constraints: Not nullable, Maximum length: 18(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 4getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<ProposalHeader>Retrieval of associated ProposalHeader entity (one to one).Retrieval of associated ProposalHeader entity (one to one).(Key Field) Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullable, Maximum length: 8Constraints: Not nullable, Maximum length: 60getType()inthashCode()voidsetBillOfMaterialComponent(String billOfMaterialComponent) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetBillOfMaterialUUID(UUID billOfMaterialUUID) (Key Field) Constraints: Not nullablevoidsetComponentLeadTime(BigDecimal componentLeadTime) Constraints: Not nullable, Precision: 7, Scale: 2voidsetComponentMRPArea(String componentMRPArea) Constraints: Not nullable, Maximum length: 10voidsetComponentPlant(String componentPlant) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetComponentSOS(String componentSOS) Constraints: Not nullable, Maximum length: 20voidsetComponentSOSType(String componentSOSType) Constraints: Not nullable, Maximum length: 5voidsetLeadTimeCalculationMethod(String leadTimeCalculationMethod) Constraints: Not nullable, Maximum length: 8voidsetMaterial(String material) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetMRPArea(String mRPArea) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetParentComponent(String parentComponent) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetParentMRPArea(String parentMRPArea) Constraints: Not nullable, Maximum length: 10voidsetParentPlant(String parentPlant) (Key Field) Constraints: Not nullable, Maximum length: 4void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetProposalHdr(ProposalHeader value) Overwrites the associated ProposalHeader entity for the loaded navigation property to_ProposalHdr.voidsetProposalStartDate(LocalDateTime proposalStartDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetProposalVersion(String proposalVersion) (Key Field) Constraints: Not nullable, Maximum length: 8protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSOSTypeDescription(String sOSTypeDescription) Constraints: Not nullable, Maximum length: 60toString()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
-
Field Details
-
ALL_FIELDS
Selector for all available fields of LongestPathInBOM. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
MRP_AREA
Use with available fluent helpers to apply the MRPArea field to query operations. -
PROPOSAL_START_DATE
Use with available fluent helpers to apply the ProposalStartDate field to query operations. -
PROPOSAL_VERSION
Use with available fluent helpers to apply the ProposalVersion field to query operations. -
BILL_OF_MATERIAL_UUID
Use with available fluent helpers to apply the BillOfMaterialUUID field to query operations. -
PARENT_COMPONENT
Use with available fluent helpers to apply the ParentComponent field to query operations. -
PARENT_PLANT
Use with available fluent helpers to apply the ParentPlant field to query operations. -
BILL_OF_MATERIAL_COMPONENT
Use with available fluent helpers to apply the BillOfMaterialComponent field to query operations. -
COMPONENT_PLANT
Use with available fluent helpers to apply the ComponentPlant field to query operations. -
PARENT_MRP_AREA
Use with available fluent helpers to apply the ParentMRPArea field to query operations. -
COMPONENT_MRP_AREA
Use with available fluent helpers to apply the ComponentMRPArea field to query operations. -
COMPONENT_LEAD_TIME
Use with available fluent helpers to apply the ComponentLeadTime field to query operations. -
LEAD_TIME_CALCULATION_METHOD
Use with available fluent helpers to apply the LeadTimeCalculationMethod field to query operations. -
COMPONENT_SOS
Use with available fluent helpers to apply the ComponentSOS field to query operations. -
COMPONENT_SOS_TYPE
Use with available fluent helpers to apply the ComponentSOSType field to query operations. -
SOS_TYPE_DESCRIPTION
Use with available fluent helpers to apply the SOSTypeDescription field to query operations. -
TO_PROPOSAL_HDR
Use with available fluent helpers to apply the to_ProposalHdr navigation property to query operations.
-
-
Constructor Details
-
LongestPathInBOM
public LongestPathInBOM() -
LongestPathInBOM
public LongestPathInBOM(@Nullable String material, @Nullable String plant, @Nullable String mRPArea, @Nullable LocalDateTime proposalStartDate, @Nullable String proposalVersion, @Nullable UUID billOfMaterialUUID, @Nullable String parentComponent, @Nullable String parentPlant, @Nullable String billOfMaterialComponent, @Nullable String componentPlant, @Nullable String parentMRPArea, @Nullable String componentMRPArea, @Nullable BigDecimal componentLeadTime, @Nullable String leadTimeCalculationMethod, @Nullable String componentSOS, @Nullable String componentSOSType, @Nullable String sOSTypeDescription, @Nullable ProposalHeader toProposalHdr)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LongestPathInBOM>
-
setMaterial
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setMRPArea
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MRPArea
- Parameters:
mRPArea- MRP Area
-
setProposalStartDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProposalStartDate
- Parameters:
proposalStartDate- Proposal Validity From Date
-
setProposalVersion
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProposalVersion
- Parameters:
proposalVersion- Proposal Version
-
setBillOfMaterialUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: BillOfMaterialUUID
- Parameters:
billOfMaterialUUID- Internal Key for BOMID
-
setParentComponent
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ParentComponent
- Parameters:
parentComponent- Parent BOM Component
-
setParentPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ParentPlant
- Parameters:
parentPlant- Parent Plant
-
setBillOfMaterialComponent
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: BillOfMaterialComponent
- Parameters:
billOfMaterialComponent- BOM component
-
setComponentPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ComponentPlant
- Parameters:
componentPlant- Component Plant
-
setParentMRPArea
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ParentMRPArea
- Parameters:
parentMRPArea- Parent MRP Area
-
setComponentMRPArea
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ComponentMRPArea
- Parameters:
componentMRPArea- Component MRP Area
-
setComponentLeadTime
Constraints: Not nullable, Precision: 7, Scale: 2Original property name from the Odata EDM: ComponentLeadTime
- Parameters:
componentLeadTime- Individual Lead Time in Days
-
setLeadTimeCalculationMethod
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: LeadTimeCalculationMethod
- Parameters:
leadTimeCalculationMethod- Individual Lead Time calculation Method
-
setComponentSOS
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ComponentSOS
- Parameters:
componentSOS- Source of Supply
-
setComponentSOSType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ComponentSOSType
- Parameters:
componentSOSType- Source Type
-
setSOSTypeDescription
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SOSTypeDescription
- Parameters:
sOSTypeDescription- Short Text for Fixed Values
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LongestPathInBOM>
-
getKey
- Overrides:
getKeyin classVdmObject<LongestPathInBOM>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LongestPathInBOM>
-
fromMap
- Overrides:
fromMapin classVdmObject<LongestPathInBOM>
-
field
@Nonnull public static <T> LongestPathInBOMField<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> LongestPathInBOMField<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<LongestPathInBOM>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<LongestPathInBOM>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<LongestPathInBOM>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LongestPathInBOM>
-
fetchProposalHdr
Fetches the ProposalHeader entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ProposalHdr.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ProposalHeader entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getProposalHdrOrFetch
Retrieval of associated ProposalHeader entity (one to one). This corresponds to the OData navigation property to_ProposalHdr.If the navigation property to_ProposalHdr of a queried LongestPathInBOM is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated ProposalHeader entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getProposalHdrIfPresent
Retrieval of associated ProposalHeader entity (one to one). This corresponds to the OData navigation property to_ProposalHdr.If the navigation property for an entity LongestPathInBOM 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 to_ProposalHdr is already loaded, the result will
contain the ProposalHeader entity. If not, an
Optionwith result stateemptyis returned.
-
setProposalHdr
Overwrites the associated ProposalHeader entity for the loaded navigation property to_ProposalHdr.- Parameters:
value- New ProposalHeader entity.
-
builder
-
getMaterial
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getMRPArea
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MRPArea
- Returns:
- MRP Area
-
getProposalStartDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProposalStartDate
- Returns:
- Proposal Validity From Date
-
getProposalVersion
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProposalVersion
- Returns:
- Proposal Version
-
getBillOfMaterialUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: BillOfMaterialUUID
- Returns:
- Internal Key for BOMID
-
getParentComponent
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ParentComponent
- Returns:
- Parent BOM Component
-
getParentPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ParentPlant
- Returns:
- Parent Plant
-
getBillOfMaterialComponent
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: BillOfMaterialComponent
- Returns:
- BOM component
-
getComponentPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ComponentPlant
- Returns:
- Component Plant
-
getParentMRPArea
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ParentMRPArea
- Returns:
- Parent MRP Area
-
getComponentMRPArea
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ComponentMRPArea
- Returns:
- Component MRP Area
-
getComponentLeadTime
Constraints: Not nullable, Precision: 7, Scale: 2Original property name from the Odata EDM: ComponentLeadTime
- Returns:
- Individual Lead Time in Days
-
getLeadTimeCalculationMethod
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: LeadTimeCalculationMethod
- Returns:
- Individual Lead Time calculation Method
-
getComponentSOS
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ComponentSOS
- Returns:
- Source of Supply
-
getComponentSOSType
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ComponentSOSType
- Returns:
- Source Type
-
getSOSTypeDescription
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SOSTypeDescription
- Returns:
- Short Text for Fixed Values
-
toString
- Overrides:
toStringin classVdmObject<LongestPathInBOM>
-
equals
- Overrides:
equalsin classVdmEntity<LongestPathInBOM>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LongestPathInBOM>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LongestPathInBOM>
-