Class FixedAsset
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<FixedAsset>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.FixedAsset
Asset Subnumber (Master Data)
Original entity name from the Odata EDM: FixedAsset
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FixedAssetSelectableSelector for all available fields of FixedAsset.static final FixedAssetField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final FixedAssetField<String>Use with available fluent helpers to apply the CompanyCodeName field to query operations.static final FixedAssetField<String>Use with available fluent helpers to apply the FixedAsset_ID field to query operations.static final FixedAssetField<String>Use with available fluent helpers to apply the FixedAssetText field to query operations.static final FixedAssetField<String>Use with available fluent helpers to apply the MasterFixedAsset 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) static FixedAsset.FixedAssetBuilderbuilder()protected booleanbooleanstatic <T,DomainT>
FixedAssetField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> FixedAssetField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: noneprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: nonegetKey()(Key Field) Constraints: Not nullable, Maximum length: 12getType()inthashCode()voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCompanyCodeName(String companyCodeName) Constraints: nonevoidsetFixedAsset_ID(String fixedAsset_ID) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetFixedAssetText(String fixedAssetText) Constraints: nonevoidsetMasterFixedAsset(String masterFixedAsset) (Key Field) Constraints: Not nullable, Maximum length: 12protected 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 FixedAsset. -
FIXED_ASSET_ID
Use with available fluent helpers to apply the FixedAsset_ID field to query operations. -
FIXED_ASSET_TEXT
Use with available fluent helpers to apply the FixedAssetText field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
COMPANY_CODE_NAME
Use with available fluent helpers to apply the CompanyCodeName field to query operations. -
MASTER_FIXED_ASSET
Use with available fluent helpers to apply the MasterFixedAsset field to query operations.
-
-
Constructor Details
-
FixedAsset
public FixedAsset() -
FixedAsset
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FixedAsset>
-
setFixedAsset_ID
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FixedAsset_ID
- Parameters:
fixedAsset_ID- Asset Subnumber
-
setFixedAssetText
Constraints: noneOriginal property name from the Odata EDM: FixedAssetText
- Parameters:
fixedAssetText- Asset Subnumber (Description)
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Asset Subnumber (Company Code)
-
setCompanyCodeName
Constraints: noneOriginal property name from the Odata EDM: CompanyCodeName
- Parameters:
companyCodeName- Company Code (Description) (Parent Description)
-
setMasterFixedAsset
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MasterFixedAsset
- Parameters:
masterFixedAsset- Asset Subnumber (Fixed Asset)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FixedAsset>
-
getKey
- Overrides:
getKeyin classVdmObject<FixedAsset>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FixedAsset>
-
fromMap
- Overrides:
fromMapin classVdmObject<FixedAsset>
-
field
@Nonnull public static <T> FixedAssetField<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> FixedAssetField<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<FixedAsset>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<FixedAsset>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<FixedAsset>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FixedAsset>
-
builder
-
getFixedAsset_ID
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FixedAsset_ID
- Returns:
- Asset Subnumber
-
getFixedAssetText
Constraints: noneOriginal property name from the Odata EDM: FixedAssetText
- Returns:
- Asset Subnumber (Description)
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Asset Subnumber (Company Code)
-
getCompanyCodeName
Constraints: noneOriginal property name from the Odata EDM: CompanyCodeName
- Returns:
- Company Code (Description) (Parent Description)
-
getMasterFixedAsset
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MasterFixedAsset
- Returns:
- Asset Subnumber (Fixed Asset)
-
toString
- Overrides:
toStringin classVdmObject<FixedAsset>
-
equals
- Overrides:
equalsin classVdmEntity<FixedAsset>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FixedAsset>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FixedAsset>
-