Class ProfitCenter
Original entity name from the Odata EDM: A_ProfitCenterType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProfitCenter instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProfitCenterField<String>Use with available fluent helpers to apply the AdditionalName field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the AddressName field to query operations.static final ProfitCenterSelectableSelector for all available fields of ProfitCenter.static final ProfitCenterField<String>Use with available fluent helpers to apply the CityName field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ControllingArea field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the Country field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the DataCommunicationPhoneNumber field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the Department field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the District field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the FaxNumber field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the FormOfAddress field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the FormulaPlanningTemplate field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the Language field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the PhoneNumber1 field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the PhoneNumber2 field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the POBox field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the PostalCode field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ProfitCenter field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ProfitCenterAddrName3 field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ProfitCenterAddrName4 field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ProfitCenterCreatedByUser field to query operations.static final ProfitCenterField<LocalDateTime>Use with available fluent helpers to apply the ProfitCenterCreationDate field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ProfitCenterIsBlocked field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ProfitCenterPrinterName field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ProfitCenterStandardHierarchy field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ProfitCtrResponsiblePersonName field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the ProfitCtrResponsibleUser field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the Region field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the Segment field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the StreetAddressName field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the TaxJurisdiction field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the TeleboxNumber field to query operations.static final ProfitCenterField<String>Use with available fluent helpers to apply the TelexNumber field to query operations.static final ProfitCenterLink<PrftCtrCompanyCodeAssignment>Use with available fluent helpers to apply the to_PrftCtrCompanyCodeAssignment navigation property to query operations.static final ProfitCenterLink<ProfitCenterText>Use with available fluent helpers to apply the to_Text navigation property to query operations.static final ProfitCenterField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final ProfitCenterField<LocalDateTime>Use with available fluent helpers to apply the ValidityStartDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionProfitCenter(String controllingArea, String profitCenter, LocalDateTime validityEndDate, String profitCtrResponsiblePersonName, String companyCode, String profitCtrResponsibleUser, LocalDateTime validityStartDate, String department, String profitCenterStandardHierarchy, String segment, String profitCenterIsBlocked, String formulaPlanningTemplate, String formOfAddress, String addressName, String additionalName, String profitCenterAddrName3, String profitCenterAddrName4, String streetAddressName, String pOBox, String cityName, String postalCode, String district, String country, String region, String taxJurisdiction, String language, String phoneNumber1, String phoneNumber2, String teleboxNumber, String telexNumber, String faxNumber, String dataCommunicationPhoneNumber, String profitCenterPrinterName, String profitCenterCreatedByUser, LocalDateTime profitCenterCreationDate, List<PrftCtrCompanyCodeAssignment> toPrftCtrCompanyCodeAssignment, List<ProfitCenterText> toText) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated PrftCtrCompanyCodeAssignment entities.voidaddText(ProfitCenterText... entity) Adds elements to the list of associated ProfitCenterText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the PrftCtrCompanyCodeAssignment entities (one to many) associated with this entity.Fetches the ProfitCenterText entities (one to many) associated with this entity.static <T,DomainT>
ProfitCenterField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ProfitCenterField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 14protected StringConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 35protected StringConstraints: Not nullable, Maximum length: 31Constraints: Not nullable, Maximum length: 15Constraints: Not nullable, Maximum length: 10getKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 16Constraints: Not nullable, Maximum length: 16getPOBox()Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<PrftCtrCompanyCodeAssignment>>Retrieval of associated PrftCtrCompanyCodeAssignment entities (one to many).Retrieval of associated PrftCtrCompanyCodeAssignment entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 15Constraints: Not nullable, Maximum length: 15Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<List<ProfitCenterText>>Retrieval of associated ProfitCenterText entities (one to many).Retrieval of associated ProfitCenterText entities (one to many).getType()(Key Field) Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetAdditionalName(String additionalName) Constraints: Not nullable, Maximum length: 35voidsetAddressName(String addressName) Constraints: Not nullable, Maximum length: 35voidsetCityName(String cityName) Constraints: Not nullable, Maximum length: 35voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetControllingArea(String controllingArea) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCountry(String country) Constraints: Not nullable, Maximum length: 3voidsetDataCommunicationPhoneNumber(String dataCommunicationPhoneNumber) Constraints: Not nullable, Maximum length: 14voidsetDepartment(String department) Constraints: Not nullable, Maximum length: 12voidsetDistrict(String district) Constraints: Not nullable, Maximum length: 35voidsetFaxNumber(String faxNumber) Constraints: Not nullable, Maximum length: 31voidsetFormOfAddress(String formOfAddress) Constraints: Not nullable, Maximum length: 15voidsetFormulaPlanningTemplate(String formulaPlanningTemplate) Constraints: Not nullable, Maximum length: 10voidsetLanguage(String language) Constraints: Not nullable, Maximum length: 2voidsetPhoneNumber1(String phoneNumber1) Constraints: Not nullable, Maximum length: 16voidsetPhoneNumber2(String phoneNumber2) Constraints: Not nullable, Maximum length: 16voidConstraints: Not nullable, Maximum length: 10voidsetPostalCode(String postalCode) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated PrftCtrCompanyCodeAssignment entities for the loaded navigation property to_PrftCtrCompanyCodeAssignment.voidsetProfitCenter(String profitCenter) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetProfitCenterAddrName3(String profitCenterAddrName3) Constraints: Not nullable, Maximum length: 35voidsetProfitCenterAddrName4(String profitCenterAddrName4) Constraints: Not nullable, Maximum length: 35voidsetProfitCenterCreatedByUser(String profitCenterCreatedByUser) Constraints: Not nullable, Maximum length: 12voidsetProfitCenterCreationDate(LocalDateTime profitCenterCreationDate) Constraints: Not nullable, Precision: 0voidsetProfitCenterIsBlocked(String profitCenterIsBlocked) Constraints: Not nullable, Maximum length: 1voidsetProfitCenterPrinterName(String profitCenterPrinterName) Constraints: Not nullable, Maximum length: 4voidsetProfitCenterStandardHierarchy(String profitCenterStandardHierarchy) Constraints: Not nullable, Maximum length: 12voidsetProfitCtrResponsiblePersonName(String profitCtrResponsiblePersonName) Constraints: Not nullable, Maximum length: 20voidsetProfitCtrResponsibleUser(String profitCtrResponsibleUser) Constraints: Not nullable, Maximum length: 12voidConstraints: Not nullable, Maximum length: 3voidsetSegment(String segment) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) voidsetStreetAddressName(String streetAddressName) Constraints: Not nullable, Maximum length: 35voidsetTaxJurisdiction(String taxJurisdiction) Constraints: Not nullable, Maximum length: 15voidsetTeleboxNumber(String teleboxNumber) Constraints: Not nullable, Maximum length: 15voidsetTelexNumber(String telexNumber) Constraints: Not nullable, Maximum length: 30voidsetText(List<ProfitCenterText> value) Overwrites the list of associated ProfitCenterText entities for the loaded navigation property to_Text.voidsetValidityEndDate(LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetValidityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0toString()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
-
Field Details
-
ALL_FIELDS
Selector for all available fields of ProfitCenter. -
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations. -
PROFIT_CENTER
Use with available fluent helpers to apply the ProfitCenter field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations. -
PROFIT_CTR_RESPONSIBLE_PERSON_NAME
Use with available fluent helpers to apply the ProfitCtrResponsiblePersonName field to query operations. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
PROFIT_CTR_RESPONSIBLE_USER
Use with available fluent helpers to apply the ProfitCtrResponsibleUser field to query operations. -
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations. -
DEPARTMENT
Use with available fluent helpers to apply the Department field to query operations. -
PROFIT_CENTER_STANDARD_HIERARCHY
Use with available fluent helpers to apply the ProfitCenterStandardHierarchy field to query operations. -
SEGMENT
Use with available fluent helpers to apply the Segment field to query operations. -
PROFIT_CENTER_IS_BLOCKED
Use with available fluent helpers to apply the ProfitCenterIsBlocked field to query operations. -
FORMULA_PLANNING_TEMPLATE
Use with available fluent helpers to apply the FormulaPlanningTemplate field to query operations. -
FORM_OF_ADDRESS
Use with available fluent helpers to apply the FormOfAddress field to query operations. -
ADDRESS_NAME
Use with available fluent helpers to apply the AddressName field to query operations. -
ADDITIONAL_NAME
Use with available fluent helpers to apply the AdditionalName field to query operations. -
PROFIT_CENTER_ADDR_NAME3
Use with available fluent helpers to apply the ProfitCenterAddrName3 field to query operations. -
PROFIT_CENTER_ADDR_NAME4
Use with available fluent helpers to apply the ProfitCenterAddrName4 field to query operations. -
STREET_ADDRESS_NAME
Use with available fluent helpers to apply the StreetAddressName field to query operations. -
PO_BOX
Use with available fluent helpers to apply the POBox field to query operations. -
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations. -
POSTAL_CODE
Use with available fluent helpers to apply the PostalCode field to query operations. -
DISTRICT
Use with available fluent helpers to apply the District field to query operations. -
COUNTRY
Use with available fluent helpers to apply the Country field to query operations. -
REGION
Use with available fluent helpers to apply the Region field to query operations. -
TAX_JURISDICTION
Use with available fluent helpers to apply the TaxJurisdiction field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
PHONE_NUMBER1
Use with available fluent helpers to apply the PhoneNumber1 field to query operations. -
PHONE_NUMBER2
Use with available fluent helpers to apply the PhoneNumber2 field to query operations. -
TELEBOX_NUMBER
Use with available fluent helpers to apply the TeleboxNumber field to query operations. -
TELEX_NUMBER
Use with available fluent helpers to apply the TelexNumber field to query operations. -
FAX_NUMBER
Use with available fluent helpers to apply the FaxNumber field to query operations. -
DATA_COMMUNICATION_PHONE_NUMBER
Use with available fluent helpers to apply the DataCommunicationPhoneNumber field to query operations. -
PROFIT_CENTER_PRINTER_NAME
Use with available fluent helpers to apply the ProfitCenterPrinterName field to query operations. -
PROFIT_CENTER_CREATED_BY_USER
Use with available fluent helpers to apply the ProfitCenterCreatedByUser field to query operations. -
PROFIT_CENTER_CREATION_DATE
Use with available fluent helpers to apply the ProfitCenterCreationDate field to query operations. -
TO_PRFT_CTR_COMPANY_CODE_ASSIGNMENT
public static final ProfitCenterLink<PrftCtrCompanyCodeAssignment> TO_PRFT_CTR_COMPANY_CODE_ASSIGNMENTUse with available fluent helpers to apply the to_PrftCtrCompanyCodeAssignment navigation property to query operations. -
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
-
-
Constructor Details
-
ProfitCenter
public ProfitCenter() -
ProfitCenter
public ProfitCenter(@Nullable String controllingArea, @Nullable String profitCenter, @Nullable LocalDateTime validityEndDate, @Nullable String profitCtrResponsiblePersonName, @Nullable String companyCode, @Nullable String profitCtrResponsibleUser, @Nullable LocalDateTime validityStartDate, @Nullable String department, @Nullable String profitCenterStandardHierarchy, @Nullable String segment, @Nullable String profitCenterIsBlocked, @Nullable String formulaPlanningTemplate, @Nullable String formOfAddress, @Nullable String addressName, @Nullable String additionalName, @Nullable String profitCenterAddrName3, @Nullable String profitCenterAddrName4, @Nullable String streetAddressName, @Nullable String pOBox, @Nullable String cityName, @Nullable String postalCode, @Nullable String district, @Nullable String country, @Nullable String region, @Nullable String taxJurisdiction, @Nullable String language, @Nullable String phoneNumber1, @Nullable String phoneNumber2, @Nullable String teleboxNumber, @Nullable String telexNumber, @Nullable String faxNumber, @Nullable String dataCommunicationPhoneNumber, @Nullable String profitCenterPrinterName, @Nullable String profitCenterCreatedByUser, @Nullable LocalDateTime profitCenterCreationDate, List<PrftCtrCompanyCodeAssignment> toPrftCtrCompanyCodeAssignment, List<ProfitCenterText> toText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProfitCenter>
-
setControllingArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Parameters:
controllingArea- Controlling Area
-
setProfitCenter
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProfitCenter
- Parameters:
profitCenter- Profit Center
-
setValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Valid To Date
-
setProfitCtrResponsiblePersonName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProfitCtrResponsiblePersonName
- Parameters:
profitCtrResponsiblePersonName- Person Responsible for Profit Center
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setProfitCtrResponsibleUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProfitCtrResponsibleUser
- Parameters:
profitCtrResponsibleUser- User Responsible for the Profit Center
-
setValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Valid-From Date
-
setDepartment
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: Department
- Parameters:
department- Department
-
setProfitCenterStandardHierarchy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProfitCenterStandardHierarchy
- Parameters:
profitCenterStandardHierarchy- Profit center area
-
setSegment
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Segment
- Parameters:
segment- Segment for Segmental Reporting
-
setProfitCenterIsBlocked
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProfitCenterIsBlocked
- Parameters:
profitCenterIsBlocked- Lock indicator
-
setFormulaPlanningTemplate
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: FormulaPlanningTemplate
- Parameters:
formulaPlanningTemplate- Template for Formula Planning in Profit Centers
-
setFormOfAddress
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: FormOfAddress
- Parameters:
formOfAddress- Title
-
setAddressName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: AddressName
- Parameters:
addressName- Name 1
-
setAdditionalName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: AdditionalName
- Parameters:
additionalName- Name 2
-
setProfitCenterAddrName3
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: ProfitCenterAddrName3
- Parameters:
profitCenterAddrName3- Name 3
-
setProfitCenterAddrName4
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: ProfitCenterAddrName4
- Parameters:
profitCenterAddrName4- Name 4
-
setStreetAddressName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: StreetAddressName
- Parameters:
streetAddressName- Street and House Number
-
setPOBox
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: POBox
- Parameters:
pOBox- PO Box
-
setCityName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: CityName
- Parameters:
cityName- City
-
setPostalCode
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PostalCode
- Parameters:
postalCode- Postal Code
-
setDistrict
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: District
- Parameters:
district- District
-
setCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Parameters:
country- Country/Region Key
-
setRegion
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Region
- Parameters:
region- Region (State, Province, County)
-
setTaxJurisdiction
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TaxJurisdiction
- Parameters:
taxJurisdiction- Tax Jurisdiction
-
setLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setPhoneNumber1
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: PhoneNumber1
- Parameters:
phoneNumber1- First telephone number
-
setPhoneNumber2
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: PhoneNumber2
- Parameters:
phoneNumber2- Second telephone number
-
setTeleboxNumber
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TeleboxNumber
- Parameters:
teleboxNumber- Telebox Number
-
setTelexNumber
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: TelexNumber
- Parameters:
telexNumber- Telex Number
-
setFaxNumber
Constraints: Not nullable, Maximum length: 31Original property name from the Odata EDM: FaxNumber
- Parameters:
faxNumber- Fax Number
-
setDataCommunicationPhoneNumber
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: DataCommunicationPhoneNumber
- Parameters:
dataCommunicationPhoneNumber- Data communication line no.
-
setProfitCenterPrinterName
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProfitCenterPrinterName
- Parameters:
profitCenterPrinterName- Printer name for profit center
-
setProfitCenterCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProfitCenterCreatedByUser
- Parameters:
profitCenterCreatedByUser- Entered By
-
setProfitCenterCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProfitCenterCreationDate
- Parameters:
profitCenterCreationDate- Created on
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProfitCenter>
-
getKey
- Overrides:
getKeyin classVdmObject<ProfitCenter>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProfitCenter>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProfitCenter>
-
field
@Nonnull public static <T> ProfitCenterField<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> ProfitCenterField<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<ProfitCenter>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ProfitCenter>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ProfitCenter>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProfitCenter>
-
fetchPrftCtrCompanyCodeAssignment
Fetches the PrftCtrCompanyCodeAssignment entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PrftCtrCompanyCodeAssignment.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated PrftCtrCompanyCodeAssignment entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPrftCtrCompanyCodeAssignmentOrFetch
Retrieval of associated PrftCtrCompanyCodeAssignment entities (one to many). This corresponds to the OData navigation property to_PrftCtrCompanyCodeAssignment.If the navigation property to_PrftCtrCompanyCodeAssignment of a queried ProfitCenter 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.
- Returns:
- List of associated PrftCtrCompanyCodeAssignment entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPrftCtrCompanyCodeAssignmentIfPresent
@Nonnull public io.vavr.control.Option<List<PrftCtrCompanyCodeAssignment>> getPrftCtrCompanyCodeAssignmentIfPresent()Retrieval of associated PrftCtrCompanyCodeAssignment entities (one to many). This corresponds to the OData navigation property to_PrftCtrCompanyCodeAssignment.If the navigation property for an entity ProfitCenter 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 to_PrftCtrCompanyCodeAssignment is already loaded, the
result will contain the PrftCtrCompanyCodeAssignment entities. If not, an
Optionwith result stateemptyis returned.
-
setPrftCtrCompanyCodeAssignment
Overwrites the list of associated PrftCtrCompanyCodeAssignment entities for the loaded navigation property to_PrftCtrCompanyCodeAssignment.If the navigation property to_PrftCtrCompanyCodeAssignment of a queried ProfitCenter 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.
- Parameters:
value- List of PrftCtrCompanyCodeAssignment entities.
-
addPrftCtrCompanyCodeAssignment
Adds elements to the list of associated PrftCtrCompanyCodeAssignment entities. This corresponds to the OData navigation property to_PrftCtrCompanyCodeAssignment.If the navigation property to_PrftCtrCompanyCodeAssignment of a queried ProfitCenter 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.
- Parameters:
entity- Array of PrftCtrCompanyCodeAssignment entities.
-
fetchText
Fetches the ProfitCenterText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Text.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ProfitCenterText entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getTextOrFetch
Retrieval of associated ProfitCenterText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried ProfitCenter 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.
- Returns:
- List of associated ProfitCenterText entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getTextIfPresent
Retrieval of associated ProfitCenterText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property for an entity ProfitCenter 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 to_Text is already loaded, the result will contain the
ProfitCenterText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated ProfitCenterText entities for the loaded navigation property to_Text.If the navigation property to_Text of a queried ProfitCenter 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.
- Parameters:
value- List of ProfitCenterText entities.
-
addText
Adds elements to the list of associated ProfitCenterText entities. This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried ProfitCenter 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.
- Parameters:
entity- Array of ProfitCenterText entities.
-
builder
-
getControllingArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Returns:
- Controlling Area
-
getProfitCenter
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProfitCenter
- Returns:
- Profit Center
-
getValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- Valid To Date
-
getProfitCtrResponsiblePersonName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProfitCtrResponsiblePersonName
- Returns:
- Person Responsible for Profit Center
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getProfitCtrResponsibleUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProfitCtrResponsibleUser
- Returns:
- User Responsible for the Profit Center
-
getValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
- Valid-From Date
-
getDepartment
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: Department
- Returns:
- Department
-
getProfitCenterStandardHierarchy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProfitCenterStandardHierarchy
- Returns:
- Profit center area
-
getSegment
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Segment
- Returns:
- Segment for Segmental Reporting
-
getProfitCenterIsBlocked
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProfitCenterIsBlocked
- Returns:
- Lock indicator
-
getFormulaPlanningTemplate
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: FormulaPlanningTemplate
- Returns:
- Template for Formula Planning in Profit Centers
-
getFormOfAddress
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: FormOfAddress
- Returns:
- Title
-
getAddressName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: AddressName
- Returns:
- Name 1
-
getAdditionalName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: AdditionalName
- Returns:
- Name 2
-
getProfitCenterAddrName3
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: ProfitCenterAddrName3
- Returns:
- Name 3
-
getProfitCenterAddrName4
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: ProfitCenterAddrName4
- Returns:
- Name 4
-
getStreetAddressName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: StreetAddressName
- Returns:
- Street and House Number
-
getPOBox
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: POBox
- Returns:
- PO Box
-
getCityName
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: CityName
- Returns:
- City
-
getPostalCode
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PostalCode
- Returns:
- Postal Code
-
getDistrict
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: District
- Returns:
- District
-
getCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Returns:
- Country/Region Key
-
getRegion
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Region
- Returns:
- Region (State, Province, County)
-
getTaxJurisdiction
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TaxJurisdiction
- Returns:
- Tax Jurisdiction
-
getLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getPhoneNumber1
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: PhoneNumber1
- Returns:
- First telephone number
-
getPhoneNumber2
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: PhoneNumber2
- Returns:
- Second telephone number
-
getTeleboxNumber
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: TeleboxNumber
- Returns:
- Telebox Number
-
getTelexNumber
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: TelexNumber
- Returns:
- Telex Number
-
getFaxNumber
Constraints: Not nullable, Maximum length: 31Original property name from the Odata EDM: FaxNumber
- Returns:
- Fax Number
-
getDataCommunicationPhoneNumber
Constraints: Not nullable, Maximum length: 14Original property name from the Odata EDM: DataCommunicationPhoneNumber
- Returns:
- Data communication line no.
-
getProfitCenterPrinterName
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ProfitCenterPrinterName
- Returns:
- Printer name for profit center
-
getProfitCenterCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProfitCenterCreatedByUser
- Returns:
- Entered By
-
getProfitCenterCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ProfitCenterCreationDate
- Returns:
- Created on
-
toString
- Overrides:
toStringin classVdmObject<ProfitCenter>
-
equals
- Overrides:
equalsin classVdmEntity<ProfitCenter>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProfitCenter>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProfitCenter>
-