public class SchedgAgrmtSubcontrgComp extends VdmEntity<SchedgAgrmtSubcontrgComp>
Original entity name from the Odata EDM: A_SchedgAgrmtSubcontrgCompType
Modifier and Type | Class and Description |
---|---|
static class |
SchedgAgrmtSubcontrgComp.SchedgAgrmtSubcontrgCompBuilder |
Modifier and Type | Field and Description |
---|---|
static SchedgAgrmtSubcontrgCompSelectable |
ALL_FIELDS
Selector for all available fields of SchedgAgrmtSubcontrgComp.
|
static SchedgAgrmtSubcontrgCompField<String> |
ENTRY_UNIT
Use with available fluent helpers to apply the EntryUnit field to query operations.
|
static SchedgAgrmtSubcontrgCompField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static SchedgAgrmtSubcontrgCompField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static SchedgAgrmtSubcontrgCompField<BigDecimal> |
QUANTITY_IN_ENTRY_UNIT
Use with available fluent helpers to apply the QuantityInEntryUnit field to query operations.
|
static SchedgAgrmtSubcontrgCompField<String> |
RECORD_TYPE
Use with available fluent helpers to apply the RecordType field to query operations.
|
static SchedgAgrmtSubcontrgCompField<LocalDateTime> |
REQUIREMENT_DATE
Use with available fluent helpers to apply the RequirementDate field to query operations.
|
static SchedgAgrmtSubcontrgCompField<LocalTime> |
REQUIREMENT_TIME
Use with available fluent helpers to apply the RequirementTime field to query operations.
|
static SchedgAgrmtSubcontrgCompField<String> |
RESERVATION
Use with available fluent helpers to apply the Reservation field to query operations.
|
static SchedgAgrmtSubcontrgCompField<String> |
RESERVATION_ITEM
Use with available fluent helpers to apply the ReservationItem field to query operations.
|
static SchedgAgrmtSubcontrgCompField<String> |
SCHEDULE_LINE
Use with available fluent helpers to apply the ScheduleLine field to query operations.
|
static SchedgAgrmtSubcontrgCompField<String> |
SCHEDULING_AGREEMENT
Use with available fluent helpers to apply the SchedulingAgreement field to query operations.
|
static SchedgAgrmtSubcontrgCompField<String> |
SCHEDULING_AGREEMENT_ITEM
Use with available fluent helpers to apply the SchedulingAgreementItem field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SchedgAgrmtSubcontrgComp() |
SchedgAgrmtSubcontrgComp(String schedulingAgreement,
String schedulingAgreementItem,
String scheduleLine,
String reservationItem,
String recordType,
String reservation,
String material,
LocalDateTime requirementDate,
LocalTime requirementTime,
String plant,
BigDecimal quantityInEntryUnit,
String entryUnit) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static SchedgAgrmtSubcontrgComp.SchedgAgrmtSubcontrgCompBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SchedgAgrmtSubcontrgCompField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getEntryUnit()
Constraints: Not nullable, Maximum length: 3
|
protected Map<String,Object> |
getKey() |
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
BigDecimal |
getQuantityInEntryUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getRecordType()
(Key Field) Constraints: Not nullable, Maximum length: 1
|
LocalDateTime |
getRequirementDate()
Constraints: Not nullable, Precision: 0
|
LocalTime |
getRequirementTime()
Constraints: Not nullable, Precision: 0
|
String |
getReservation()
Constraints: Not nullable, Maximum length: 10
|
String |
getReservationItem()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getScheduleLine()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSchedulingAgreement()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSchedulingAgreementItem()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
Class<SchedgAgrmtSubcontrgComp> |
getType() |
int |
hashCode() |
void |
setEntryUnit(String entryUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setQuantityInEntryUnit(BigDecimal quantityInEntryUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setRecordType(String recordType)
(Key Field) Constraints: Not nullable, Maximum length: 1
|
void |
setRequirementDate(LocalDateTime requirementDate)
Constraints: Not nullable, Precision: 0
|
void |
setRequirementTime(LocalTime requirementTime)
Constraints: Not nullable, Precision: 0
|
void |
setReservation(String reservation)
Constraints: Not nullable, Maximum length: 10
|
void |
setReservationItem(String reservationItem)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setScheduleLine(String scheduleLine)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSchedulingAgreement(String schedulingAgreement)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSchedulingAgreementItem(String schedulingAgreementItem)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final SchedgAgrmtSubcontrgCompSelectable ALL_FIELDS
public static final SchedgAgrmtSubcontrgCompField<String> SCHEDULING_AGREEMENT
public static final SchedgAgrmtSubcontrgCompField<String> SCHEDULING_AGREEMENT_ITEM
public static final SchedgAgrmtSubcontrgCompField<String> SCHEDULE_LINE
public static final SchedgAgrmtSubcontrgCompField<String> RESERVATION_ITEM
public static final SchedgAgrmtSubcontrgCompField<String> RECORD_TYPE
public static final SchedgAgrmtSubcontrgCompField<String> RESERVATION
public static final SchedgAgrmtSubcontrgCompField<String> MATERIAL
public static final SchedgAgrmtSubcontrgCompField<LocalDateTime> REQUIREMENT_DATE
public static final SchedgAgrmtSubcontrgCompField<LocalTime> REQUIREMENT_TIME
public static final SchedgAgrmtSubcontrgCompField<String> PLANT
public static final SchedgAgrmtSubcontrgCompField<BigDecimal> QUANTITY_IN_ENTRY_UNIT
public static final SchedgAgrmtSubcontrgCompField<String> ENTRY_UNIT
public SchedgAgrmtSubcontrgComp()
public SchedgAgrmtSubcontrgComp(@Nullable String schedulingAgreement, @Nullable String schedulingAgreementItem, @Nullable String scheduleLine, @Nullable String reservationItem, @Nullable String recordType, @Nullable String reservation, @Nullable String material, @Nullable LocalDateTime requirementDate, @Nullable LocalTime requirementTime, @Nullable String plant, @Nullable BigDecimal quantityInEntryUnit, @Nullable String entryUnit)
@Nonnull public Class<SchedgAgrmtSubcontrgComp> getType()
getType
in class VdmObject<SchedgAgrmtSubcontrgComp>
public void setSchedulingAgreement(@Nullable String schedulingAgreement)
Original property name from the Odata EDM: SchedulingAgreement
schedulingAgreement
- Purchasing Documentpublic void setSchedulingAgreementItem(@Nullable String schedulingAgreementItem)
Original property name from the Odata EDM: SchedulingAgreementItem
schedulingAgreementItem
- Purchasing Document Itempublic void setScheduleLine(@Nullable String scheduleLine)
Original property name from the Odata EDM: ScheduleLine
scheduleLine
- Delivery Schedule Line Counterpublic void setReservationItem(@Nullable String reservationItem)
Original property name from the Odata EDM: ReservationItem
reservationItem
- Reservation Itempublic void setRecordType(@Nullable String recordType)
Original property name from the Odata EDM: RecordType
recordType
- Record typepublic void setReservation(@Nullable String reservation)
Original property name from the Odata EDM: Reservation
reservation
- Number of reservation/dependent requirementspublic void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Material Numberpublic void setRequirementDate(@Nullable LocalDateTime requirementDate)
Original property name from the Odata EDM: RequirementDate
requirementDate
- Material Component Requirement Datepublic void setRequirementTime(@Nullable LocalTime requirementTime)
Original property name from the Odata EDM: RequirementTime
requirementTime
- Material Component Requirement Timepublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plantpublic void setQuantityInEntryUnit(@Nullable BigDecimal quantityInEntryUnit)
Original property name from the Odata EDM: QuantityInEntryUnit
quantityInEntryUnit
- Quantity in Unit of Entrypublic void setEntryUnit(@Nullable String entryUnit)
Original property name from the Odata EDM: EntryUnit
entryUnit
- Unit of entryprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SchedgAgrmtSubcontrgComp>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SchedgAgrmtSubcontrgComp>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SchedgAgrmtSubcontrgComp>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SchedgAgrmtSubcontrgComp>
@Nonnull public static <T> SchedgAgrmtSubcontrgCompField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> SchedgAgrmtSubcontrgCompField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<SchedgAgrmtSubcontrgComp>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<SchedgAgrmtSubcontrgComp>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<SchedgAgrmtSubcontrgComp>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<SchedgAgrmtSubcontrgComp>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static SchedgAgrmtSubcontrgComp.SchedgAgrmtSubcontrgCompBuilder builder()
@Nullable public String getSchedulingAgreement()
Original property name from the Odata EDM: SchedulingAgreement
@Nullable public String getSchedulingAgreementItem()
Original property name from the Odata EDM: SchedulingAgreementItem
@Nullable public String getScheduleLine()
Original property name from the Odata EDM: ScheduleLine
@Nullable public String getReservationItem()
Original property name from the Odata EDM: ReservationItem
@Nullable public String getRecordType()
Original property name from the Odata EDM: RecordType
@Nullable public String getReservation()
Original property name from the Odata EDM: Reservation
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public LocalDateTime getRequirementDate()
Original property name from the Odata EDM: RequirementDate
@Nullable public LocalTime getRequirementTime()
Original property name from the Odata EDM: RequirementTime
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public BigDecimal getQuantityInEntryUnit()
Original property name from the Odata EDM: QuantityInEntryUnit
@Nullable public String getEntryUnit()
Original property name from the Odata EDM: EntryUnit
@Nonnull public String toString()
toString
in class VdmObject<SchedgAgrmtSubcontrgComp>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SchedgAgrmtSubcontrgComp>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SchedgAgrmtSubcontrgComp>
public int hashCode()
hashCode
in class VdmObject<SchedgAgrmtSubcontrgComp>
Copyright © 2021 SAP SE. All rights reserved.