Class InspectionMethod
Original entity name from the Odata EDM: A_InspectionMethodType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of InspectionMethod instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InspectionMethodSelectableSelector for all available fields of InspectionMethod.static final InspectionMethodField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final InspectionMethodField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the InspMethInformationField1 field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the InspMethInformationField2 field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the InspMethInformationField3 field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the InspectionMethod field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the InspectionMethodPlant field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the InspectionMethodSearchField field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the InspectionMethodStatus field to query operations.static final InspectionMethodField<LocalDateTime>Use with available fluent helpers to apply the InspectionMethodValidFromDate field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the InspectionMethodVersion field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the InspectorQualification field to query operations.static final InspectionMethodField<LocalDateTime>Use with available fluent helpers to apply the LastChangeDate field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the LinkedSAPObjectKey field to query operations.static final InspectionMethodField<String>Use with available fluent helpers to apply the QltyMstrDataAuthorizationGroup field to query operations.static final InspectionMethodLink<InspectionMethodText>Use with available fluent helpers to apply the to_Text navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionInspectionMethod(String inspectionMethod, String inspectionMethodVersion, String inspectionMethodPlant, LocalDateTime inspectionMethodValidFromDate, String inspectionMethodSearchField, String inspectionMethodStatus, String inspMethInformationField1, String inspMethInformationField2, String inspMethInformationField3, String qltyMstrDataAuthorizationGroup, String inspectorQualification, String createdByUser, LocalDateTime creationDate, String lastChangedByUser, LocalDateTime lastChangeDate, String linkedSAPObjectKey, List<InspectionMethodText> toText) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddText(InspectionMethodText... entity) Adds elements to the list of associated InspectionMethodText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the InspectionMethodText entities (one to many) associated with this entity.static <T,DomainT>
InspectionMethodField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> InspectionMethodField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0protected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 8(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 40getKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 8io.vavr.control.Option<List<InspectionMethodText>>Retrieval of associated InspectionMethodText entities (one to many).Retrieval of associated InspectionMethodText entities (one to many).getType()inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0voidsetInspectionMethod(String inspectionMethod) (Key Field) Constraints: Not nullable, Maximum length: 8voidsetInspectionMethodPlant(String inspectionMethodPlant) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetInspectionMethodSearchField(String inspectionMethodSearchField) Constraints: Not nullable, Maximum length: 40voidsetInspectionMethodStatus(String inspectionMethodStatus) Constraints: Not nullable, Maximum length: 1voidsetInspectionMethodValidFromDate(LocalDateTime inspectionMethodValidFromDate) Constraints: Not nullable, Precision: 0voidsetInspectionMethodVersion(String inspectionMethodVersion) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetInspectorQualification(String inspectorQualification) Constraints: Not nullable, Maximum length: 5voidsetInspMethInformationField1(String inspMethInformationField1) Constraints: Not nullable, Maximum length: 10voidsetInspMethInformationField2(String inspMethInformationField2) Constraints: Not nullable, Maximum length: 20voidsetInspMethInformationField3(String inspMethInformationField3) Constraints: Not nullable, Maximum length: 40voidsetLastChangeDate(LocalDateTime lastChangeDate) Constraints: Not nullable, Precision: 0voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetLinkedSAPObjectKey(String linkedSAPObjectKey) Constraints: Not nullable, Maximum length: 18voidsetQltyMstrDataAuthorizationGroup(String qltyMstrDataAuthorizationGroup) Constraints: Not nullable, Maximum length: 8protected voidsetServicePathForFetch(String servicePathForFetch) voidsetText(List<InspectionMethodText> value) Overwrites the list of associated InspectionMethodText entities for the loaded navigation property to_Text.toString()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 InspectionMethod. -
INSPECTION_METHOD
Use with available fluent helpers to apply the InspectionMethod field to query operations. -
INSPECTION_METHOD_VERSION
Use with available fluent helpers to apply the InspectionMethodVersion field to query operations. -
INSPECTION_METHOD_PLANT
Use with available fluent helpers to apply the InspectionMethodPlant field to query operations. -
INSPECTION_METHOD_VALID_FROM_DATE
Use with available fluent helpers to apply the InspectionMethodValidFromDate field to query operations. -
INSPECTION_METHOD_SEARCH_FIELD
Use with available fluent helpers to apply the InspectionMethodSearchField field to query operations. -
INSPECTION_METHOD_STATUS
Use with available fluent helpers to apply the InspectionMethodStatus field to query operations. -
INSP_METH_INFORMATION_FIELD1
Use with available fluent helpers to apply the InspMethInformationField1 field to query operations. -
INSP_METH_INFORMATION_FIELD2
Use with available fluent helpers to apply the InspMethInformationField2 field to query operations. -
INSP_METH_INFORMATION_FIELD3
Use with available fluent helpers to apply the InspMethInformationField3 field to query operations. -
QLTY_MSTR_DATA_AUTHORIZATION_GROUP
Use with available fluent helpers to apply the QltyMstrDataAuthorizationGroup field to query operations. -
INSPECTOR_QUALIFICATION
Use with available fluent helpers to apply the InspectorQualification field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations. -
LINKED_SAP_OBJECT_KEY
Use with available fluent helpers to apply the LinkedSAPObjectKey field to query operations. -
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
-
-
Constructor Details
-
InspectionMethod
public InspectionMethod() -
InspectionMethod
public InspectionMethod(@Nullable String inspectionMethod, @Nullable String inspectionMethodVersion, @Nullable String inspectionMethodPlant, @Nullable LocalDateTime inspectionMethodValidFromDate, @Nullable String inspectionMethodSearchField, @Nullable String inspectionMethodStatus, @Nullable String inspMethInformationField1, @Nullable String inspMethInformationField2, @Nullable String inspMethInformationField3, @Nullable String qltyMstrDataAuthorizationGroup, @Nullable String inspectorQualification, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable String lastChangedByUser, @Nullable LocalDateTime lastChangeDate, @Nullable String linkedSAPObjectKey, List<InspectionMethodText> toText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<InspectionMethod>
-
setInspectionMethod
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: InspectionMethod
- Parameters:
inspectionMethod- Inspection Method
-
setInspectionMethodVersion
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: InspectionMethodVersion
- Parameters:
inspectionMethodVersion- Version Number of Inspection Method
-
setInspectionMethodPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: InspectionMethodPlant
- Parameters:
inspectionMethodPlant- Plant for Inspection Method
-
setInspectionMethodValidFromDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: InspectionMethodValidFromDate
- Parameters:
inspectionMethodValidFromDate- Valid-From Date
-
setInspectionMethodSearchField
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: InspectionMethodSearchField
- Parameters:
inspectionMethodSearchField- Search Field
-
setInspectionMethodStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InspectionMethodStatus
- Parameters:
inspectionMethodStatus- Status of Master Record
-
setInspMethInformationField1
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InspMethInformationField1
- Parameters:
inspMethInformationField1- Text Line for Additional Information
-
setInspMethInformationField2
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: InspMethInformationField2
- Parameters:
inspMethInformationField2- Text Line for Additional Information
-
setInspMethInformationField3
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: InspMethInformationField3
- Parameters:
inspMethInformationField3- Text Line for Additional Information
-
setQltyMstrDataAuthorizationGroup
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: QltyMstrDataAuthorizationGroup
- Parameters:
qltyMstrDataAuthorizationGroup- Authorization Group QM Master Data
-
setInspectorQualification
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: InspectorQualification
- Parameters:
inspectorQualification- Inspector Qualification
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Name of User Who Created the Data Record
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- System Date on Which Data Record Was Created
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Name of User Who Last Changed Data Record
-
setLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Parameters:
lastChangeDate- System Date on Which Data Record Was Changed
-
setLinkedSAPObjectKey
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: LinkedSAPObjectKey
- Parameters:
linkedSAPObjectKey- The linkedSAPObjectKey to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<InspectionMethod>
-
getKey
- Overrides:
getKeyin classVdmObject<InspectionMethod>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<InspectionMethod>
-
fromMap
- Overrides:
fromMapin classVdmObject<InspectionMethod>
-
field
@Nonnull public static <T> InspectionMethodField<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> InspectionMethodField<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<InspectionMethod>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<InspectionMethod>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<InspectionMethod>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<InspectionMethod>
-
fetchText
Fetches the InspectionMethodText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Text.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated InspectionMethodText entities. If no entities are associated then an empty list is returned.
- 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.
-
getTextOrFetch
Retrieval of associated InspectionMethodText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried InspectionMethod 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 InspectionMethodText entities.
- 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.
-
getTextIfPresent
Retrieval of associated InspectionMethodText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property for an entity InspectionMethod 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_Text is already loaded, the result will contain the
InspectionMethodText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated InspectionMethodText entities for the loaded navigation property to_Text.If the navigation property to_Text of a queried InspectionMethod 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 InspectionMethodText entities.
-
addText
Adds elements to the list of associated InspectionMethodText entities. This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried InspectionMethod 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 InspectionMethodText entities.
-
builder
-
getInspectionMethod
(Key Field) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: InspectionMethod
- Returns:
- Inspection Method
-
getInspectionMethodVersion
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: InspectionMethodVersion
- Returns:
- Version Number of Inspection Method
-
getInspectionMethodPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: InspectionMethodPlant
- Returns:
- Plant for Inspection Method
-
getInspectionMethodValidFromDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: InspectionMethodValidFromDate
- Returns:
- Valid-From Date
-
getInspectionMethodSearchField
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: InspectionMethodSearchField
- Returns:
- Search Field
-
getInspectionMethodStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InspectionMethodStatus
- Returns:
- Status of Master Record
-
getInspMethInformationField1
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InspMethInformationField1
- Returns:
- Text Line for Additional Information
-
getInspMethInformationField2
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: InspMethInformationField2
- Returns:
- Text Line for Additional Information
-
getInspMethInformationField3
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: InspMethInformationField3
- Returns:
- Text Line for Additional Information
-
getQltyMstrDataAuthorizationGroup
Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: QltyMstrDataAuthorizationGroup
- Returns:
- Authorization Group QM Master Data
-
getInspectorQualification
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: InspectorQualification
- Returns:
- Inspector Qualification
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Name of User Who Created the Data Record
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- System Date on Which Data Record Was Created
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Name of User Who Last Changed Data Record
-
getLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Returns:
- System Date on Which Data Record Was Changed
-
getLinkedSAPObjectKey
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: LinkedSAPObjectKey
- Returns:
- The linkedSAPObjectKey contained in this entity.
-
toString
- Overrides:
toStringin classVdmObject<InspectionMethod>
-
equals
- Overrides:
equalsin classVdmEntity<InspectionMethod>
-
canEqual
- Overrides:
canEqualin classVdmEntity<InspectionMethod>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<InspectionMethod>
-