public class BPContactToFuncAndDept extends VdmEntity<BPContactToFuncAndDept>
Original entity name from the Odata EDM: A_BPContactToFuncAndDeptType
Modifier and Type | Class and Description |
---|---|
static class |
BPContactToFuncAndDept.BPContactToFuncAndDeptBuilder |
Modifier and Type | Field and Description |
---|---|
static BPContactToFuncAndDeptSelectable |
ALL_FIELDS
Selector for all available fields of BPContactToFuncAndDept.
|
static BPContactToFuncAndDeptField<String> |
BUSINESS_PARTNER_COMPANY
Use with available fluent helpers to apply the BusinessPartnerCompany field to query operations.
|
static BPContactToFuncAndDeptField<String> |
BUSINESS_PARTNER_PERSON
Use with available fluent helpers to apply the BusinessPartnerPerson field to query operations.
|
static BPContactToFuncAndDeptField<String> |
CONTACT_PERSON_DEPARTMENT
Use with available fluent helpers to apply the ContactPersonDepartment field to query operations.
|
static BPContactToFuncAndDeptField<String> |
CONTACT_PERSON_FUNCTION
Use with available fluent helpers to apply the ContactPersonFunction field to query operations.
|
static BPContactToFuncAndDeptField<String> |
EMAIL_ADDRESS
Use with available fluent helpers to apply the EmailAddress field to query operations.
|
static BPContactToFuncAndDeptField<String> |
FAX_NUMBER
Use with available fluent helpers to apply the FaxNumber field to query operations.
|
static BPContactToFuncAndDeptField<String> |
FAX_NUMBER_EXTENSION
Use with available fluent helpers to apply the FaxNumberExtension field to query operations.
|
static BPContactToFuncAndDeptField<String> |
PHONE_NUMBER
Use with available fluent helpers to apply the PhoneNumber field to query operations.
|
static BPContactToFuncAndDeptField<String> |
PHONE_NUMBER_EXTENSION
Use with available fluent helpers to apply the PhoneNumberExtension field to query operations.
|
static BPContactToFuncAndDeptField<String> |
RELATIONSHIP_CATEGORY
Use with available fluent helpers to apply the RelationshipCategory field to query operations.
|
static BPContactToFuncAndDeptField<String> |
RELATIONSHIP_NUMBER
Use with available fluent helpers to apply the RelationshipNumber field to query operations.
|
static BPContactToFuncAndDeptField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
BPContactToFuncAndDept() |
BPContactToFuncAndDept(String relationshipNumber,
String businessPartnerCompany,
String businessPartnerPerson,
LocalDateTime validityEndDate,
String contactPersonFunction,
String contactPersonDepartment,
String phoneNumber,
String phoneNumberExtension,
String faxNumber,
String faxNumberExtension,
String emailAddress,
String relationshipCategory) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static BPContactToFuncAndDept.BPContactToFuncAndDeptBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> BPContactToFuncAndDeptField<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 |
getBusinessPartnerCompany()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getBusinessPartnerPerson()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getContactPersonDepartment()
Constraints: Not nullable, Maximum length: 4
|
String |
getContactPersonFunction()
Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getEmailAddress()
Constraints: Not nullable, Maximum length: 241
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getFaxNumber()
Constraints: Not nullable, Maximum length: 30
|
String |
getFaxNumberExtension()
Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
getKey() |
String |
getPhoneNumber()
Constraints: Not nullable, Maximum length: 30
|
String |
getPhoneNumberExtension()
Constraints: Not nullable, Maximum length: 10
|
String |
getRelationshipCategory()
Constraints: Not nullable, Maximum length: 6
|
String |
getRelationshipNumber()
(Key Field) Constraints: Not nullable, Maximum length: 12
|
Class<BPContactToFuncAndDept> |
getType() |
LocalDateTime |
getValidityEndDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setBusinessPartnerCompany(String businessPartnerCompany)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setBusinessPartnerPerson(String businessPartnerPerson)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setContactPersonDepartment(String contactPersonDepartment)
Constraints: Not nullable, Maximum length: 4
|
void |
setContactPersonFunction(String contactPersonFunction)
Constraints: Not nullable, Maximum length: 4
|
void |
setEmailAddress(String emailAddress)
Constraints: Not nullable, Maximum length: 241
|
void |
setFaxNumber(String faxNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setFaxNumberExtension(String faxNumberExtension)
Constraints: Not nullable, Maximum length: 10
|
void |
setPhoneNumber(String phoneNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setPhoneNumberExtension(String phoneNumberExtension)
Constraints: Not nullable, Maximum length: 10
|
void |
setRelationshipCategory(String relationshipCategory)
Constraints: Not nullable, Maximum length: 6
|
void |
setRelationshipNumber(String relationshipNumber)
(Key Field) Constraints: Not nullable, Maximum length: 12
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final BPContactToFuncAndDeptSelectable ALL_FIELDS
public static final BPContactToFuncAndDeptField<String> RELATIONSHIP_NUMBER
public static final BPContactToFuncAndDeptField<String> BUSINESS_PARTNER_COMPANY
public static final BPContactToFuncAndDeptField<String> BUSINESS_PARTNER_PERSON
public static final BPContactToFuncAndDeptField<LocalDateTime> VALIDITY_END_DATE
public static final BPContactToFuncAndDeptField<String> CONTACT_PERSON_FUNCTION
public static final BPContactToFuncAndDeptField<String> CONTACT_PERSON_DEPARTMENT
public static final BPContactToFuncAndDeptField<String> PHONE_NUMBER
public static final BPContactToFuncAndDeptField<String> PHONE_NUMBER_EXTENSION
public static final BPContactToFuncAndDeptField<String> FAX_NUMBER
public static final BPContactToFuncAndDeptField<String> FAX_NUMBER_EXTENSION
public static final BPContactToFuncAndDeptField<String> EMAIL_ADDRESS
public static final BPContactToFuncAndDeptField<String> RELATIONSHIP_CATEGORY
public BPContactToFuncAndDept()
public BPContactToFuncAndDept(@Nullable String relationshipNumber, @Nullable String businessPartnerCompany, @Nullable String businessPartnerPerson, @Nullable LocalDateTime validityEndDate, @Nullable String contactPersonFunction, @Nullable String contactPersonDepartment, @Nullable String phoneNumber, @Nullable String phoneNumberExtension, @Nullable String faxNumber, @Nullable String faxNumberExtension, @Nullable String emailAddress, @Nullable String relationshipCategory)
@Nonnull public Class<BPContactToFuncAndDept> getType()
getType
in class VdmObject<BPContactToFuncAndDept>
public void setRelationshipNumber(@Nullable String relationshipNumber)
Original property name from the Odata EDM: RelationshipNumber
relationshipNumber
- BP Relationship Numberpublic void setBusinessPartnerCompany(@Nullable String businessPartnerCompany)
Original property name from the Odata EDM: BusinessPartnerCompany
businessPartnerCompany
- Business Partner Numberpublic void setBusinessPartnerPerson(@Nullable String businessPartnerPerson)
Original property name from the Odata EDM: BusinessPartnerPerson
businessPartnerPerson
- Business Partner Numberpublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Validity Date (Valid To)public void setContactPersonFunction(@Nullable String contactPersonFunction)
Original property name from the Odata EDM: ContactPersonFunction
contactPersonFunction
- Function of partnerpublic void setContactPersonDepartment(@Nullable String contactPersonDepartment)
Original property name from the Odata EDM: ContactPersonDepartment
contactPersonDepartment
- Departmentpublic void setPhoneNumber(@Nullable String phoneNumber)
Original property name from the Odata EDM: PhoneNumber
phoneNumber
- Telephone no.: dialling code+numberpublic void setPhoneNumberExtension(@Nullable String phoneNumberExtension)
Original property name from the Odata EDM: PhoneNumberExtension
phoneNumberExtension
- Telephone no.: Extensionpublic void setFaxNumber(@Nullable String faxNumber)
Original property name from the Odata EDM: FaxNumber
faxNumber
- Fax number: dialling code+numberpublic void setFaxNumberExtension(@Nullable String faxNumberExtension)
Original property name from the Odata EDM: FaxNumberExtension
faxNumberExtension
- Fax no.: Extensionpublic void setEmailAddress(@Nullable String emailAddress)
Original property name from the Odata EDM: EmailAddress
emailAddress
- E-Mail Addresspublic void setRelationshipCategory(@Nullable String relationshipCategory)
Original property name from the Odata EDM: RelationshipCategory
relationshipCategory
- Business Partner Relationship Categoryprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BPContactToFuncAndDept>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<BPContactToFuncAndDept>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<BPContactToFuncAndDept>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<BPContactToFuncAndDept>
@Nonnull public static <T> BPContactToFuncAndDeptField<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> BPContactToFuncAndDeptField<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<BPContactToFuncAndDept>
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<BPContactToFuncAndDept>
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<BPContactToFuncAndDept>
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<BPContactToFuncAndDept>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static BPContactToFuncAndDept.BPContactToFuncAndDeptBuilder builder()
@Nullable public String getRelationshipNumber()
Original property name from the Odata EDM: RelationshipNumber
@Nullable public String getBusinessPartnerCompany()
Original property name from the Odata EDM: BusinessPartnerCompany
@Nullable public String getBusinessPartnerPerson()
Original property name from the Odata EDM: BusinessPartnerPerson
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public String getContactPersonFunction()
Original property name from the Odata EDM: ContactPersonFunction
@Nullable public String getContactPersonDepartment()
Original property name from the Odata EDM: ContactPersonDepartment
@Nullable public String getPhoneNumber()
Original property name from the Odata EDM: PhoneNumber
@Nullable public String getPhoneNumberExtension()
Original property name from the Odata EDM: PhoneNumberExtension
@Nullable public String getFaxNumber()
Original property name from the Odata EDM: FaxNumber
@Nullable public String getFaxNumberExtension()
Original property name from the Odata EDM: FaxNumberExtension
@Nullable public String getEmailAddress()
Original property name from the Odata EDM: EmailAddress
@Nullable public String getRelationshipCategory()
Original property name from the Odata EDM: RelationshipCategory
@Nonnull public String toString()
toString
in class VdmObject<BPContactToFuncAndDept>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<BPContactToFuncAndDept>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<BPContactToFuncAndDept>
public int hashCode()
hashCode
in class VdmObject<BPContactToFuncAndDept>
Copyright © 2021 SAP SE. All rights reserved.