Class HandlingUnitReferenceDoc
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<HandlingUnitReferenceDoc>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.handlingunit.HandlingUnitReferenceDoc
- All Implemented Interfaces:
VdmEntitySet
public class HandlingUnitReferenceDoc
extends VdmEntity<HandlingUnitReferenceDoc>
implements VdmEntitySet
Handling Unit Reference Document
Original entity name from the Odata EDM: HandlingUnitReferenceDoc_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of HandlingUnitReferenceDoc instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<HandlingUnitReferenceDoc>Selector for all available fields of HandlingUnitReferenceDoc.static final SimpleProperty.String<HandlingUnitReferenceDoc>static final SimpleProperty.String<HandlingUnitReferenceDoc>static final NavigationProperty.Single<HandlingUnitReferenceDoc,HandlingUnit> Use with available request builders to apply the _HandlingUnit navigation property to query operations.static final SimpleProperty.String<HandlingUnitReferenceDoc>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionHandlingUnitReferenceDoc(String warehouse, String handlingUnitExternalID, String handlingUnitReferenceDocument, HandlingUnit to_HandlingUnit) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 20io.vavr.control.Option<HandlingUnit>Retrieval of associated HandlingUnit entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 20protected ODataEntityKeygetKey()getType()(Key Field) Constraints: Not nullable, Maximum length: 4inthashCode()voidsetHandlingUnit(HandlingUnit value) Overwrites the associated HandlingUnit entity for the loaded navigation property _HandlingUnit.voidsetHandlingUnitExternalID(String handlingUnitExternalID) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetHandlingUnitReferenceDocument(String handlingUnitReferenceDocument) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetWarehouse(String warehouse) (Key Field) Constraints: Not nullable, Maximum length: 4toString()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 HandlingUnitReferenceDoc. -
WAREHOUSE
-
HANDLING_UNIT_EXTERNAL_ID
-
HANDLING_UNIT_REFERENCE_DOCUMENT
public static final SimpleProperty.String<HandlingUnitReferenceDoc> HANDLING_UNIT_REFERENCE_DOCUMENT -
TO__HANDLING_UNIT
public static final NavigationProperty.Single<HandlingUnitReferenceDoc,HandlingUnit> TO__HANDLING_UNITUse with available request builders to apply the _HandlingUnit navigation property to query operations.
-
-
Constructor Details
-
HandlingUnitReferenceDoc
public HandlingUnitReferenceDoc() -
HandlingUnitReferenceDoc
public HandlingUnitReferenceDoc(@Nullable String warehouse, @Nullable String handlingUnitExternalID, @Nullable String handlingUnitReferenceDocument, @Nullable HandlingUnit to_HandlingUnit)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<HandlingUnitReferenceDoc>
-
setWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Parameters:
warehouse- Warehouse Number/Warehouse Complex
-
setHandlingUnitExternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: HandlingUnitExternalID
- Parameters:
handlingUnitExternalID- External Handling Unit Identification
-
setHandlingUnitReferenceDocument
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: HandlingUnitReferenceDocument
- Parameters:
handlingUnitReferenceDocument- The handlingUnitReferenceDocument to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<HandlingUnitReferenceDoc>
-
getKey
- Overrides:
getKeyin classVdmObject<HandlingUnitReferenceDoc>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<HandlingUnitReferenceDoc>
-
fromMap
- Overrides:
fromMapin classVdmObject<HandlingUnitReferenceDoc>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<HandlingUnitReferenceDoc>
-
getHandlingUnitIfPresent
Retrieval of associated HandlingUnit entity (one to one). This corresponds to the OData navigation property _HandlingUnit.If the navigation property for an entity HandlingUnitReferenceDoc 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 _HandlingUnit is already loaded, the result will
contain the HandlingUnit entity. If not, an
Optionwith result stateemptyis returned.
-
setHandlingUnit
Overwrites the associated HandlingUnit entity for the loaded navigation property _HandlingUnit.- Parameters:
value- New HandlingUnit entity.
-
builder
-
getWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
getHandlingUnitExternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: HandlingUnitExternalID
- Returns:
- External Handling Unit Identification
-
getHandlingUnitReferenceDocument
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: HandlingUnitReferenceDocument
- Returns:
- The handlingUnitReferenceDocument contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<HandlingUnitReferenceDoc>
-
equals
- Overrides:
equalsin classVdmEntity<HandlingUnitReferenceDoc>
-
canEqual
- Overrides:
canEqualin classVdmEntity<HandlingUnitReferenceDoc>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<HandlingUnitReferenceDoc>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<HandlingUnitReferenceDoc>
-