Class LegalContextParentCategory
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: LegalContextParentCategory_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LegalContextParentCategory instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<LegalContextParentCategory>Selector for all available fields of LegalContextParentCategory.static final SimpleProperty.Guid<LegalContextParentCategory>static final SimpleProperty.Guid<LegalContextParentCategory>static final SimpleProperty.Guid<LegalContextParentCategory>static final SimpleProperty.Boolean<LegalContextParentCategory>static final SimpleProperty.String<LegalContextParentCategory>Use with available request builders to apply the _LCMContextCategoryGroupTP navigation property to query operations.Use with available request builders to apply the _LCMContextCategoryTP navigation property to query operations.static final NavigationProperty.Single<LegalContextParentCategory,LegalContext> Use with available request builders to apply the _LCMContextTP 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
ConstructorsConstructorDescriptionLegalContextParentCategory(UUID lglCntntMCntxtParCategoryUUID, UUID lglCntntMCntxtCatGroupUUID, UUID lglCntntMContextUUID, String lglCntntMParentCategory, Boolean lglCntntMIsMandatory, LegalContextCategoryGroup to_LCMContextCategoryGroupTP, List<LegalContextCategory> to_LCMContextCategoryTP, LegalContext to_LCMContextTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLCMContextCategoryTP(LegalContextCategory... entity) Adds elements to the list of associated LegalContextCategory entities.builder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<LegalContextCategoryGroup>Retrieval of associated LegalContextCategoryGroup entity (one to one).io.vavr.control.Option<List<LegalContextCategory>>Retrieval of associated LegalContextCategory entities (one to many).io.vavr.control.Option<LegalContext>Retrieval of associated LegalContext entity (one to one).Constraints: Not nullable(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 6getType()inthashCode()voidOverwrites the associated LegalContextCategoryGroup entity for the loaded navigation property _LCMContextCategoryGroupTP.voidOverwrites the list of associated LegalContextCategory entities for the loaded navigation property _LCMContextCategoryTP.voidsetLCMContextTP(LegalContext value) Overwrites the associated LegalContext entity for the loaded navigation property _LCMContextTP.voidsetLglCntntMCntxtCatGroupUUID(UUID lglCntntMCntxtCatGroupUUID) Constraints: Not nullablevoidsetLglCntntMCntxtParCategoryUUID(UUID lglCntntMCntxtParCategoryUUID) (Key Field) Constraints: Not nullablevoidsetLglCntntMContextUUID(UUID lglCntntMContextUUID) Constraints: Not nullablevoidsetLglCntntMIsMandatory(Boolean lglCntntMIsMandatory) Constraints: Not nullablevoidsetLglCntntMParentCategory(String lglCntntMParentCategory) Constraints: Not nullable, Maximum length: 6toString()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 LegalContextParentCategory. -
LGL_CNTNT_M_CNTXT_PAR_CATEGORY_UUID
public static final SimpleProperty.Guid<LegalContextParentCategory> LGL_CNTNT_M_CNTXT_PAR_CATEGORY_UUID -
LGL_CNTNT_M_CNTXT_CAT_GROUP_UUID
public static final SimpleProperty.Guid<LegalContextParentCategory> LGL_CNTNT_M_CNTXT_CAT_GROUP_UUID -
LGL_CNTNT_M_CONTEXT_UUID
-
LGL_CNTNT_M_PARENT_CATEGORY
-
LGL_CNTNT_M_IS_MANDATORY
-
TO__L_C_M_CONTEXT_CATEGORY_GROUP_TP
public static final NavigationProperty.Single<LegalContextParentCategory,LegalContextCategoryGroup> TO__L_C_M_CONTEXT_CATEGORY_GROUP_TPUse with available request builders to apply the _LCMContextCategoryGroupTP navigation property to query operations. -
TO__L_C_M_CONTEXT_CATEGORY_TP
public static final NavigationProperty.Collection<LegalContextParentCategory,LegalContextCategory> TO__L_C_M_CONTEXT_CATEGORY_TPUse with available request builders to apply the _LCMContextCategoryTP navigation property to query operations. -
TO__L_C_M_CONTEXT_TP
public static final NavigationProperty.Single<LegalContextParentCategory,LegalContext> TO__L_C_M_CONTEXT_TPUse with available request builders to apply the _LCMContextTP navigation property to query operations.
-
-
Constructor Details
-
LegalContextParentCategory
public LegalContextParentCategory() -
LegalContextParentCategory
public LegalContextParentCategory(@Nullable UUID lglCntntMCntxtParCategoryUUID, @Nullable UUID lglCntntMCntxtCatGroupUUID, @Nullable UUID lglCntntMContextUUID, @Nullable String lglCntntMParentCategory, @Nullable Boolean lglCntntMIsMandatory, @Nullable LegalContextCategoryGroup to_LCMContextCategoryGroupTP, List<LegalContextCategory> to_LCMContextCategoryTP, @Nullable LegalContext to_LCMContextTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LegalContextParentCategory>
-
setLglCntntMCntxtParCategoryUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtParCategoryUUID
- Parameters:
lglCntntMCntxtParCategoryUUID- Universal Unique Identifier
-
setLglCntntMCntxtCatGroupUUID
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
-
setLglCntntMParentCategory
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: LglCntntMParentCategory
- Parameters:
lglCntntMParentCategory- Parent Category ID
-
setLglCntntMIsMandatory
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMIsMandatory
- Parameters:
lglCntntMIsMandatory- Mandatory
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LegalContextParentCategory>
-
getKey
- Overrides:
getKeyin classVdmObject<LegalContextParentCategory>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LegalContextParentCategory>
-
fromMap
- Overrides:
fromMapin classVdmObject<LegalContextParentCategory>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LegalContextParentCategory>
-
getLCMContextCategoryGroupTPIfPresent
@Nonnull public io.vavr.control.Option<LegalContextCategoryGroup> getLCMContextCategoryGroupTPIfPresent()Retrieval of associated LegalContextCategoryGroup entity (one to one). This corresponds to the OData navigation property _LCMContextCategoryGroupTP.If the navigation property for an entity LegalContextParentCategory 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 _LCMContextCategoryGroupTP is already loaded, the
result will contain the LegalContextCategoryGroup entity. If not, an
Optionwith result stateemptyis returned.
-
setLCMContextCategoryGroupTP
Overwrites the associated LegalContextCategoryGroup entity for the loaded navigation property _LCMContextCategoryGroupTP.- Parameters:
value- New LegalContextCategoryGroup entity.
-
getLCMContextCategoryTPIfPresent
@Nonnull public io.vavr.control.Option<List<LegalContextCategory>> getLCMContextCategoryTPIfPresent()Retrieval of associated LegalContextCategory entities (one to many). This corresponds to the OData navigation property _LCMContextCategoryTP.If the navigation property for an entity LegalContextParentCategory 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 _LCMContextCategoryTP is already loaded, the result
will contain the LegalContextCategory entities. If not, an
Optionwith result stateemptyis returned.
-
setLCMContextCategoryTP
Overwrites the list of associated LegalContextCategory entities for the loaded navigation property _LCMContextCategoryTP.If the navigation property _LCMContextCategoryTP of a queried LegalContextParentCategory 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 LegalContextCategory entities.
-
addLCMContextCategoryTP
Adds elements to the list of associated LegalContextCategory entities. This corresponds to the OData navigation property _LCMContextCategoryTP.If the navigation property _LCMContextCategoryTP of a queried LegalContextParentCategory 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 LegalContextCategory 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 LegalContextParentCategory 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
-
getLglCntntMCntxtParCategoryUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtParCategoryUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMCntxtCatGroupUUID
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
-
getLglCntntMParentCategory
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: LglCntntMParentCategory
- Returns:
- Parent Category ID
-
getLglCntntMIsMandatory
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMIsMandatory
- Returns:
- Mandatory
-
toString
- Overrides:
toStringin classVdmObject<LegalContextParentCategory>
-
equals
- Overrides:
equalsin classVdmEntity<LegalContextParentCategory>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LegalContextParentCategory>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LegalContextParentCategory>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<LegalContextParentCategory>
-