Class LegalContextCategoryGroup
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: LegalContextCategoryGroup_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LegalContextCategoryGroup instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<LegalContextCategoryGroup>Selector for all available fields of LegalContextCategoryGroup.static final SimpleProperty.String<LegalContextCategoryGroup>static final SimpleProperty.Guid<LegalContextCategoryGroup>static final SimpleProperty.Guid<LegalContextCategoryGroup>static final NavigationProperty.Single<LegalContextCategoryGroup,LegalContext> Use with available request builders to apply the _LCMContextTP navigation property to query operations.Use with available request builders to apply the _LCMContextParentCategoryTP 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
ConstructorsConstructorDescriptionLegalContextCategoryGroup(UUID lglCntntMCntxtCatGroupUUID, UUID lglCntntMContextUUID, String lglCntntMCatGroupTitle, List<LegalContextParentCategory> to_LCMContextParentCategoryTP, LegalContext to_LCMContextTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated LegalContextParentCategory entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<LegalContextParentCategory>>Retrieval of associated LegalContextParentCategory entities (one to many).io.vavr.control.Option<LegalContext>Retrieval of associated LegalContext entity (one to one).Constraints: Not nullable, Maximum length: 128(Key Field) Constraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidOverwrites the list of associated LegalContextParentCategory entities for the loaded navigation property _LCMContextParentCategoryTP.voidsetLCMContextTP(LegalContext value) Overwrites the associated LegalContext entity for the loaded navigation property _LCMContextTP.voidsetLglCntntMCatGroupTitle(String lglCntntMCatGroupTitle) Constraints: Not nullable, Maximum length: 128voidsetLglCntntMCntxtCatGroupUUID(UUID lglCntntMCntxtCatGroupUUID) (Key Field) Constraints: Not nullablevoidsetLglCntntMContextUUID(UUID lglCntntMContextUUID) Constraints: Not nullabletoString()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 LegalContextCategoryGroup. -
LGL_CNTNT_M_CNTXT_CAT_GROUP_UUID
-
LGL_CNTNT_M_CONTEXT_UUID
-
LGL_CNTNT_M_CAT_GROUP_TITLE
-
TO__L_C_M_CONTEXTPARENT_CATEGORY_T_P
public static final NavigationProperty.Collection<LegalContextCategoryGroup,LegalContextParentCategory> TO__L_C_M_CONTEXTPARENT_CATEGORY_T_PUse with available request builders to apply the _LCMContextParentCategoryTP navigation property to query operations. -
TO__L_C_M_CONTEXT_TP
public static final NavigationProperty.Single<LegalContextCategoryGroup,LegalContext> TO__L_C_M_CONTEXT_TPUse with available request builders to apply the _LCMContextTP navigation property to query operations.
-
-
Constructor Details
-
LegalContextCategoryGroup
public LegalContextCategoryGroup() -
LegalContextCategoryGroup
public LegalContextCategoryGroup(@Nullable UUID lglCntntMCntxtCatGroupUUID, @Nullable UUID lglCntntMContextUUID, @Nullable String lglCntntMCatGroupTitle, List<LegalContextParentCategory> to_LCMContextParentCategoryTP, @Nullable LegalContext to_LCMContextTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LegalContextCategoryGroup>
-
setLglCntntMCntxtCatGroupUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtCatGroupUUID
- Parameters:
lglCntntMCntxtCatGroupUUID- Universal Unique Identifier
-
setLglCntntMContextUUID
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMContextUUID
- Parameters:
lglCntntMContextUUID- Universal Unique Identifier
-
setLglCntntMCatGroupTitle
Constraints: Not nullable, Maximum length: 128Original property name from the Odata EDM: LglCntntMCatGroupTitle
- Parameters:
lglCntntMCatGroupTitle- Legal Transaction Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LegalContextCategoryGroup>
-
getKey
- Overrides:
getKeyin classVdmObject<LegalContextCategoryGroup>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LegalContextCategoryGroup>
-
fromMap
- Overrides:
fromMapin classVdmObject<LegalContextCategoryGroup>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LegalContextCategoryGroup>
-
getLCMContextParentCategoryTPIfPresent
@Nonnull public io.vavr.control.Option<List<LegalContextParentCategory>> getLCMContextParentCategoryTPIfPresent()Retrieval of associated LegalContextParentCategory entities (one to many). This corresponds to the OData navigation property _LCMContextParentCategoryTP.If the navigation property for an entity LegalContextCategoryGroup 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 _LCMContextParentCategoryTP is already loaded, the
result will contain the LegalContextParentCategory entities. If not, an
Optionwith result stateemptyis returned.
-
setLCMContextParentCategoryTP
Overwrites the list of associated LegalContextParentCategory entities for the loaded navigation property _LCMContextParentCategoryTP.If the navigation property _LCMContextParentCategoryTP of a queried LegalContextCategoryGroup 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 LegalContextParentCategory entities.
-
addLCMContextParentCategoryTP
Adds elements to the list of associated LegalContextParentCategory entities. This corresponds to the OData navigation property _LCMContextParentCategoryTP.If the navigation property _LCMContextParentCategoryTP of a queried LegalContextCategoryGroup 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 LegalContextParentCategory entities.
-
getLCMContextTPIfPresent
Retrieval of associated LegalContext entity (one to one). This corresponds to the OData navigation property _LCMContextTP.If the navigation property for an entity LegalContextCategoryGroup 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 _LCMContextTP is already loaded, the result will
contain the LegalContext entity. If not, an
Optionwith result stateemptyis returned.
-
setLCMContextTP
Overwrites the associated LegalContext entity for the loaded navigation property _LCMContextTP.- Parameters:
value- New LegalContext entity.
-
builder
-
getLglCntntMCntxtCatGroupUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtCatGroupUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMContextUUID
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMContextUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMCatGroupTitle
Constraints: Not nullable, Maximum length: 128Original property name from the Odata EDM: LglCntntMCatGroupTitle
- Returns:
- Legal Transaction Name
-
toString
- Overrides:
toStringin classVdmObject<LegalContextCategoryGroup>
-
equals
- Overrides:
equalsin classVdmEntity<LegalContextCategoryGroup>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LegalContextCategoryGroup>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LegalContextCategoryGroup>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<LegalContextCategoryGroup>
-