Class InHouseRepair
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: InHouseRepair_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of InHouseRepair instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<InHouseRepair,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<InHouseRepair>Selector for all available fields of InHouseRepair.static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final SimpleProperty.String<InHouseRepair>static final NavigationProperty.Collection<InHouseRepair,InHouseRepairItem> Use with available request builders to apply the _InHouseRepairItem 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
ConstructorsConstructorDescriptionInHouseRepair(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) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInHouseRepairItem(InHouseRepairItem... entity) Adds elements to the list of associated InHouseRepairItem entities.builder()protected booleanAction that can be applied to any entity object of this class.booleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 10protected StringConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2protected String(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<InHouseRepairItem>>Retrieval of associated InHouseRepairItem entities (one to many).Constraints: Not nullable, Maximum length: 80Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 14Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 14Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 14Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 14Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetContactPerson(String contactPerson) Constraints: Not nullable, Maximum length: 10voidsetDistributionChannel(String distributionChannel) Constraints: Not nullable, Maximum length: 2voidsetDivision(String division) Constraints: Not nullable, Maximum length: 2voidsetInHouseRepair(String inHouseRepair) (Key Field) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated InHouseRepairItem entities for the loaded navigation property _InHouseRepairItem.voidsetInhRepairExtReference(String inhRepairExtReference) Constraints: Not nullable, Maximum length: 80voidsetInhRepairStatus(String inhRepairStatus) Constraints: Not nullable, Maximum length: 4voidsetInhRepairType(String inhRepairType) Constraints: Not nullable, Maximum length: 4voidsetResponsibleEmployee(String responsibleEmployee) Constraints: Not nullable, Maximum length: 10voidsetResponsibleSalesOrganization(String responsibleSalesOrganization) Constraints: Not nullable, Maximum length: 14voidsetSalesGroup(String salesGroup) Constraints: Not nullable, Maximum length: 3voidsetSalesGroupOrgUnitID(String salesGroupOrgUnitID) Constraints: Not nullable, Maximum length: 14voidsetSalesOffice(String salesOffice) Constraints: Not nullable, Maximum length: 4voidsetSalesOfficeOrgUnitID(String salesOfficeOrgUnitID) Constraints: Not nullable, Maximum length: 14voidsetSalesOrganization(String salesOrganization) Constraints: Not nullable, Maximum length: 4voidsetSalesOrganizationOrgUnitID(String salesOrganizationOrgUnitID) Constraints: Not nullable, Maximum length: 14voidsetShipToParty(String shipToParty) Constraints: Not nullable, Maximum length: 10voidsetSoldToParty(String soldToParty) Constraints: Not nullable, Maximum length: 10toString()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 InHouseRepair. -
IN_HOUSE_REPAIR
-
INH_REPAIR_TYPE
-
SOLD_TO_PARTY
-
CONTACT_PERSON
-
SHIP_TO_PARTY
-
SALES_ORGANIZATION
-
DISTRIBUTION_CHANNEL
-
DIVISION
-
SALES_OFFICE
-
SALES_GROUP
-
SALES_ORGANIZATION_ORG_UNIT_ID
-
SALES_OFFICE_ORG_UNIT_ID
-
SALES_GROUP_ORG_UNIT_ID
-
RESPONSIBLE_SALES_ORGANIZATION
-
RESPONSIBLE_EMPLOYEE
-
INH_REPAIR_STATUS
-
INH_REPAIR_EXT_REFERENCE
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__IN_HOUSE_REPAIR_ITEM
public static final NavigationProperty.Collection<InHouseRepair,InHouseRepairItem> TO__IN_HOUSE_REPAIR_ITEMUse with available request builders to apply the _InHouseRepairItem navigation property to query operations.
-
-
Constructor Details
-
InHouseRepair
public InHouseRepair() -
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)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<InHouseRepair>
-
setInHouseRepair
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InHouseRepair
- Parameters:
inHouseRepair- In-House Repair ID
-
setInhRepairType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: InhRepairType
- Parameters:
inhRepairType- Business Transaction Type
-
setSoldToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SoldToParty
- Parameters:
soldToParty- Sold-To Party
-
setContactPerson
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ContactPerson
- Parameters:
contactPerson- Contact Person
-
setShipToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ShipToParty
- Parameters:
shipToParty- Ship-To Party
-
setSalesOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Parameters:
salesOrganization- Sales Organization
-
setDistributionChannel
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Parameters:
distributionChannel- Distribution Channel
-
setDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Division
- Parameters:
division- Division
-
setSalesOffice
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOffice
- Parameters:
salesOffice- Sales Office
-
setSalesGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesGroup
- Parameters:
salesGroup- Sales Group
-
setSalesOrganizationOrgUnitID
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: SalesOrganizationOrgUnitID
- Parameters:
salesOrganizationOrgUnitID- Sales Organization
-
setSalesOfficeOrgUnitID
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: SalesOfficeOrgUnitID
- Parameters:
salesOfficeOrgUnitID- Sales Office
-
setSalesGroupOrgUnitID
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: SalesGroupOrgUnitID
- Parameters:
salesGroupOrgUnitID- Sales Group
-
setResponsibleSalesOrganization
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: ResponsibleSalesOrganization
- Parameters:
responsibleSalesOrganization- Sales Organization
-
setResponsibleEmployee
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ResponsibleEmployee
- Parameters:
responsibleEmployee- Employee Responsible
-
setInhRepairStatus
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: InhRepairStatus
- Parameters:
inhRepairStatus- In-House Repair Status
-
setInhRepairExtReference
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: InhRepairExtReference
- Parameters:
inhRepairExtReference- External Transaction Number
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<InHouseRepair>
-
getKey
- Overrides:
getKeyin classVdmObject<InHouseRepair>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<InHouseRepair>
-
fromMap
- Overrides:
fromMapin classVdmObject<InHouseRepair>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<InHouseRepair>
-
getInHouseRepairItemIfPresent
Retrieval of associated InHouseRepairItem entities (one to many). This corresponds to the OData navigation property _InHouseRepairItem.If the navigation property for an entity InHouseRepair 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 _InHouseRepairItem is already loaded, the result will
contain the InHouseRepairItem entities. If not, an
Optionwith result stateemptyis returned.
-
setInHouseRepairItem
Overwrites the list of associated InHouseRepairItem entities for the loaded navigation property _InHouseRepairItem.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.
- Parameters:
value- List of InHouseRepairItem entities.
-
addInHouseRepairItem
Adds elements to the list of associated InHouseRepairItem entities. This corresponds to the OData navigation property _InHouseRepairItem.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.
- Parameters:
entity- Array of InHouseRepairItem entities.
-
confirmRepairObjects
@Nonnull public static BoundAction.SingleToSingle<InHouseRepair,InHouseRepair> confirmRepairObjects()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getInHouseRepair
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InHouseRepair
- Returns:
- In-House Repair ID
-
getInhRepairType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: InhRepairType
- Returns:
- Business Transaction Type
-
getSoldToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SoldToParty
- Returns:
- Sold-To Party
-
getContactPerson
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ContactPerson
- Returns:
- Contact Person
-
getShipToParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ShipToParty
- Returns:
- Ship-To Party
-
getSalesOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOrganization
- Returns:
- Sales Organization
-
getDistributionChannel
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: DistributionChannel
- Returns:
- Distribution Channel
-
getDivision
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Division
- Returns:
- Division
-
getSalesOffice
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: SalesOffice
- Returns:
- Sales Office
-
getSalesGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: SalesGroup
- Returns:
- Sales Group
-
getSalesOrganizationOrgUnitID
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: SalesOrganizationOrgUnitID
- Returns:
- Sales Organization
-
getSalesOfficeOrgUnitID
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: SalesOfficeOrgUnitID
- Returns:
- Sales Office
-
getSalesGroupOrgUnitID
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: SalesGroupOrgUnitID
- Returns:
- Sales Group
-
getResponsibleSalesOrganization
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: ResponsibleSalesOrganization
- Returns:
- Sales Organization
-
getResponsibleEmployee
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ResponsibleEmployee
- Returns:
- Employee Responsible
-
getInhRepairStatus
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: InhRepairStatus
- Returns:
- In-House Repair Status
-
getInhRepairExtReference
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: InhRepairExtReference
- Returns:
- External Transaction Number
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<InHouseRepair>
-
equals
- Overrides:
equalsin classVdmEntity<InHouseRepair>
-
canEqual
- Overrides:
canEqualin classVdmEntity<InHouseRepair>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<InHouseRepair>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<InHouseRepair>
-