Class AddressPhoneNumber
Original entity name from the Odata EDM: A_AddressPhoneNumberType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AddressPhoneNumberField<String>Use with available fluent helpers to apply the AddressCommunicationRemarkText field to query operations.static final AddressPhoneNumberField<String>Use with available fluent helpers to apply the AddressID field to query operations.static final AddressPhoneNumberSelectableSelector for all available fields of AddressPhoneNumber.static final AddressPhoneNumberField<String>Use with available fluent helpers to apply the DestinationLocationCountry field to query operations.static final AddressPhoneNumberField<String>Use with available fluent helpers to apply the InternationalPhoneNumber field to query operations.static final AddressPhoneNumberField<Boolean>Use with available fluent helpers to apply the IsDefaultPhoneNumber field to query operations.static final AddressPhoneNumberField<String>Use with available fluent helpers to apply the OrdinalNumber field to query operations.static final AddressPhoneNumberField<String>Use with available fluent helpers to apply the Person field to query operations.static final AddressPhoneNumberField<String>Use with available fluent helpers to apply the PhoneNumber field to query operations.static final AddressPhoneNumberField<String>Use with available fluent helpers to apply the PhoneNumberExtension field to query operations.static final AddressPhoneNumberField<String>Use with available fluent helpers to apply the PhoneNumberType field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionAddressPhoneNumber(String addressID, String person, String ordinalNumber, String destinationLocationCountry, Boolean isDefaultPhoneNumber, String phoneNumber, String phoneNumberExtension, String internationalPhoneNumber, String phoneNumberType, String addressCommunicationRemarkText) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
AddressPhoneNumberField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> AddressPhoneNumberField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 50(Key Field) Constraints: Not nullable, Maximum length: 10protected StringConstraints: Not nullable, Maximum length: 3protected StringConstraints: Not nullable, Maximum length: 30Constraints: nonegetKey()(Key Field) Constraints: Not nullable, Maximum length: 3(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1getType()inthashCode()voidsetAddressCommunicationRemarkText(String addressCommunicationRemarkText) Constraints: Not nullable, Maximum length: 50voidsetAddressID(String addressID) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetDestinationLocationCountry(String destinationLocationCountry) Constraints: Not nullable, Maximum length: 3voidsetInternationalPhoneNumber(String internationalPhoneNumber) Constraints: Not nullable, Maximum length: 30voidsetIsDefaultPhoneNumber(Boolean isDefaultPhoneNumber) Constraints: nonevoidsetOrdinalNumber(String ordinalNumber) (Key Field) Constraints: Not nullable, Maximum length: 3void(Key Field) Constraints: Not nullable, Maximum length: 10voidsetPhoneNumber(String phoneNumber) Constraints: Not nullable, Maximum length: 30voidsetPhoneNumberExtension(String phoneNumberExtension) Constraints: Not nullable, Maximum length: 10voidsetPhoneNumberType(String phoneNumberType) Constraints: Not nullable, Maximum length: 1protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of AddressPhoneNumber. -
ADDRESS_ID
Use with available fluent helpers to apply the AddressID field to query operations. -
PERSON
Use with available fluent helpers to apply the Person field to query operations. -
ORDINAL_NUMBER
Use with available fluent helpers to apply the OrdinalNumber field to query operations. -
DESTINATION_LOCATION_COUNTRY
Use with available fluent helpers to apply the DestinationLocationCountry field to query operations. -
IS_DEFAULT_PHONE_NUMBER
Use with available fluent helpers to apply the IsDefaultPhoneNumber field to query operations. -
PHONE_NUMBER
Use with available fluent helpers to apply the PhoneNumber field to query operations. -
PHONE_NUMBER_EXTENSION
Use with available fluent helpers to apply the PhoneNumberExtension field to query operations. -
INTERNATIONAL_PHONE_NUMBER
Use with available fluent helpers to apply the InternationalPhoneNumber field to query operations. -
PHONE_NUMBER_TYPE
Use with available fluent helpers to apply the PhoneNumberType field to query operations. -
ADDRESS_COMMUNICATION_REMARK_TEXT
Use with available fluent helpers to apply the AddressCommunicationRemarkText field to query operations.
-
-
Constructor Details
-
AddressPhoneNumber
public AddressPhoneNumber() -
AddressPhoneNumber
public AddressPhoneNumber(@Nullable String addressID, @Nullable String person, @Nullable String ordinalNumber, @Nullable String destinationLocationCountry, @Nullable Boolean isDefaultPhoneNumber, @Nullable String phoneNumber, @Nullable String phoneNumberExtension, @Nullable String internationalPhoneNumber, @Nullable String phoneNumberType, @Nullable String addressCommunicationRemarkText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<AddressPhoneNumber>
-
setAddressID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressID
- Parameters:
addressID- Address Number
-
setPerson
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Person
- Parameters:
person- Person Number
-
setOrdinalNumber
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: OrdinalNumber
- Parameters:
ordinalNumber- Sequence Number
-
setDestinationLocationCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DestinationLocationCountry
- Parameters:
destinationLocationCountry- Country/Region for Telephone/Fax Number
-
setIsDefaultPhoneNumber
Constraints: noneOriginal property name from the Odata EDM: IsDefaultPhoneNumber
- Parameters:
isDefaultPhoneNumber- Standard Sender Address in this Communication Type
-
setPhoneNumber
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PhoneNumber
- Parameters:
phoneNumber- Telephone No.: Dialing Code + Number
-
setPhoneNumberExtension
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PhoneNumberExtension
- Parameters:
phoneNumberExtension- Telephone no.: Extension
-
setInternationalPhoneNumber
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: InternationalPhoneNumber
- Parameters:
internationalPhoneNumber- Complete Number: Dialing Code+Number+Extension
-
setPhoneNumberType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PhoneNumberType
- Parameters:
phoneNumberType- Indicator: Telephone is a Mobile Telephone
-
setAddressCommunicationRemarkText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: AddressCommunicationRemarkText
- Parameters:
addressCommunicationRemarkText- Communication link notes
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<AddressPhoneNumber>
-
getKey
- Overrides:
getKeyin classVdmObject<AddressPhoneNumber>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<AddressPhoneNumber>
-
fromMap
- Overrides:
fromMapin classVdmObject<AddressPhoneNumber>
-
field
@Nonnull public static <T> AddressPhoneNumberField<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> AddressPhoneNumberField<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<AddressPhoneNumber>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<AddressPhoneNumber>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<AddressPhoneNumber>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<AddressPhoneNumber>
-
builder
-
getAddressID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AddressID
- Returns:
- Address Number
-
getPerson
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Person
- Returns:
- Person Number
-
getOrdinalNumber
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: OrdinalNumber
- Returns:
- Sequence Number
-
getDestinationLocationCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DestinationLocationCountry
- Returns:
- Country/Region for Telephone/Fax Number
-
getIsDefaultPhoneNumber
Constraints: noneOriginal property name from the Odata EDM: IsDefaultPhoneNumber
- Returns:
- Standard Sender Address in this Communication Type
-
getPhoneNumber
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PhoneNumber
- Returns:
- Telephone No.: Dialing Code + Number
-
getPhoneNumberExtension
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PhoneNumberExtension
- Returns:
- Telephone no.: Extension
-
getInternationalPhoneNumber
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: InternationalPhoneNumber
- Returns:
- Complete Number: Dialing Code+Number+Extension
-
getPhoneNumberType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PhoneNumberType
- Returns:
- Indicator: Telephone is a Mobile Telephone
-
getAddressCommunicationRemarkText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: AddressCommunicationRemarkText
- Returns:
- Communication link notes
-
toString
- Overrides:
toStringin classVdmObject<AddressPhoneNumber>
-
equals
- Overrides:
equalsin classVdmEntity<AddressPhoneNumber>
-
canEqual
- Overrides:
canEqualin classVdmEntity<AddressPhoneNumber>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<AddressPhoneNumber>
-