Class CatalogProfile
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CatalogProfile_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CatalogProfile instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CatalogProfile>Selector for all available fields of CatalogProfile.static final SimpleProperty.String<CatalogProfile>static final SimpleProperty.String<CatalogProfile>static final SimpleProperty.String<CatalogProfile>static final NavigationProperty.Collection<CatalogProfile,Catalog> Use with available request builders to apply the _Catalog navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCatalog(Catalog... entity) Adds elements to the list of associated Catalog entities.builder()protected booleanbooleanprotected voidRetrieval of associated Catalog entities (one to many).protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 9Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetCatalog(List<Catalog> value) Overwrites the list of associated Catalog entities for the loaded navigation property _Catalog.voidsetLanguage(String language) Constraints: Not nullable, Maximum length: 2voidsetMaintNotifCatalogProfile(String maintNotifCatalogProfile) (Key Field) Constraints: Not nullable, Maximum length: 9voidsetMaintNotifCatalogProfileText(String maintNotifCatalogProfileText) Constraints: Not nullable, Maximum length: 30toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, 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 CatalogProfile. -
MAINT_NOTIF_CATALOG_PROFILE
-
LANGUAGE
-
MAINT_NOTIF_CATALOG_PROFILE_TEXT
-
TO__CATALOG
Use with available request builders to apply the _Catalog navigation property to query operations.
-
-
Constructor Details
-
CatalogProfile
public CatalogProfile() -
CatalogProfile
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CatalogProfile>
-
setMaintNotifCatalogProfile
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MaintNotifCatalogProfile
- Parameters:
maintNotifCatalogProfile- Catalog Profile
-
setLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setMaintNotifCatalogProfileText
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MaintNotifCatalogProfileText
- Parameters:
maintNotifCatalogProfileText- Catalog Profile Text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CatalogProfile>
-
getKey
- Overrides:
getKeyin classVdmObject<CatalogProfile>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CatalogProfile>
-
fromMap
- Overrides:
fromMapin classVdmObject<CatalogProfile>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CatalogProfile>
-
getCatalogIfPresent
Retrieval of associated Catalog entities (one to many). This corresponds to the OData navigation property _Catalog.If the navigation property for an entity CatalogProfile 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 _Catalog is already loaded, the result will contain the
Catalog entities. If not, an
Optionwith result stateemptyis returned.
-
setCatalog
Overwrites the list of associated Catalog entities for the loaded navigation property _Catalog.If the navigation property _Catalog of a queried CatalogProfile 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.
- Parameters:
value- List of Catalog entities.
-
addCatalog
Adds elements to the list of associated Catalog entities. This corresponds to the OData navigation property _Catalog.If the navigation property _Catalog of a queried CatalogProfile 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.
- Parameters:
entity- Array of Catalog entities.
-
builder
-
getMaintNotifCatalogProfile
(Key Field) Constraints: Not nullable, Maximum length: 9Original property name from the Odata EDM: MaintNotifCatalogProfile
- Returns:
- Catalog Profile
-
getLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getMaintNotifCatalogProfileText
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MaintNotifCatalogProfileText
- Returns:
- Catalog Profile Text
-
toString
- Overrides:
toStringin classVdmObject<CatalogProfile>
-
equals
- Overrides:
equalsin classVdmEntity<CatalogProfile>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CatalogProfile>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CatalogProfile>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CatalogProfile>
-