Class FunctionalLocationPartner
Original entity name from the Odata EDM: FunctionalLocationPartnerType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FunctionalLocationPartner instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionalLocationPartnerSelectableSelector for all available fields of FunctionalLocationPartner.static final FunctionalLocationPartnerField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final FunctionalLocationPartnerField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final FunctionalLocationPartnerField<LocalTime>Use with available fluent helpers to apply the CreationTime field to query operations.static final FunctionalLocationPartnerField<String>Use with available fluent helpers to apply the FuncnlLocPartnerObjectNmbr field to query operations.static final FunctionalLocationPartnerField<String>Use with available fluent helpers to apply the FunctionalLocation field to query operations.static final FunctionalLocationPartnerField<String>Use with available fluent helpers to apply the FunctionalLocationLabelName field to query operations.static final FunctionalLocationPartnerField<LocalDateTime>Use with available fluent helpers to apply the LastChangeDate field to query operations.static final FunctionalLocationPartnerField<LocalTime>Use with available fluent helpers to apply the LastChangeTime field to query operations.static final FunctionalLocationPartnerField<String>Use with available fluent helpers to apply the LastChangedByUser field to query operations.static final FunctionalLocationPartnerField<String>Use with available fluent helpers to apply the MaintObjectInternalID field to query operations.static final FunctionalLocationPartnerField<String>Use with available fluent helpers to apply the Partner field to query operations.static final FunctionalLocationPartnerField<String>Use with available fluent helpers to apply the PartnerFunction field to query operations.static final FunctionalLocationPartnerOneToOneLink<FunctionalLocation>Use with available fluent helpers to apply the to_FunctionalLocation navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionFunctionalLocationPartner(String functionalLocation, String partnerFunction, String funcnlLocPartnerObjectNmbr, String functionalLocationLabelName, String partner, String createdByUser, LocalDateTime creationDate, LocalTime creationTime, String lastChangedByUser, LocalTime lastChangeTime, LocalDateTime lastChangeDate, String maintObjectInternalID, FunctionalLocation toFunctionalLocation) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the FunctionalLocation entity (one to one) associated with this entity.static <T,DomainT>
FunctionalLocationPartnerField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> FunctionalLocationPartnerField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0protected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<FunctionalLocation>Retrieval of associated FunctionalLocation entity (one to one).Constraints: Not nullable, Maximum length: 40Retrieval of associated FunctionalLocation entity (one to one).getKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 22Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0voidsetCreationTime(LocalTime creationTime) Constraints: Not nullable, Precision: 0voidsetFuncnlLocPartnerObjectNmbr(String funcnlLocPartnerObjectNmbr) (Key Field) Constraints: Not nullable, Maximum length: 6voidOverwrites the associated FunctionalLocation entity for the loaded navigation property to_FunctionalLocation.voidsetFunctionalLocation(String functionalLocation) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetFunctionalLocationLabelName(String functionalLocationLabelName) Constraints: Not nullable, Maximum length: 40voidsetLastChangeDate(LocalDateTime lastChangeDate) Constraints: Not nullable, Precision: 0voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetLastChangeTime(LocalTime lastChangeTime) Constraints: Not nullable, Precision: 0voidsetMaintObjectInternalID(String maintObjectInternalID) Constraints: Not nullable, Maximum length: 22voidsetPartner(String partner) Constraints: Not nullable, Maximum length: 12voidsetPartnerFunction(String partnerFunction) (Key Field) Constraints: Not nullable, Maximum length: 2protected 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
-
Field Details
-
ALL_FIELDS
Selector for all available fields of FunctionalLocationPartner. -
FUNCTIONAL_LOCATION
Use with available fluent helpers to apply the FunctionalLocation field to query operations. -
PARTNER_FUNCTION
Use with available fluent helpers to apply the PartnerFunction field to query operations. -
FUNCNL_LOC_PARTNER_OBJECT_NMBR
Use with available fluent helpers to apply the FuncnlLocPartnerObjectNmbr field to query operations. -
FUNCTIONAL_LOCATION_LABEL_NAME
Use with available fluent helpers to apply the FunctionalLocationLabelName field to query operations. -
PARTNER
Use with available fluent helpers to apply the Partner field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
CREATION_TIME
Use with available fluent helpers to apply the CreationTime field to query operations. -
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations. -
LAST_CHANGE_TIME
Use with available fluent helpers to apply the LastChangeTime field to query operations. -
LAST_CHANGE_DATE
Use with available fluent helpers to apply the LastChangeDate field to query operations. -
MAINT_OBJECT_INTERNAL_ID
Use with available fluent helpers to apply the MaintObjectInternalID field to query operations. -
TO_FUNCTIONAL_LOCATION
public static final FunctionalLocationPartnerOneToOneLink<FunctionalLocation> TO_FUNCTIONAL_LOCATIONUse with available fluent helpers to apply the to_FunctionalLocation navigation property to query operations.
-
-
Constructor Details
-
FunctionalLocationPartner
public FunctionalLocationPartner() -
FunctionalLocationPartner
public FunctionalLocationPartner(@Nullable String functionalLocation, @Nullable String partnerFunction, @Nullable String funcnlLocPartnerObjectNmbr, @Nullable String functionalLocationLabelName, @Nullable String partner, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable LocalTime creationTime, @Nullable String lastChangedByUser, @Nullable LocalTime lastChangeTime, @Nullable LocalDateTime lastChangeDate, @Nullable String maintObjectInternalID, @Nullable FunctionalLocation toFunctionalLocation)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FunctionalLocationPartner>
-
setFunctionalLocation
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: FunctionalLocation
- Parameters:
functionalLocation- Functional location
-
setPartnerFunction
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PartnerFunction
- Parameters:
partnerFunction- Partner Function
-
setFuncnlLocPartnerObjectNmbr
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: FuncnlLocPartnerObjectNmbr
- Parameters:
funcnlLocPartnerObjectNmbr- Counter for differentiation 6-digit
-
setFunctionalLocationLabelName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: FunctionalLocationLabelName
- Parameters:
functionalLocationLabelName- Functional Location Label
-
setPartner
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: Partner
- Parameters:
partner- Partner
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Name of Person Responsible for Creating the Object
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Record Created On
-
setCreationTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationTime
- Parameters:
creationTime- Time at Which Record Was Added
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Name of Person Who Changed Object
-
setLastChangeTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeTime
- Parameters:
lastChangeTime- Time of Change
-
setLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Parameters:
lastChangeDate- Last Changed On
-
setMaintObjectInternalID
Constraints: Not nullable, Maximum length: 22Original property name from the Odata EDM: MaintObjectInternalID
- Parameters:
maintObjectInternalID- Object Number
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FunctionalLocationPartner>
-
getKey
- Overrides:
getKeyin classVdmObject<FunctionalLocationPartner>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FunctionalLocationPartner>
-
fromMap
- Overrides:
fromMapin classVdmObject<FunctionalLocationPartner>
-
field
@Nonnull public static <T> FunctionalLocationPartnerField<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> FunctionalLocationPartnerField<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<FunctionalLocationPartner>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<FunctionalLocationPartner>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<FunctionalLocationPartner>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FunctionalLocationPartner>
-
fetchFunctionalLocation
Fetches the FunctionalLocation entity (one to one) associated with this entity. This corresponds to the OData navigation property to_FunctionalLocation.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated FunctionalLocation entity, or
nullif an entity is not associated. - 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.
-
getFunctionalLocationOrFetch
Retrieval of associated FunctionalLocation entity (one to one). This corresponds to the OData navigation property to_FunctionalLocation.If the navigation property to_FunctionalLocation of a queried FunctionalLocationPartner 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 FunctionalLocation entity.
- 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.
-
getFunctionalLocationIfPresent
Retrieval of associated FunctionalLocation entity (one to one). This corresponds to the OData navigation property to_FunctionalLocation.If the navigation property for an entity FunctionalLocationPartner 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_FunctionalLocation is already loaded, the result
will contain the FunctionalLocation entity. If not, an
Optionwith result stateemptyis returned.
-
setFunctionalLocation
Overwrites the associated FunctionalLocation entity for the loaded navigation property to_FunctionalLocation.- Parameters:
value- New FunctionalLocation entity.
-
builder
-
getFunctionalLocation
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: FunctionalLocation
- Returns:
- Functional location
-
getPartnerFunction
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PartnerFunction
- Returns:
- Partner Function
-
getFuncnlLocPartnerObjectNmbr
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: FuncnlLocPartnerObjectNmbr
- Returns:
- Counter for differentiation 6-digit
-
getFunctionalLocationLabelName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: FunctionalLocationLabelName
- Returns:
- Functional Location Label
-
getPartner
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: Partner
- Returns:
- Partner
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Name of Person Responsible for Creating the Object
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- Record Created On
-
getCreationTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationTime
- Returns:
- Time at Which Record Was Added
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Name of Person Who Changed Object
-
getLastChangeTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeTime
- Returns:
- Time of Change
-
getLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDate
- Returns:
- Last Changed On
-
getMaintObjectInternalID
Constraints: Not nullable, Maximum length: 22Original property name from the Odata EDM: MaintObjectInternalID
- Returns:
- Object Number
-
toString
- Overrides:
toStringin classVdmObject<FunctionalLocationPartner>
-
equals
- Overrides:
equalsin classVdmEntity<FunctionalLocationPartner>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FunctionalLocationPartner>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FunctionalLocationPartner>
-