Class FixedAssetUsageObjectTotal
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FixedAssetUsageObjectTotalType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FixedAssetUsageObjectTotal instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<FixedAssetUsageObjectTotal,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<FixedAssetUsageObjectTotal>Selector for all available fields of FixedAssetUsageObjectTotal.static final SimpleProperty.String<FixedAssetUsageObjectTotal>static final SimpleProperty.NumericDecimal<FixedAssetUsageObjectTotal>static final SimpleProperty.String<FixedAssetUsageObjectTotal>static final SimpleProperty.String<FixedAssetUsageObjectTotal>static final SimpleProperty.String<FixedAssetUsageObjectTotal>Use with available request builders to apply the _UsageObject navigation property to query operations.static final SimpleProperty.Date<FixedAssetUsageObjectTotal>static final SimpleProperty.Date<FixedAssetUsageObjectTotal>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionFixedAssetUsageObjectTotal(String companyCode, String fixedAssetUsageObject, String fixedAssetUsageObjectDeprArea, LocalDate validityEndDate, LocalDate validityStartDate, BigDecimal capacityInProductionUnit, String baseUnit, Collection<SAP__Message> _Messages, FixedAssetUsageObject to_UsageObject) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 18, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 4protected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 2protected ODataEntityKeygetKey()getType()io.vavr.control.Option<FixedAssetUsageObject>Retrieval of associated FixedAssetUsageObject entity (one to one).(Key Field) Constraints: Not nullableConstraints: Not nullableinthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetBaseUnit(String baseUnit) Constraints: Not nullable, Maximum length: 3voidsetCapacityInProductionUnit(BigDecimal capacityInProductionUnit) Constraints: Not nullable, Precision: 18, Scale: 3voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetFixedAssetUsageObject(String fixedAssetUsageObject) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetFixedAssetUsageObjectDeprArea(String fixedAssetUsageObjectDeprArea) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated FixedAssetUsageObject entity for the loaded navigation property _UsageObject.voidsetValidityEndDate(LocalDate validityEndDate) (Key Field) Constraints: Not nullablevoidsetValidityStartDate(LocalDate validityStartDate) Constraints: Not nullableAction that can be applied to any entity object of this class.toString()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 FixedAssetUsageObjectTotal. -
COMPANY_CODE
-
FIXED_ASSET_USAGE_OBJECT
-
FIXED_ASSET_USAGE_OBJECT_DEPR_AREA
public static final SimpleProperty.String<FixedAssetUsageObjectTotal> FIXED_ASSET_USAGE_OBJECT_DEPR_AREA -
VALIDITY_END_DATE
-
VALIDITY_START_DATE
-
CAPACITY_IN_PRODUCTION_UNIT
public static final SimpleProperty.NumericDecimal<FixedAssetUsageObjectTotal> CAPACITY_IN_PRODUCTION_UNIT -
BASE_UNIT
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__USAGE_OBJECT
public static final NavigationProperty.Single<FixedAssetUsageObjectTotal,FixedAssetUsageObject> TO__USAGE_OBJECTUse with available request builders to apply the _UsageObject navigation property to query operations.
-
-
Constructor Details
-
FixedAssetUsageObjectTotal
public FixedAssetUsageObjectTotal() -
FixedAssetUsageObjectTotal
public FixedAssetUsageObjectTotal(@Nullable String companyCode, @Nullable String fixedAssetUsageObject, @Nullable String fixedAssetUsageObjectDeprArea, @Nullable LocalDate validityEndDate, @Nullable LocalDate validityStartDate, @Nullable BigDecimal capacityInProductionUnit, @Nullable String baseUnit, @Nullable Collection<SAP__Message> _Messages, @Nullable FixedAssetUsageObject to_UsageObject)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FixedAssetUsageObjectTotal>
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setFixedAssetUsageObject
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: FixedAssetUsageObject
- Parameters:
fixedAssetUsageObject- Usage Object
-
setFixedAssetUsageObjectDeprArea
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FixedAssetUsageObjectDeprArea
- Parameters:
fixedAssetUsageObjectDeprArea- Depreciation Area (incl. Generic Entry)
-
setValidityEndDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Date Validity Ends
-
setValidityStartDate
Constraints: Not nullableOriginal property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Date for Beginning of Validity
-
setCapacityInProductionUnit
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: CapacityInProductionUnit
- Parameters:
capacityInProductionUnit- Total Number of Units
-
setBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Parameters:
baseUnit- Base Unit of Measure
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FixedAssetUsageObjectTotal>
-
getKey
- Overrides:
getKeyin classVdmObject<FixedAssetUsageObjectTotal>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FixedAssetUsageObjectTotal>
-
fromMap
- Overrides:
fromMapin classVdmObject<FixedAssetUsageObjectTotal>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FixedAssetUsageObjectTotal>
-
getUsageObjectIfPresent
Retrieval of associated FixedAssetUsageObject entity (one to one). This corresponds to the OData navigation property _UsageObject.If the navigation property for an entity FixedAssetUsageObjectTotal 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 _UsageObject is already loaded, the result will contain
the FixedAssetUsageObject entity. If not, an
Optionwith result stateemptyis returned.
-
setUsageObject
Overwrites the associated FixedAssetUsageObject entity for the loaded navigation property _UsageObject.- Parameters:
value- New FixedAssetUsageObject entity.
-
split
@Nonnull public static BoundAction.SingleToCollection<FixedAssetUsageObjectTotal,FixedAssetUsageObjectTotal> split(@Nullable LocalDate validityStartDate) Action that can be applied to any entity object of this class.- Parameters:
validityStartDate- Constraints: NullableOriginal parameter name from the Odata EDM: ValidityStartDate
- 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
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getFixedAssetUsageObject
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: FixedAssetUsageObject
- Returns:
- Usage Object
-
getFixedAssetUsageObjectDeprArea
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FixedAssetUsageObjectDeprArea
- Returns:
- Depreciation Area (incl. Generic Entry)
-
getValidityEndDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ValidityEndDate
- Returns:
- Date Validity Ends
-
getValidityStartDate
Constraints: Not nullableOriginal property name from the Odata EDM: ValidityStartDate
- Returns:
- Date for Beginning of Validity
-
getCapacityInProductionUnit
Constraints: Not nullable, Precision: 18, Scale: 3Original property name from the Odata EDM: CapacityInProductionUnit
- Returns:
- Total Number of Units
-
getBaseUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: BaseUnit
- Returns:
- Base Unit of Measure
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<FixedAssetUsageObjectTotal>
-
equals
- Overrides:
equalsin classVdmEntity<FixedAssetUsageObjectTotal>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FixedAssetUsageObjectTotal>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FixedAssetUsageObjectTotal>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FixedAssetUsageObjectTotal>
-