Class SerialNumberMaterialDocument
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SerialNumberMaterialDocument>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.materialdocument.SerialNumberMaterialDocument
Serial Numbers
Original entity name from the Odata EDM: A_SerialNumberMaterialDocumentType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SerialNumberMaterialDocumentSelectableSelector for all available fields of SerialNumberMaterialDocument.static final SerialNumberMaterialDocumentField<String>Use with available fluent helpers to apply the Material field to query operations.static final SerialNumberMaterialDocumentField<String>Use with available fluent helpers to apply the MaterialDocument field to query operations.static final SerialNumberMaterialDocumentField<String>Use with available fluent helpers to apply the MaterialDocumentItem field to query operations.static final SerialNumberMaterialDocumentField<String>Use with available fluent helpers to apply the MaterialDocumentYear field to query operations.static final SerialNumberMaterialDocumentField<String>Use with available fluent helpers to apply the SerialNumber field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SerialNumberMaterialDocumentField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SerialNumberMaterialDocumentField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 18getType()inthashCode()voidsetMaterial(String material) (Key Field) Constraints: Not nullable, Maximum length: 40voidsetMaterialDocument(String materialDocument) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetMaterialDocumentItem(String materialDocumentItem) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetMaterialDocumentYear(String materialDocumentYear) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetSerialNumber(String serialNumber) (Key Field) Constraints: Not nullable, Maximum length: 18protected voidsetServicePathForFetch(String servicePathForFetch) 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, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SerialNumberMaterialDocument. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
SERIAL_NUMBER
Use with available fluent helpers to apply the SerialNumber field to query operations. -
MATERIAL_DOCUMENT
Use with available fluent helpers to apply the MaterialDocument field to query operations. -
MATERIAL_DOCUMENT_ITEM
Use with available fluent helpers to apply the MaterialDocumentItem field to query operations. -
MATERIAL_DOCUMENT_YEAR
Use with available fluent helpers to apply the MaterialDocumentYear field to query operations.
-
-
Constructor Details
-
SerialNumberMaterialDocument
public SerialNumberMaterialDocument() -
SerialNumberMaterialDocument
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SerialNumberMaterialDocument>
-
setMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setSerialNumber
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SerialNumber
- Parameters:
serialNumber- Serial Number
-
setMaterialDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MaterialDocument
- Parameters:
materialDocument- Number of Material Document
-
setMaterialDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MaterialDocumentItem
- Parameters:
materialDocumentItem- Material Document Item
-
setMaterialDocumentYear
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MaterialDocumentYear
- Parameters:
materialDocumentYear- Material Document Year
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SerialNumberMaterialDocument>
-
getKey
- Overrides:
getKeyin classVdmObject<SerialNumberMaterialDocument>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SerialNumberMaterialDocument>
-
fromMap
- Overrides:
fromMapin classVdmObject<SerialNumberMaterialDocument>
-
field
@Nonnull public static <T> SerialNumberMaterialDocumentField<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> SerialNumberMaterialDocumentField<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<SerialNumberMaterialDocument>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SerialNumberMaterialDocument>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SerialNumberMaterialDocument>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SerialNumberMaterialDocument>
-
builder
-
getMaterial
(Key Field) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getSerialNumber
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SerialNumber
- Returns:
- Serial Number
-
getMaterialDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MaterialDocument
- Returns:
- Number of Material Document
-
getMaterialDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MaterialDocumentItem
- Returns:
- Material Document Item
-
getMaterialDocumentYear
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MaterialDocumentYear
- Returns:
- Material Document Year
-
toString
- Overrides:
toStringin classVdmObject<SerialNumberMaterialDocument>
-
equals
- Overrides:
equalsin classVdmEntity<SerialNumberMaterialDocument>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SerialNumberMaterialDocument>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SerialNumberMaterialDocument>
-