public class FixedAssetUsageObject extends VdmEntity<FixedAssetUsageObject>
Original entity name from the Odata EDM: FixedAssetUsageObjectType
Modifier and Type | Class and Description |
---|---|
static class |
FixedAssetUsageObject.FixedAssetUsageObjectBuilder
Helper class to allow for fluent creation of FixedAssetUsageObject instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
FixedAssetUsageObject() |
FixedAssetUsageObject(String companyCode,
String fixedAssetUsageObject,
String fixedAssetUsageObjectDesc,
String baseUnit,
Boolean isActive,
String fixedAssetUsageObjLfcycSts,
String fixedAssetUsageObjLfcycName,
OffsetDateTime lastChangeDateTime,
Collection<SAP__Message> _Messages,
List<FixedAssetUsageObjectPeriod> to_UsageObjectPeriod,
List<FixedAssetUsageObjectTotal> to_UsageObjectTotal) |
Modifier and Type | Method and Description |
---|---|
void |
addUsageObjectPeriod(FixedAssetUsageObjectPeriod... entity)
Adds elements to the list of associated FixedAssetUsageObjectPeriod entities.
|
void |
addUsageObjectTotal(FixedAssetUsageObjectTotal... entity)
Adds elements to the list of associated FixedAssetUsageObjectTotal entities.
|
static FixedAssetUsageObject.FixedAssetUsageObjectBuilder |
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
|
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 |
getFixedAssetUsageObjectDesc()
Constraints: Not nullable, Maximum length: 50
|
String |
getFixedAssetUsageObjLfcycName()
Constraints: Not nullable, Maximum length: 60
|
String |
getFixedAssetUsageObjLfcycSts()
Constraints: Not nullable, Maximum length: 1
|
Boolean |
getIsActive()
Constraints: Not nullable
|
protected ODataEntityKey |
getKey() |
OffsetDateTime |
getLastChangeDateTime()
Constraints: Nullable, Precision: 7
|
String |
getOdataType() |
Class<FixedAssetUsageObject> |
getType() |
io.vavr.control.Option<List<FixedAssetUsageObjectPeriod>> |
getUsageObjectPeriodIfPresent()
Retrieval of associated FixedAssetUsageObjectPeriod entities (one to many).
|
io.vavr.control.Option<List<FixedAssetUsageObjectTotal>> |
getUsageObjectTotalIfPresent()
Retrieval of associated FixedAssetUsageObjectTotal entities (one to many).
|
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 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 |
setFixedAssetUsageObjectDesc(String fixedAssetUsageObjectDesc)
Constraints: Not nullable, Maximum length: 50
|
void |
setFixedAssetUsageObjLfcycName(String fixedAssetUsageObjLfcycName)
Constraints: Not nullable, Maximum length: 60
|
void |
setFixedAssetUsageObjLfcycSts(String fixedAssetUsageObjLfcycSts)
Constraints: Not nullable, Maximum length: 1
|
void |
setIsActive(Boolean isActive)
Constraints: Not nullable
|
void |
setLastChangeDateTime(OffsetDateTime lastChangeDateTime)
Constraints: Nullable, Precision: 7
|
void |
setUsageObjectPeriod(List<FixedAssetUsageObjectPeriod> value)
Overwrites the list of associated FixedAssetUsageObjectPeriod entities for the loaded navigation property
_UsageObjectPeriod.
|
void |
setUsageObjectTotal(List<FixedAssetUsageObjectTotal> value)
Overwrites the list of associated FixedAssetUsageObjectTotal entities for the loaded navigation property
_UsageObjectTotal.
|
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<FixedAssetUsageObject> ALL_FIELDS
public static final SimpleProperty.String<FixedAssetUsageObject> COMPANY_CODE
public static final SimpleProperty.String<FixedAssetUsageObject> FIXED_ASSET_USAGE_OBJECT
public static final SimpleProperty.String<FixedAssetUsageObject> FIXED_ASSET_USAGE_OBJECT_DESC
public static final SimpleProperty.String<FixedAssetUsageObject> BASE_UNIT
public static final SimpleProperty.Boolean<FixedAssetUsageObject> IS_ACTIVE
public static final SimpleProperty.String<FixedAssetUsageObject> FIXED_ASSET_USAGE_OBJ_LFCYC_STS
public static final SimpleProperty.String<FixedAssetUsageObject> FIXED_ASSET_USAGE_OBJ_LFCYC_NAME
public static final SimpleProperty.DateTime<FixedAssetUsageObject> LAST_CHANGE_DATE_TIME
public static final ComplexProperty.Collection<FixedAssetUsageObject,SAP__Message> _MESSAGES
public static final NavigationProperty.Collection<FixedAssetUsageObject,FixedAssetUsageObjectPeriod> TO__USAGE_OBJECT_PERIOD
public static final NavigationProperty.Collection<FixedAssetUsageObject,FixedAssetUsageObjectTotal> TO__USAGE_OBJECT_TOTAL
public FixedAssetUsageObject()
public FixedAssetUsageObject(@Nullable String companyCode, @Nullable String fixedAssetUsageObject, @Nullable String fixedAssetUsageObjectDesc, @Nullable String baseUnit, @Nullable Boolean isActive, @Nullable String fixedAssetUsageObjLfcycSts, @Nullable String fixedAssetUsageObjLfcycName, @Nullable OffsetDateTime lastChangeDateTime, @Nullable Collection<SAP__Message> _Messages, List<FixedAssetUsageObjectPeriod> to_UsageObjectPeriod, List<FixedAssetUsageObjectTotal> to_UsageObjectTotal)
@Nonnull public Class<FixedAssetUsageObject> getType()
getType
in class VdmObject<FixedAssetUsageObject>
public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Company Codepublic void setFixedAssetUsageObject(@Nullable String fixedAssetUsageObject)
Original property name from the Odata EDM: FixedAssetUsageObject
fixedAssetUsageObject
- Usage Objectpublic void setFixedAssetUsageObjectDesc(@Nullable String fixedAssetUsageObjectDesc)
Original property name from the Odata EDM: FixedAssetUsageObjectDesc
fixedAssetUsageObjectDesc
- Usage Object Descriptionpublic void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
baseUnit
- Base Unit of Measurepublic void setIsActive(@Nullable Boolean isActive)
Original property name from the Odata EDM: IsActive
isActive
- Is Active?public void setFixedAssetUsageObjLfcycSts(@Nullable String fixedAssetUsageObjLfcycSts)
Original property name from the Odata EDM: FixedAssetUsageObjLfcycSts
fixedAssetUsageObjLfcycSts
- Usage Object Lifecycle Statuspublic void setFixedAssetUsageObjLfcycName(@Nullable String fixedAssetUsageObjLfcycName)
Original property name from the Odata EDM: FixedAssetUsageObjLfcycName
fixedAssetUsageObjLfcycName
- Usage Object Lifecycle Status Textpublic void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)public 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<FixedAssetUsageObject>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<FixedAssetUsageObject>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<FixedAssetUsageObject>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<FixedAssetUsageObject>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<FixedAssetUsageObject>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<FixedAssetUsageObject>
@Nonnull public io.vavr.control.Option<List<FixedAssetUsageObjectPeriod>> getUsageObjectPeriodIfPresent()
If the navigation property for an entity FixedAssetUsageObject 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 setUsageObjectPeriod(@Nonnull List<FixedAssetUsageObjectPeriod> value)
If the navigation property _UsageObjectPeriod of a queried FixedAssetUsageObject 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.
value
- List of FixedAssetUsageObjectPeriod entities.public void addUsageObjectPeriod(FixedAssetUsageObjectPeriod... entity)
If the navigation property _UsageObjectPeriod of a queried FixedAssetUsageObject 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.
entity
- Array of FixedAssetUsageObjectPeriod entities.@Nonnull public io.vavr.control.Option<List<FixedAssetUsageObjectTotal>> getUsageObjectTotalIfPresent()
If the navigation property for an entity FixedAssetUsageObject 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 setUsageObjectTotal(@Nonnull List<FixedAssetUsageObjectTotal> value)
If the navigation property _UsageObjectTotal of a queried FixedAssetUsageObject 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.
value
- List of FixedAssetUsageObjectTotal entities.public void addUsageObjectTotal(FixedAssetUsageObjectTotal... entity)
If the navigation property _UsageObjectTotal of a queried FixedAssetUsageObject 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.
entity
- Array of FixedAssetUsageObjectTotal entities.@Nonnull public static FixedAssetUsageObject.FixedAssetUsageObjectBuilder 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 getFixedAssetUsageObjectDesc()
Original property name from the Odata EDM: FixedAssetUsageObjectDesc
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nullable public Boolean getIsActive()
Original property name from the Odata EDM: IsActive
@Nullable public String getFixedAssetUsageObjLfcycSts()
Original property name from the Odata EDM: FixedAssetUsageObjLfcycSts
@Nullable public String getFixedAssetUsageObjLfcycName()
Original property name from the Odata EDM: FixedAssetUsageObjLfcycName
@Nullable public OffsetDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public Collection<SAP__Message> get_Messages()
Original property name from the Odata EDM: SAP__Messages
@Nonnull public String toString()
toString
in class VdmObject<FixedAssetUsageObject>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<FixedAssetUsageObject>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<FixedAssetUsageObject>
public int hashCode()
hashCode
in class VdmEntity<FixedAssetUsageObject>
public String getOdataType()
getOdataType
in class VdmObject<FixedAssetUsageObject>
Copyright © 2021 SAP SE. All rights reserved.