Class EHSAmountExternalSource
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: EHSAmountExternalSourceType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<EHSAmountExternalSource,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<EHSAmountExternalSource>Selector for all available fields of EHSAmountExternalSource.static final SimpleProperty.String<EHSAmountExternalSource>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionEHSAmountExternalSource(String eHSAmountExternalSource, Collection<SAP__Message> _Messages) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleancollectAmount(String eHSAmountExternalSource, OffsetDateTime eHSAmountUTCDateTime, Double eHSAmountValue, String unitOfMeasure, Boolean eHSAmountIsFaulty, Boolean eHSAmountIsOutOfCalibration, String eHSAmtOutOfPrecisenessOptr, Boolean eHSAmountIsNotAvailable, String note) Action that can be applied to a collection of entities of this class.booleanprotected voidConstraints: Not nullableprotected String(Key Field) Constraints: Not nullable, Maximum length: 80protected Stringprotected ODataEntityKeygetKey()getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetEHSAmountExternalSource(String eHSAmountExternalSource) (Key Field) Constraints: Not nullable, Maximum length: 80toString()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, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of EHSAmountExternalSource. -
EHS_AMOUNT_EXTERNAL_SOURCE
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations.
-
-
Constructor Details
-
EHSAmountExternalSource
public EHSAmountExternalSource() -
EHSAmountExternalSource
public EHSAmountExternalSource(@Nullable String eHSAmountExternalSource, @Nullable Collection<SAP__Message> _Messages)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<EHSAmountExternalSource>
-
setEHSAmountExternalSource
(Key Field) Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: EHSAmountExternalSource
- Parameters:
eHSAmountExternalSource- External Source
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<EHSAmountExternalSource>
-
getKey
- Overrides:
getKeyin classVdmObject<EHSAmountExternalSource>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<EHSAmountExternalSource>
-
fromMap
- Overrides:
fromMapin classVdmObject<EHSAmountExternalSource>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<EHSAmountExternalSource>
-
collectAmount
@Nonnull public static BoundAction.CollectionToSingle<EHSAmountExternalSource,EHSCollectAmountResult_Type> collectAmount(@Nonnull String eHSAmountExternalSource, @Nullable OffsetDateTime eHSAmountUTCDateTime, @Nonnull Double eHSAmountValue, @Nonnull String unitOfMeasure, @Nonnull Boolean eHSAmountIsFaulty, @Nonnull Boolean eHSAmountIsOutOfCalibration, @Nonnull String eHSAmtOutOfPrecisenessOptr, @Nonnull Boolean eHSAmountIsNotAvailable, @Nonnull String note) Action that can be applied to a collection of entities of this class.- Parameters:
eHSAmountIsFaulty- Constraints: Not nullableOriginal parameter name from the Odata EDM: EHSAmountIsFaulty
eHSAmountValue- Constraints: Not nullableOriginal parameter name from the Odata EDM: EHSAmountValue
note- Constraints: Not nullable, Maximum length: 255Original parameter name from the Odata EDM: Note
eHSAmountIsOutOfCalibration- Constraints: Not nullableOriginal parameter name from the Odata EDM: EHSAmountIsOutOfCalibration
unitOfMeasure- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: UnitOfMeasure
eHSAmountUTCDateTime- Constraints: NullableOriginal parameter name from the Odata EDM: EHSAmountUTCDateTime
eHSAmtOutOfPrecisenessOptr- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: EHSAmtOutOfPrecisenessOptr
eHSAmountExternalSource- Constraints: Not nullable, Maximum length: 80Original parameter name from the Odata EDM: EHSAmountExternalSource
eHSAmountIsNotAvailable- Constraints: Not nullableOriginal parameter name from the Odata EDM: EHSAmountIsNotAvailable
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getEHSAmountExternalSource
(Key Field) Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: EHSAmountExternalSource
- Returns:
- External Source
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<EHSAmountExternalSource>
-
equals
- Overrides:
equalsin classVdmEntity<EHSAmountExternalSource>
-
canEqual
- Overrides:
canEqualin classVdmEntity<EHSAmountExternalSource>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<EHSAmountExternalSource>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<EHSAmountExternalSource>
-