public class FixedAssetUsageObjectTotal extends VdmEntity<FixedAssetUsageObjectTotal>
Original entity name from the Odata EDM: FixedAssetUsageObjectTotalType
Modifier and Type | Class and Description |
---|---|
static class |
FixedAssetUsageObjectTotal.FixedAssetUsageObjectTotalBuilder
Helper class to allow for fluent creation of FixedAssetUsageObjectTotal instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
FixedAssetUsageObjectTotal() |
FixedAssetUsageObjectTotal(String companyCode,
String fixedAssetUsageObject,
String fixedAssetUsageObjectDeprArea,
LocalDate validityEndDate,
LocalDate validityStartDate,
BigDecimal capacityInProductionUnit,
String baseUnit,
Collection<SAP__Message> _Messages,
FixedAssetUsageObject to_UsageObject) |
Modifier and Type | Method and Description |
---|---|
static FixedAssetUsageObjectTotal.FixedAssetUsageObjectTotalBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
Collection<SAP__Message> |
get_Messages()
Constraints: Not nullable
|
String |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
BigDecimal |
getCapacityInProductionUnit()
Constraints: Not nullable, Precision: 18, Scale: 3
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
String |
getFixedAssetUsageObject()
(Key Field) Constraints: Not nullable, Maximum length: 12
|
String |
getFixedAssetUsageObjectDeprArea()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
Class<FixedAssetUsageObjectTotal> |
getType() |
io.vavr.control.Option<FixedAssetUsageObject> |
getUsageObjectIfPresent()
Retrieval of associated FixedAssetUsageObject entity (one to one).
|
LocalDate |
getValidityEndDate()
(Key Field) Constraints: Not nullable
|
LocalDate |
getValidityStartDate()
Constraints: Nullable
|
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCapacityInProductionUnit(BigDecimal capacityInProductionUnit)
Constraints: Not nullable, Precision: 18, Scale: 3
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setFixedAssetUsageObject(String fixedAssetUsageObject)
(Key Field) Constraints: Not nullable, Maximum length: 12
|
void |
setFixedAssetUsageObjectDeprArea(String fixedAssetUsageObjectDeprArea)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setUsageObject(FixedAssetUsageObject value)
Overwrites the associated FixedAssetUsageObject entity for the loaded navigation property
_UsageObject.
|
void |
setValidityEndDate(LocalDate validityEndDate)
(Key Field) Constraints: Not nullable
|
void |
setValidityStartDate(LocalDate validityStartDate)
Constraints: Nullable
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<FixedAssetUsageObjectTotal> ALL_FIELDS
public static final SimpleProperty.String<FixedAssetUsageObjectTotal> COMPANY_CODE
public static final SimpleProperty.String<FixedAssetUsageObjectTotal> FIXED_ASSET_USAGE_OBJECT
public static final SimpleProperty.String<FixedAssetUsageObjectTotal> FIXED_ASSET_USAGE_OBJECT_DEPR_AREA
public static final SimpleProperty.Date<FixedAssetUsageObjectTotal> VALIDITY_END_DATE
public static final SimpleProperty.Date<FixedAssetUsageObjectTotal> VALIDITY_START_DATE
public static final SimpleProperty.NumericDecimal<FixedAssetUsageObjectTotal> CAPACITY_IN_PRODUCTION_UNIT
public static final SimpleProperty.String<FixedAssetUsageObjectTotal> BASE_UNIT
public static final ComplexProperty.Collection<FixedAssetUsageObjectTotal,SAP__Message> _MESSAGES
public static final NavigationProperty.Single<FixedAssetUsageObjectTotal,FixedAssetUsageObject> TO__USAGE_OBJECT
public 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)
@Nonnull public Class<FixedAssetUsageObjectTotal> getType()
getType
in class VdmObject<FixedAssetUsageObjectTotal>
public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Fixed Asset Usage Object Projection Viewpublic void setFixedAssetUsageObject(@Nullable String fixedAssetUsageObject)
Original property name from the Odata EDM: FixedAssetUsageObject
fixedAssetUsageObject
- Usage Objectpublic void setFixedAssetUsageObjectDeprArea(@Nullable String fixedAssetUsageObjectDeprArea)
Original property name from the Odata EDM: FixedAssetUsageObjectDeprArea
fixedAssetUsageObjectDeprArea
- Depreciation Area (incl. Generic Entry)public void setValidityEndDate(@Nullable LocalDate validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Date Validity Endspublic void setValidityStartDate(@Nullable LocalDate validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Date for Beginning of Validitypublic void setCapacityInProductionUnit(@Nullable BigDecimal capacityInProductionUnit)
Original property name from the Odata EDM: CapacityInProductionUnit
capacityInProductionUnit
- Total Number of Unitspublic void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
baseUnit
- Base Unit of Measurepublic void set_Messages(@Nullable Collection<SAP__Message> _Messages)
Original property name from the Odata EDM: SAP__Messages
_Messages
- The _Messages to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<FixedAssetUsageObjectTotal>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<FixedAssetUsageObjectTotal>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<FixedAssetUsageObjectTotal>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<FixedAssetUsageObjectTotal>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<FixedAssetUsageObjectTotal>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<FixedAssetUsageObjectTotal>
@Nonnull public io.vavr.control.Option<FixedAssetUsageObject> getUsageObjectIfPresent()
If the navigation property for an entity FixedAssetUsageObjectTotal has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setUsageObject(FixedAssetUsageObject value)
value
- New FixedAssetUsageObject entity.@Nonnull public static FixedAssetUsageObjectTotal.FixedAssetUsageObjectTotalBuilder builder()
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getFixedAssetUsageObject()
Original property name from the Odata EDM: FixedAssetUsageObject
@Nullable public String getFixedAssetUsageObjectDeprArea()
Original property name from the Odata EDM: FixedAssetUsageObjectDeprArea
@Nullable public LocalDate getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public LocalDate getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public BigDecimal getCapacityInProductionUnit()
Original property name from the Odata EDM: CapacityInProductionUnit
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nullable public Collection<SAP__Message> get_Messages()
Original property name from the Odata EDM: SAP__Messages
@Nonnull public String toString()
toString
in class VdmObject<FixedAssetUsageObjectTotal>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<FixedAssetUsageObjectTotal>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<FixedAssetUsageObjectTotal>
public int hashCode()
hashCode
in class VdmEntity<FixedAssetUsageObjectTotal>
public String getOdataType()
getOdataType
in class VdmObject<FixedAssetUsageObjectTotal>
Copyright © 2021 SAP SE. All rights reserved.