public class AddressHomePageURL extends VdmEntity<AddressHomePageURL>
Original entity name from the Odata EDM: A_AddressHomePageURLType
Modifier and Type | Class and Description |
---|---|
static class |
AddressHomePageURL.AddressHomePageURLBuilder |
Modifier and Type | Field and Description |
---|---|
static AddressHomePageURLField<String> |
ADDRESS_ID
Use with available fluent helpers to apply the AddressID field to query operations.
|
static AddressHomePageURLSelectable |
ALL_FIELDS
Selector for all available fields of AddressHomePageURL.
|
static AddressHomePageURLField<Boolean> |
IS_DEFAULT_URL_ADDRESS
Use with available fluent helpers to apply the IsDefaultURLAddress field to query operations.
|
static AddressHomePageURLField<String> |
ORDINAL_NUMBER
Use with available fluent helpers to apply the OrdinalNumber field to query operations.
|
static AddressHomePageURLField<String> |
PERSON
Use with available fluent helpers to apply the Person field to query operations.
|
static AddressHomePageURLField<String> |
SEARCH_URL_ADDRESS
Use with available fluent helpers to apply the SearchURLAddress field to query operations.
|
static AddressHomePageURLField<Short> |
URL_FIELD_LENGTH
Use with available fluent helpers to apply the URLFieldLength field to query operations.
|
static AddressHomePageURLField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
static AddressHomePageURLField<String> |
WEBSITE_URL
Use with available fluent helpers to apply the WebsiteURL field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
AddressHomePageURL() |
AddressHomePageURL(String addressID,
String person,
String ordinalNumber,
LocalDateTime validityStartDate,
Boolean isDefaultURLAddress,
String searchURLAddress,
Short uRLFieldLength,
String websiteURL) |
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 AddressHomePageURL.AddressHomePageURLBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> AddressHomePageURLField<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 |
getAddressID()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
Boolean |
getIsDefaultURLAddress()
(Key Field) Constraints: Not nullable
|
protected Map<String,Object> |
getKey() |
String |
getOrdinalNumber()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getPerson()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSearchURLAddress()
Constraints: Not nullable, Maximum length: 50
|
Class<AddressHomePageURL> |
getType() |
Short |
getURLFieldLength()
Constraints: none
|
LocalDateTime |
getValidityStartDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
String |
getWebsiteURL()
Constraints: Not nullable, Maximum length: 2048
|
int |
hashCode() |
void |
setAddressID(String addressID)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setIsDefaultURLAddress(Boolean isDefaultURLAddress)
(Key Field) Constraints: Not nullable
|
void |
setOrdinalNumber(String ordinalNumber)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setPerson(String person)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSearchURLAddress(String searchURLAddress)
Constraints: Not nullable, Maximum length: 50
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setURLFieldLength(Short uRLFieldLength)
Constraints: none
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
void |
setWebsiteURL(String websiteURL)
Constraints: Not nullable, Maximum length: 2048
|
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 AddressHomePageURLSelectable ALL_FIELDS
public static final AddressHomePageURLField<String> ADDRESS_ID
public static final AddressHomePageURLField<String> PERSON
public static final AddressHomePageURLField<String> ORDINAL_NUMBER
public static final AddressHomePageURLField<LocalDateTime> VALIDITY_START_DATE
public static final AddressHomePageURLField<Boolean> IS_DEFAULT_URL_ADDRESS
public static final AddressHomePageURLField<String> SEARCH_URL_ADDRESS
public static final AddressHomePageURLField<Short> URL_FIELD_LENGTH
public static final AddressHomePageURLField<String> WEBSITE_URL
public AddressHomePageURL()
public AddressHomePageURL(@Nullable String addressID, @Nullable String person, @Nullable String ordinalNumber, @Nullable LocalDateTime validityStartDate, @Nullable Boolean isDefaultURLAddress, @Nullable String searchURLAddress, @Nullable Short uRLFieldLength, @Nullable String websiteURL)
@Nonnull public Class<AddressHomePageURL> getType()
getType
in class VdmObject<AddressHomePageURL>
public void setAddressID(@Nullable String addressID)
Original property name from the Odata EDM: AddressID
For more information about the meaning and use of the address number and the Business Address Services concepts, see the function group SZA0 documentation.
addressID
- Internal key for identifying a Business Address Services address.public void setPerson(@Nullable String person)
Original property name from the Odata EDM: Person
For more information about the meaning and use of the person number and Business Address Services concepts, see the function group SZA0 documentation.
person
- Internal key for identifying a person in Business Address Services.public void setOrdinalNumber(@Nullable String ordinalNumber)
Original property name from the Odata EDM: OrdinalNumber
ordinalNumber
- Sequence Numberpublic void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
validityStartDate
- Valid-from date - in current Release only 00010101 possiblepublic void setIsDefaultURLAddress(@Nullable Boolean isDefaultURLAddress)
Original property name from the Odata EDM: IsDefaultURLAddress
isDefaultURLAddress
- Flag: this address is the default addresspublic void setSearchURLAddress(@Nullable String searchURLAddress)
Original property name from the Odata EDM: SearchURLAddress
searchURLAddress
- URI address search fieldpublic void setURLFieldLength(@Nullable Short uRLFieldLength)
Original property name from the Odata EDM: URLFieldLength
uRLFieldLength
- URI field lengthpublic void setWebsiteURL(@Nullable String websiteURL)
Original property name from the Odata EDM: WebsiteURL
websiteURL
- Universal Resource Identifier (URI)protected String getEntityCollection()
getEntityCollection
in class VdmEntity<AddressHomePageURL>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<AddressHomePageURL>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<AddressHomePageURL>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<AddressHomePageURL>
@Nonnull public static <T> AddressHomePageURLField<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> AddressHomePageURLField<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<AddressHomePageURL>
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<AddressHomePageURL>
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<AddressHomePageURL>
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()
getDefaultServicePath
in class VdmEntity<AddressHomePageURL>
public static AddressHomePageURL.AddressHomePageURLBuilder builder()
@Nullable public String getAddressID()
Original property name from the Odata EDM: AddressID
For more information about the meaning and use of the address number and the Business Address Services concepts, see the function group SZA0 documentation.
@Nullable public String getPerson()
Original property name from the Odata EDM: Person
For more information about the meaning and use of the person number and Business Address Services concepts, see the function group SZA0 documentation.
@Nullable public String getOrdinalNumber()
Original property name from the Odata EDM: OrdinalNumber
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
@Nullable public Boolean getIsDefaultURLAddress()
Original property name from the Odata EDM: IsDefaultURLAddress
@Nullable public String getSearchURLAddress()
Original property name from the Odata EDM: SearchURLAddress
@Nullable public Short getURLFieldLength()
Original property name from the Odata EDM: URLFieldLength
@Nullable public String getWebsiteURL()
Original property name from the Odata EDM: WebsiteURL
public String toString()
toString
in class VdmObject<AddressHomePageURL>
public boolean equals(Object o)
equals
in class VdmObject<AddressHomePageURL>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<AddressHomePageURL>
public int hashCode()
hashCode
in class VdmObject<AddressHomePageURL>
Copyright © 2019 SAP SE. All rights reserved.