public class InHouseRepair extends VdmEntity<InHouseRepair>
Original entity name from the Odata EDM: InHouseRepair_Type
Modifier and Type | Class and Description |
---|---|
static class |
InHouseRepair.InHouseRepairBuilder
Helper class to allow for fluent creation of InHouseRepair instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
InHouseRepair() |
InHouseRepair(String inHouseRepair,
String inhRepairType,
String soldToParty,
String contactPerson,
String shipToParty,
String salesOrganization,
String distributionChannel,
String division,
String salesOffice,
String salesGroup,
String salesOrganizationOrgUnitID,
String salesOfficeOrgUnitID,
String salesGroupOrgUnitID,
String responsibleSalesOrganization,
String responsibleEmployee,
String inhRepairStatus,
String inhRepairExtReference,
Collection<SAP__Message> _Messages,
List<InHouseRepairItem> to_InHouseRepairItem) |
Modifier and Type | Method and Description |
---|---|
void |
addInHouseRepairItem(InHouseRepairItem... entity)
Adds elements to the list of associated InHouseRepairItem entities.
|
static InHouseRepair.InHouseRepairBuilder |
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
|
String |
getContactPerson()
Constraints: Not nullable, Maximum length: 10
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
String |
getDistributionChannel()
Constraints: Not nullable, Maximum length: 2
|
String |
getDivision()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
String |
getInHouseRepair()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<List<InHouseRepairItem>> |
getInHouseRepairItemIfPresent()
Retrieval of associated InHouseRepairItem entities (one to many).
|
String |
getInhRepairExtReference()
Constraints: Not nullable, Maximum length: 80
|
String |
getInhRepairStatus()
Constraints: Not nullable, Maximum length: 4
|
String |
getInhRepairType()
Constraints: Not nullable, Maximum length: 4
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
String |
getResponsibleEmployee()
Constraints: Not nullable, Maximum length: 10
|
String |
getResponsibleSalesOrganization()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getSalesGroupOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesOffice()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOfficeOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
String |
getSalesOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganizationOrgUnitID()
Constraints: Not nullable, Maximum length: 14
|
String |
getShipToParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getSoldToParty()
Constraints: Not nullable, Maximum length: 10
|
Class<InHouseRepair> |
getType() |
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setContactPerson(String contactPerson)
Constraints: Not nullable, Maximum length: 10
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setDivision(String division)
Constraints: Not nullable, Maximum length: 2
|
void |
setInHouseRepair(String inHouseRepair)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setInHouseRepairItem(List<InHouseRepairItem> value)
Overwrites the list of associated InHouseRepairItem entities for the loaded navigation property
_InHouseRepairItem.
|
void |
setInhRepairExtReference(String inhRepairExtReference)
Constraints: Not nullable, Maximum length: 80
|
void |
setInhRepairStatus(String inhRepairStatus)
Constraints: Not nullable, Maximum length: 4
|
void |
setInhRepairType(String inhRepairType)
Constraints: Not nullable, Maximum length: 4
|
void |
setResponsibleEmployee(String responsibleEmployee)
Constraints: Not nullable, Maximum length: 10
|
void |
setResponsibleSalesOrganization(String responsibleSalesOrganization)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesGroup(String salesGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setSalesGroupOrgUnitID(String salesGroupOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesOffice(String salesOffice)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOfficeOrgUnitID(String salesOfficeOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setSalesOrganization(String salesOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganizationOrgUnitID(String salesOrganizationOrgUnitID)
Constraints: Not nullable, Maximum length: 14
|
void |
setShipToParty(String shipToParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setSoldToParty(String soldToParty)
Constraints: Not nullable, Maximum length: 10
|
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<InHouseRepair> ALL_FIELDS
public static final SimpleProperty.String<InHouseRepair> IN_HOUSE_REPAIR
public static final SimpleProperty.String<InHouseRepair> INH_REPAIR_TYPE
public static final SimpleProperty.String<InHouseRepair> SOLD_TO_PARTY
public static final SimpleProperty.String<InHouseRepair> CONTACT_PERSON
public static final SimpleProperty.String<InHouseRepair> SHIP_TO_PARTY
public static final SimpleProperty.String<InHouseRepair> SALES_ORGANIZATION
public static final SimpleProperty.String<InHouseRepair> DISTRIBUTION_CHANNEL
public static final SimpleProperty.String<InHouseRepair> DIVISION
public static final SimpleProperty.String<InHouseRepair> SALES_OFFICE
public static final SimpleProperty.String<InHouseRepair> SALES_GROUP
public static final SimpleProperty.String<InHouseRepair> SALES_ORGANIZATION_ORG_UNIT_ID
public static final SimpleProperty.String<InHouseRepair> SALES_OFFICE_ORG_UNIT_ID
public static final SimpleProperty.String<InHouseRepair> SALES_GROUP_ORG_UNIT_ID
public static final SimpleProperty.String<InHouseRepair> RESPONSIBLE_SALES_ORGANIZATION
public static final SimpleProperty.String<InHouseRepair> RESPONSIBLE_EMPLOYEE
public static final SimpleProperty.String<InHouseRepair> INH_REPAIR_STATUS
public static final SimpleProperty.String<InHouseRepair> INH_REPAIR_EXT_REFERENCE
public static final ComplexProperty.Collection<InHouseRepair,SAP__Message> _MESSAGES
public static final NavigationProperty.Collection<InHouseRepair,InHouseRepairItem> TO__IN_HOUSE_REPAIR_ITEM
public InHouseRepair()
public InHouseRepair(@Nullable String inHouseRepair, @Nullable String inhRepairType, @Nullable String soldToParty, @Nullable String contactPerson, @Nullable String shipToParty, @Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String division, @Nullable String salesOffice, @Nullable String salesGroup, @Nullable String salesOrganizationOrgUnitID, @Nullable String salesOfficeOrgUnitID, @Nullable String salesGroupOrgUnitID, @Nullable String responsibleSalesOrganization, @Nullable String responsibleEmployee, @Nullable String inhRepairStatus, @Nullable String inhRepairExtReference, @Nullable Collection<SAP__Message> _Messages, List<InHouseRepairItem> to_InHouseRepairItem)
@Nonnull public Class<InHouseRepair> getType()
getType
in class VdmObject<InHouseRepair>
public void setInHouseRepair(@Nullable String inHouseRepair)
Original property name from the Odata EDM: InHouseRepair
inHouseRepair
- In-House Repair IDpublic void setInhRepairType(@Nullable String inhRepairType)
Original property name from the Odata EDM: InhRepairType
inhRepairType
- Business Transaction Typepublic void setSoldToParty(@Nullable String soldToParty)
Original property name from the Odata EDM: SoldToParty
soldToParty
- Sold-To Partypublic void setContactPerson(@Nullable String contactPerson)
Original property name from the Odata EDM: ContactPerson
contactPerson
- Contact Personpublic void setShipToParty(@Nullable String shipToParty)
Original property name from the Odata EDM: ShipToParty
shipToParty
- Ship-To Partypublic void setSalesOrganization(@Nullable String salesOrganization)
Original property name from the Odata EDM: SalesOrganization
salesOrganization
- Sales Organizationpublic void setDistributionChannel(@Nullable String distributionChannel)
Original property name from the Odata EDM: DistributionChannel
distributionChannel
- Distribution Channelpublic void setDivision(@Nullable String division)
Original property name from the Odata EDM: Division
division
- Divisionpublic void setSalesOffice(@Nullable String salesOffice)
Original property name from the Odata EDM: SalesOffice
salesOffice
- Sales Officepublic void setSalesGroup(@Nullable String salesGroup)
Original property name from the Odata EDM: SalesGroup
salesGroup
- Sales Grouppublic void setSalesOrganizationOrgUnitID(@Nullable String salesOrganizationOrgUnitID)
Original property name from the Odata EDM: SalesOrganizationOrgUnitID
salesOrganizationOrgUnitID
- Sales Organization IDpublic void setSalesOfficeOrgUnitID(@Nullable String salesOfficeOrgUnitID)
Original property name from the Odata EDM: SalesOfficeOrgUnitID
salesOfficeOrgUnitID
- Sales Officepublic void setSalesGroupOrgUnitID(@Nullable String salesGroupOrgUnitID)
Original property name from the Odata EDM: SalesGroupOrgUnitID
salesGroupOrgUnitID
- Sales Grouppublic void setResponsibleSalesOrganization(@Nullable String responsibleSalesOrganization)
Original property name from the Odata EDM: ResponsibleSalesOrganization
responsibleSalesOrganization
- Organizational Unit (Sales)public void setResponsibleEmployee(@Nullable String responsibleEmployee)
Original property name from the Odata EDM: ResponsibleEmployee
responsibleEmployee
- Employee Responsiblepublic void setInhRepairStatus(@Nullable String inhRepairStatus)
Original property name from the Odata EDM: InhRepairStatus
inhRepairStatus
- In-House Repair Statuspublic void setInhRepairExtReference(@Nullable String inhRepairExtReference)
Original property name from the Odata EDM: InhRepairExtReference
inhRepairExtReference
- External Transaction Numberpublic 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<InHouseRepair>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<InHouseRepair>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<InHouseRepair>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<InHouseRepair>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<InHouseRepair>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<InHouseRepair>
@Nonnull public io.vavr.control.Option<List<InHouseRepairItem>> getInHouseRepairItemIfPresent()
If the navigation property for an entity InHouseRepair 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 setInHouseRepairItem(@Nonnull List<InHouseRepairItem> value)
If the navigation property _InHouseRepairItem of a queried InHouseRepair 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.
value
- List of InHouseRepairItem entities.public void addInHouseRepairItem(InHouseRepairItem... entity)
If the navigation property _InHouseRepairItem of a queried InHouseRepair 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.
entity
- Array of InHouseRepairItem entities.@Nonnull public static InHouseRepair.InHouseRepairBuilder builder()
@Nullable public String getInHouseRepair()
Original property name from the Odata EDM: InHouseRepair
@Nullable public String getInhRepairType()
Original property name from the Odata EDM: InhRepairType
@Nullable public String getSoldToParty()
Original property name from the Odata EDM: SoldToParty
@Nullable public String getContactPerson()
Original property name from the Odata EDM: ContactPerson
@Nullable public String getShipToParty()
Original property name from the Odata EDM: ShipToParty
@Nullable public String getSalesOrganization()
Original property name from the Odata EDM: SalesOrganization
@Nullable public String getDistributionChannel()
Original property name from the Odata EDM: DistributionChannel
@Nullable public String getDivision()
Original property name from the Odata EDM: Division
@Nullable public String getSalesOffice()
Original property name from the Odata EDM: SalesOffice
@Nullable public String getSalesGroup()
Original property name from the Odata EDM: SalesGroup
@Nullable public String getSalesOrganizationOrgUnitID()
Original property name from the Odata EDM: SalesOrganizationOrgUnitID
@Nullable public String getSalesOfficeOrgUnitID()
Original property name from the Odata EDM: SalesOfficeOrgUnitID
@Nullable public String getSalesGroupOrgUnitID()
Original property name from the Odata EDM: SalesGroupOrgUnitID
@Nullable public String getResponsibleSalesOrganization()
Original property name from the Odata EDM: ResponsibleSalesOrganization
@Nullable public String getResponsibleEmployee()
Original property name from the Odata EDM: ResponsibleEmployee
@Nullable public String getInhRepairStatus()
Original property name from the Odata EDM: InhRepairStatus
@Nullable public String getInhRepairExtReference()
Original property name from the Odata EDM: InhRepairExtReference
@Nullable public Collection<SAP__Message> get_Messages()
Original property name from the Odata EDM: SAP__Messages
@Nonnull public String toString()
toString
in class VdmObject<InHouseRepair>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<InHouseRepair>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<InHouseRepair>
public int hashCode()
hashCode
in class VdmEntity<InHouseRepair>
public String getOdataType()
getOdataType
in class VdmObject<InHouseRepair>
Copyright © 2021 SAP SE. All rights reserved.