public class ProfitCenter extends VdmEntity<ProfitCenter>
Original entity name from the Odata EDM: A_ProfitCenterType
Modifier and Type | Class and Description |
---|---|
static class |
ProfitCenter.ProfitCenterBuilder
Helper class to allow for fluent creation of ProfitCenter instances.
|
Modifier and Type | Field and Description |
---|---|
static ProfitCenterField<String> |
ADDITIONAL_NAME
Use with available fluent helpers to apply the AdditionalName field to query operations.
|
static ProfitCenterField<String> |
ADDRESS_NAME
Use with available fluent helpers to apply the AddressName field to query operations.
|
static ProfitCenterSelectable |
ALL_FIELDS
Selector for all available fields of ProfitCenter.
|
static ProfitCenterField<String> |
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations.
|
static ProfitCenterField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static ProfitCenterField<String> |
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations.
|
static ProfitCenterField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static ProfitCenterField<String> |
DATA_COMMUNICATION_PHONE_NUMBER
Use with available fluent helpers to apply the DataCommunicationPhoneNumber field to query operations.
|
static ProfitCenterField<String> |
DEPARTMENT
Use with available fluent helpers to apply the Department field to query operations.
|
static ProfitCenterField<String> |
DISTRICT
Use with available fluent helpers to apply the District field to query operations.
|
static ProfitCenterField<String> |
FAX_NUMBER
Use with available fluent helpers to apply the FaxNumber field to query operations.
|
static ProfitCenterField<String> |
FORM_OF_ADDRESS
Use with available fluent helpers to apply the FormOfAddress field to query operations.
|
static ProfitCenterField<String> |
FORMULA_PLANNING_TEMPLATE
Use with available fluent helpers to apply the FormulaPlanningTemplate field to query operations.
|
static ProfitCenterField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static ProfitCenterField<String> |
PHONE_NUMBER1
Use with available fluent helpers to apply the PhoneNumber1 field to query operations.
|
static ProfitCenterField<String> |
PHONE_NUMBER2
Use with available fluent helpers to apply the PhoneNumber2 field to query operations.
|
static ProfitCenterField<String> |
PO_BOX
Use with available fluent helpers to apply the POBox field to query operations.
|
static ProfitCenterField<String> |
POSTAL_CODE
Use with available fluent helpers to apply the PostalCode field to query operations.
|
static ProfitCenterField<String> |
PROFIT_CENTER
Use with available fluent helpers to apply the ProfitCenter field to query operations.
|
static ProfitCenterField<String> |
PROFIT_CENTER_ADDR_NAME3
Use with available fluent helpers to apply the ProfitCenterAddrName3 field to query operations.
|
static ProfitCenterField<String> |
PROFIT_CENTER_ADDR_NAME4
Use with available fluent helpers to apply the ProfitCenterAddrName4 field to query operations.
|
static ProfitCenterField<String> |
PROFIT_CENTER_CREATED_BY_USER
Use with available fluent helpers to apply the ProfitCenterCreatedByUser field to query operations.
|
static ProfitCenterField<LocalDateTime> |
PROFIT_CENTER_CREATION_DATE
Use with available fluent helpers to apply the ProfitCenterCreationDate field to query operations.
|
static ProfitCenterField<String> |
PROFIT_CENTER_IS_BLOCKED
Use with available fluent helpers to apply the ProfitCenterIsBlocked field to query operations.
|
static ProfitCenterField<String> |
PROFIT_CENTER_PRINTER_NAME
Use with available fluent helpers to apply the ProfitCenterPrinterName field to query operations.
|
static ProfitCenterField<String> |
PROFIT_CENTER_STANDARD_HIERARCHY
Use with available fluent helpers to apply the ProfitCenterStandardHierarchy field to query operations.
|
static ProfitCenterField<String> |
PROFIT_CTR_RESPONSIBLE_PERSON_NAME
Use with available fluent helpers to apply the ProfitCtrResponsiblePersonName field to query operations.
|
static ProfitCenterField<String> |
PROFIT_CTR_RESPONSIBLE_USER
Use with available fluent helpers to apply the ProfitCtrResponsibleUser field to query operations.
|
static ProfitCenterField<String> |
REGION
Use with available fluent helpers to apply the Region field to query operations.
|
static ProfitCenterField<String> |
SEGMENT
Use with available fluent helpers to apply the Segment field to query operations.
|
static ProfitCenterField<String> |
STREET_ADDRESS_NAME
Use with available fluent helpers to apply the StreetAddressName field to query operations.
|
static ProfitCenterField<String> |
TAX_JURISDICTION
Use with available fluent helpers to apply the TaxJurisdiction field to query operations.
|
static ProfitCenterField<String> |
TELEBOX_NUMBER
Use with available fluent helpers to apply the TeleboxNumber field to query operations.
|
static ProfitCenterField<String> |
TELEX_NUMBER
Use with available fluent helpers to apply the TelexNumber field to query operations.
|
static ProfitCenterLink<PrftCtrCompanyCodeAssignment> |
TO_PRFT_CTR_COMPANY_CODE_ASSIGNMENT
Use with available fluent helpers to apply the to_PrftCtrCompanyCodeAssignment navigation property to
query operations.
|
static ProfitCenterLink<ProfitCenterText> |
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
|
static ProfitCenterField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static ProfitCenterField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProfitCenter() |
ProfitCenter(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) |
Modifier and Type | Method and Description |
---|---|
void |
addPrftCtrCompanyCodeAssignment(PrftCtrCompanyCodeAssignment... entity)
Adds elements to the list of associated PrftCtrCompanyCodeAssignment entities.
|
void |
addText(ProfitCenterText... entity)
Adds elements to the list of associated ProfitCenterText entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ProfitCenter.ProfitCenterBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<PrftCtrCompanyCodeAssignment> |
fetchPrftCtrCompanyCodeAssignment()
Fetches the PrftCtrCompanyCodeAssignment entities (one to many) associated with this entity.
|
List<ProfitCenterText> |
fetchText()
Fetches the ProfitCenterText entities (one to many) associated with this entity.
|
static <T> ProfitCenterField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAdditionalName()
Constraints: Not nullable, Maximum length: 35
|
String |
getAddressName()
Constraints: Not nullable, Maximum length: 35
|
String |
getCityName()
Constraints: Not nullable, Maximum length: 35
|
String |
getCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getControllingArea()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCountry()
Constraints: Not nullable, Maximum length: 3
|
String |
getDataCommunicationPhoneNumber()
Constraints: Not nullable, Maximum length: 14
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getDepartment()
Constraints: Not nullable, Maximum length: 12
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDistrict()
Constraints: Not nullable, Maximum length: 35
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getFaxNumber()
Constraints: Not nullable, Maximum length: 31
|
String |
getFormOfAddress()
Constraints: Not nullable, Maximum length: 15
|
String |
getFormulaPlanningTemplate()
Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
String |
getPhoneNumber1()
Constraints: Not nullable, Maximum length: 16
|
String |
getPhoneNumber2()
Constraints: Not nullable, Maximum length: 16
|
String |
getPOBox()
Constraints: Not nullable, Maximum length: 10
|
String |
getPostalCode()
Constraints: Not nullable, Maximum length: 10
|
io.vavr.control.Option<List<PrftCtrCompanyCodeAssignment>> |
getPrftCtrCompanyCodeAssignmentIfPresent()
Retrieval of associated PrftCtrCompanyCodeAssignment entities (one to many).
|
List<PrftCtrCompanyCodeAssignment> |
getPrftCtrCompanyCodeAssignmentOrFetch()
Retrieval of associated PrftCtrCompanyCodeAssignment entities (one to many).
|
String |
getProfitCenter()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getProfitCenterAddrName3()
Constraints: Not nullable, Maximum length: 35
|
String |
getProfitCenterAddrName4()
Constraints: Not nullable, Maximum length: 35
|
String |
getProfitCenterCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getProfitCenterCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getProfitCenterIsBlocked()
Constraints: Not nullable, Maximum length: 1
|
String |
getProfitCenterPrinterName()
Constraints: Not nullable, Maximum length: 4
|
String |
getProfitCenterStandardHierarchy()
Constraints: Not nullable, Maximum length: 12
|
String |
getProfitCtrResponsiblePersonName()
Constraints: Not nullable, Maximum length: 20
|
String |
getProfitCtrResponsibleUser()
Constraints: Not nullable, Maximum length: 12
|
String |
getRegion()
Constraints: Not nullable, Maximum length: 3
|
String |
getSegment()
Constraints: Not nullable, Maximum length: 10
|
String |
getStreetAddressName()
Constraints: Not nullable, Maximum length: 35
|
String |
getTaxJurisdiction()
Constraints: Not nullable, Maximum length: 15
|
String |
getTeleboxNumber()
Constraints: Not nullable, Maximum length: 15
|
String |
getTelexNumber()
Constraints: Not nullable, Maximum length: 30
|
io.vavr.control.Option<List<ProfitCenterText>> |
getTextIfPresent()
Retrieval of associated ProfitCenterText entities (one to many).
|
List<ProfitCenterText> |
getTextOrFetch()
Retrieval of associated ProfitCenterText entities (one to many).
|
Class<ProfitCenter> |
getType() |
LocalDateTime |
getValidityEndDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setAdditionalName(String additionalName)
Constraints: Not nullable, Maximum length: 35
|
void |
setAddressName(String addressName)
Constraints: Not nullable, Maximum length: 35
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 35
|
void |
setCompanyCode(String companyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setControllingArea(String controllingArea)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCountry(String country)
Constraints: Not nullable, Maximum length: 3
|
void |
setDataCommunicationPhoneNumber(String dataCommunicationPhoneNumber)
Constraints: Not nullable, Maximum length: 14
|
void |
setDepartment(String department)
Constraints: Not nullable, Maximum length: 12
|
void |
setDistrict(String district)
Constraints: Not nullable, Maximum length: 35
|
void |
setFaxNumber(String faxNumber)
Constraints: Not nullable, Maximum length: 31
|
void |
setFormOfAddress(String formOfAddress)
Constraints: Not nullable, Maximum length: 15
|
void |
setFormulaPlanningTemplate(String formulaPlanningTemplate)
Constraints: Not nullable, Maximum length: 10
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setPhoneNumber1(String phoneNumber1)
Constraints: Not nullable, Maximum length: 16
|
void |
setPhoneNumber2(String phoneNumber2)
Constraints: Not nullable, Maximum length: 16
|
void |
setPOBox(String pOBox)
Constraints: Not nullable, Maximum length: 10
|
void |
setPostalCode(String postalCode)
Constraints: Not nullable, Maximum length: 10
|
void |
setPrftCtrCompanyCodeAssignment(List<PrftCtrCompanyCodeAssignment> value)
Overwrites the list of associated PrftCtrCompanyCodeAssignment entities for the loaded navigation property
to_PrftCtrCompanyCodeAssignment.
|
void |
setProfitCenter(String profitCenter)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setProfitCenterAddrName3(String profitCenterAddrName3)
Constraints: Not nullable, Maximum length: 35
|
void |
setProfitCenterAddrName4(String profitCenterAddrName4)
Constraints: Not nullable, Maximum length: 35
|
void |
setProfitCenterCreatedByUser(String profitCenterCreatedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setProfitCenterCreationDate(LocalDateTime profitCenterCreationDate)
Constraints: Not nullable, Precision: 0
|
void |
setProfitCenterIsBlocked(String profitCenterIsBlocked)
Constraints: Not nullable, Maximum length: 1
|
void |
setProfitCenterPrinterName(String profitCenterPrinterName)
Constraints: Not nullable, Maximum length: 4
|
void |
setProfitCenterStandardHierarchy(String profitCenterStandardHierarchy)
Constraints: Not nullable, Maximum length: 12
|
void |
setProfitCtrResponsiblePersonName(String profitCtrResponsiblePersonName)
Constraints: Not nullable, Maximum length: 20
|
void |
setProfitCtrResponsibleUser(String profitCtrResponsibleUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setRegion(String region)
Constraints: Not nullable, Maximum length: 3
|
void |
setSegment(String segment)
Constraints: Not nullable, Maximum length: 10
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStreetAddressName(String streetAddressName)
Constraints: Not nullable, Maximum length: 35
|
void |
setTaxJurisdiction(String taxJurisdiction)
Constraints: Not nullable, Maximum length: 15
|
void |
setTeleboxNumber(String teleboxNumber)
Constraints: Not nullable, Maximum length: 15
|
void |
setTelexNumber(String telexNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setText(List<ProfitCenterText> value)
Overwrites the list of associated ProfitCenterText entities for the loaded navigation property
to_Text.
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final ProfitCenterSelectable ALL_FIELDS
public static final ProfitCenterField<String> CONTROLLING_AREA
public static final ProfitCenterField<String> PROFIT_CENTER
public static final ProfitCenterField<LocalDateTime> VALIDITY_END_DATE
public static final ProfitCenterField<String> PROFIT_CTR_RESPONSIBLE_PERSON_NAME
public static final ProfitCenterField<String> COMPANY_CODE
public static final ProfitCenterField<String> PROFIT_CTR_RESPONSIBLE_USER
public static final ProfitCenterField<LocalDateTime> VALIDITY_START_DATE
public static final ProfitCenterField<String> DEPARTMENT
public static final ProfitCenterField<String> PROFIT_CENTER_STANDARD_HIERARCHY
public static final ProfitCenterField<String> SEGMENT
public static final ProfitCenterField<String> PROFIT_CENTER_IS_BLOCKED
public static final ProfitCenterField<String> FORMULA_PLANNING_TEMPLATE
public static final ProfitCenterField<String> FORM_OF_ADDRESS
public static final ProfitCenterField<String> ADDRESS_NAME
public static final ProfitCenterField<String> ADDITIONAL_NAME
public static final ProfitCenterField<String> PROFIT_CENTER_ADDR_NAME3
public static final ProfitCenterField<String> PROFIT_CENTER_ADDR_NAME4
public static final ProfitCenterField<String> STREET_ADDRESS_NAME
public static final ProfitCenterField<String> PO_BOX
public static final ProfitCenterField<String> CITY_NAME
public static final ProfitCenterField<String> POSTAL_CODE
public static final ProfitCenterField<String> DISTRICT
public static final ProfitCenterField<String> COUNTRY
public static final ProfitCenterField<String> REGION
public static final ProfitCenterField<String> TAX_JURISDICTION
public static final ProfitCenterField<String> LANGUAGE
public static final ProfitCenterField<String> PHONE_NUMBER1
public static final ProfitCenterField<String> PHONE_NUMBER2
public static final ProfitCenterField<String> TELEBOX_NUMBER
public static final ProfitCenterField<String> TELEX_NUMBER
public static final ProfitCenterField<String> FAX_NUMBER
public static final ProfitCenterField<String> DATA_COMMUNICATION_PHONE_NUMBER
public static final ProfitCenterField<String> PROFIT_CENTER_PRINTER_NAME
public static final ProfitCenterField<String> PROFIT_CENTER_CREATED_BY_USER
public static final ProfitCenterField<LocalDateTime> PROFIT_CENTER_CREATION_DATE
public static final ProfitCenterLink<PrftCtrCompanyCodeAssignment> TO_PRFT_CTR_COMPANY_CODE_ASSIGNMENT
public static final ProfitCenterLink<ProfitCenterText> TO_TEXT
public 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)
@Nonnull public Class<ProfitCenter> getType()
getType
in class VdmObject<ProfitCenter>
public void setControllingArea(@Nullable String controllingArea)
Original property name from the Odata EDM: ControllingArea
controllingArea
- Controlling Areapublic void setProfitCenter(@Nullable String profitCenter)
Original property name from the Odata EDM: ProfitCenter
profitCenter
- Profit Centerpublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Valid To Datepublic void setProfitCtrResponsiblePersonName(@Nullable String profitCtrResponsiblePersonName)
Original property name from the Odata EDM: ProfitCtrResponsiblePersonName
profitCtrResponsiblePersonName
- Person Responsible for Profit Centerpublic void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Company Codepublic void setProfitCtrResponsibleUser(@Nullable String profitCtrResponsibleUser)
Original property name from the Odata EDM: ProfitCtrResponsibleUser
profitCtrResponsibleUser
- User Responsible for the Profit Centerpublic void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Valid-From Datepublic void setDepartment(@Nullable String department)
Original property name from the Odata EDM: Department
department
- Departmentpublic void setProfitCenterStandardHierarchy(@Nullable String profitCenterStandardHierarchy)
Original property name from the Odata EDM: ProfitCenterStandardHierarchy
profitCenterStandardHierarchy
- Profit center areapublic void setSegment(@Nullable String segment)
Original property name from the Odata EDM: Segment
segment
- Segment for Segmental Reportingpublic void setProfitCenterIsBlocked(@Nullable String profitCenterIsBlocked)
Original property name from the Odata EDM: ProfitCenterIsBlocked
profitCenterIsBlocked
- Lock indicatorpublic void setFormulaPlanningTemplate(@Nullable String formulaPlanningTemplate)
Original property name from the Odata EDM: FormulaPlanningTemplate
formulaPlanningTemplate
- Template for Formula Planning in Profit Centerspublic void setFormOfAddress(@Nullable String formOfAddress)
Original property name from the Odata EDM: FormOfAddress
formOfAddress
- Titlepublic void setAddressName(@Nullable String addressName)
Original property name from the Odata EDM: AddressName
addressName
- Name 1public void setAdditionalName(@Nullable String additionalName)
Original property name from the Odata EDM: AdditionalName
additionalName
- Name 2public void setProfitCenterAddrName3(@Nullable String profitCenterAddrName3)
Original property name from the Odata EDM: ProfitCenterAddrName3
profitCenterAddrName3
- Name 3public void setProfitCenterAddrName4(@Nullable String profitCenterAddrName4)
Original property name from the Odata EDM: ProfitCenterAddrName4
profitCenterAddrName4
- Name 4public void setStreetAddressName(@Nullable String streetAddressName)
Original property name from the Odata EDM: StreetAddressName
streetAddressName
- Street and House Numberpublic void setPOBox(@Nullable String pOBox)
Original property name from the Odata EDM: POBox
pOBox
- PO Boxpublic void setCityName(@Nullable String cityName)
Original property name from the Odata EDM: CityName
cityName
- Citypublic void setPostalCode(@Nullable String postalCode)
Original property name from the Odata EDM: PostalCode
postalCode
- Postal Codepublic void setDistrict(@Nullable String district)
Original property name from the Odata EDM: District
district
- Districtpublic void setCountry(@Nullable String country)
Original property name from the Odata EDM: Country
country
- Country Keypublic void setRegion(@Nullable String region)
Original property name from the Odata EDM: Region
region
- Region (State, Province, County)public void setTaxJurisdiction(@Nullable String taxJurisdiction)
Original property name from the Odata EDM: TaxJurisdiction
taxJurisdiction
- Tax Jurisdictionpublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Keypublic void setPhoneNumber1(@Nullable String phoneNumber1)
Original property name from the Odata EDM: PhoneNumber1
phoneNumber1
- First telephone numberpublic void setPhoneNumber2(@Nullable String phoneNumber2)
Original property name from the Odata EDM: PhoneNumber2
phoneNumber2
- Second telephone numberpublic void setTeleboxNumber(@Nullable String teleboxNumber)
Original property name from the Odata EDM: TeleboxNumber
teleboxNumber
- Telebox numberpublic void setTelexNumber(@Nullable String telexNumber)
Original property name from the Odata EDM: TelexNumber
telexNumber
- Telex numberpublic void setFaxNumber(@Nullable String faxNumber)
Original property name from the Odata EDM: FaxNumber
faxNumber
- Fax Numberpublic void setDataCommunicationPhoneNumber(@Nullable String dataCommunicationPhoneNumber)
Original property name from the Odata EDM: DataCommunicationPhoneNumber
dataCommunicationPhoneNumber
- Data communication line no.public void setProfitCenterPrinterName(@Nullable String profitCenterPrinterName)
Original property name from the Odata EDM: ProfitCenterPrinterName
profitCenterPrinterName
- Printer name for profit centerpublic void setProfitCenterCreatedByUser(@Nullable String profitCenterCreatedByUser)
Original property name from the Odata EDM: ProfitCenterCreatedByUser
profitCenterCreatedByUser
- Entered bypublic void setProfitCenterCreationDate(@Nullable LocalDateTime profitCenterCreationDate)
Original property name from the Odata EDM: ProfitCenterCreationDate
profitCenterCreationDate
- Entered Onprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProfitCenter>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProfitCenter>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProfitCenter>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProfitCenter>
@Nonnull public static <T> ProfitCenterField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ProfitCenterField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ProfitCenter>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ProfitCenter>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ProfitCenter>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProfitCenter>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<ProfitCenter>
@Nonnull public List<PrftCtrCompanyCodeAssignment> fetchPrftCtrCompanyCodeAssignment() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<PrftCtrCompanyCodeAssignment> getPrftCtrCompanyCodeAssignmentOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<PrftCtrCompanyCodeAssignment>> getPrftCtrCompanyCodeAssignmentIfPresent()
If the navigation property for an entity ProfitCenter 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 setPrftCtrCompanyCodeAssignment(@Nonnull List<PrftCtrCompanyCodeAssignment> value)
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.
value
- List of PrftCtrCompanyCodeAssignment entities.public void addPrftCtrCompanyCodeAssignment(PrftCtrCompanyCodeAssignment... entity)
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.
entity
- Array of PrftCtrCompanyCodeAssignment entities.@Nonnull public List<ProfitCenterText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<ProfitCenterText> getTextOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<ProfitCenterText>> getTextIfPresent()
If the navigation property for an entity ProfitCenter 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 setText(@Nonnull List<ProfitCenterText> value)
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.
value
- List of ProfitCenterText entities.public void addText(ProfitCenterText... entity)
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.
entity
- Array of ProfitCenterText entities.@Nonnull public static ProfitCenter.ProfitCenterBuilder builder()
@Nullable public String getControllingArea()
Original property name from the Odata EDM: ControllingArea
@Nullable public String getProfitCenter()
Original property name from the Odata EDM: ProfitCenter
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public String getProfitCtrResponsiblePersonName()
Original property name from the Odata EDM: ProfitCtrResponsiblePersonName
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getProfitCtrResponsibleUser()
Original property name from the Odata EDM: ProfitCtrResponsibleUser
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public String getDepartment()
Original property name from the Odata EDM: Department
@Nullable public String getProfitCenterStandardHierarchy()
Original property name from the Odata EDM: ProfitCenterStandardHierarchy
@Nullable public String getSegment()
Original property name from the Odata EDM: Segment
@Nullable public String getProfitCenterIsBlocked()
Original property name from the Odata EDM: ProfitCenterIsBlocked
@Nullable public String getFormulaPlanningTemplate()
Original property name from the Odata EDM: FormulaPlanningTemplate
@Nullable public String getFormOfAddress()
Original property name from the Odata EDM: FormOfAddress
@Nullable public String getAddressName()
Original property name from the Odata EDM: AddressName
@Nullable public String getAdditionalName()
Original property name from the Odata EDM: AdditionalName
@Nullable public String getProfitCenterAddrName3()
Original property name from the Odata EDM: ProfitCenterAddrName3
@Nullable public String getProfitCenterAddrName4()
Original property name from the Odata EDM: ProfitCenterAddrName4
@Nullable public String getStreetAddressName()
Original property name from the Odata EDM: StreetAddressName
@Nullable public String getPOBox()
Original property name from the Odata EDM: POBox
@Nullable public String getCityName()
Original property name from the Odata EDM: CityName
@Nullable public String getPostalCode()
Original property name from the Odata EDM: PostalCode
@Nullable public String getDistrict()
Original property name from the Odata EDM: District
@Nullable public String getCountry()
Original property name from the Odata EDM: Country
@Nullable public String getRegion()
Original property name from the Odata EDM: Region
@Nullable public String getTaxJurisdiction()
Original property name from the Odata EDM: TaxJurisdiction
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getPhoneNumber1()
Original property name from the Odata EDM: PhoneNumber1
@Nullable public String getPhoneNumber2()
Original property name from the Odata EDM: PhoneNumber2
@Nullable public String getTeleboxNumber()
Original property name from the Odata EDM: TeleboxNumber
@Nullable public String getTelexNumber()
Original property name from the Odata EDM: TelexNumber
@Nullable public String getFaxNumber()
Original property name from the Odata EDM: FaxNumber
@Nullable public String getDataCommunicationPhoneNumber()
Original property name from the Odata EDM: DataCommunicationPhoneNumber
@Nullable public String getProfitCenterPrinterName()
Original property name from the Odata EDM: ProfitCenterPrinterName
@Nullable public String getProfitCenterCreatedByUser()
Original property name from the Odata EDM: ProfitCenterCreatedByUser
@Nullable public LocalDateTime getProfitCenterCreationDate()
Original property name from the Odata EDM: ProfitCenterCreationDate
@Nonnull public String toString()
toString
in class VdmObject<ProfitCenter>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProfitCenter>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProfitCenter>
public int hashCode()
hashCode
in class VdmObject<ProfitCenter>
Copyright © 2021 SAP SE. All rights reserved.