Class LegalContextCategory
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: LegalContextCategory_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LegalContextCategory instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<LegalContextCategory>Selector for all available fields of LegalContextCategory.static final SimpleProperty.String<LegalContextCategory>static final SimpleProperty.Guid<LegalContextCategory>static final SimpleProperty.Guid<LegalContextCategory>static final SimpleProperty.Guid<LegalContextCategory>static final NavigationProperty.Single<LegalContextCategory,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
ConstructorsConstructorDescriptionLegalContextCategory(UUID lglCntntMCntxtCategoryUUID, UUID lglCntntMCntxtParCategoryUUID, UUID lglCntntMContextUUID, String lglCntntMCategory, LegalContextParentCategory to_LCMContextParentCategoryTP, LegalContext to_LCMContextTP) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<LegalContextParentCategory>Retrieval of associated LegalContextParentCategory entity (one to one).io.vavr.control.Option<LegalContext>Retrieval of associated LegalContext entity (one to one).Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidOverwrites the associated LegalContextParentCategory entity for the loaded navigation property _LCMContextParentCategoryTP.voidsetLCMContextTP(LegalContext value) Overwrites the associated LegalContext entity for the loaded navigation property _LCMContextTP.voidsetLglCntntMCategory(String lglCntntMCategory) Constraints: Not nullable, Maximum length: 6voidsetLglCntntMCntxtCategoryUUID(UUID lglCntntMCntxtCategoryUUID) (Key Field) Constraints: Not nullablevoidsetLglCntntMCntxtParCategoryUUID(UUID lglCntntMCntxtParCategoryUUID) 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 LegalContextCategory. -
LGL_CNTNT_M_CNTXT_CATEGORY_UUID
-
LGL_CNTNT_M_CNTXT_PAR_CATEGORY_UUID
-
LGL_CNTNT_M_CONTEXT_UUID
-
LGL_CNTNT_M_CATEGORY
-
TO__L_C_M_CONTEXTPARENT_CATEGORY_T_P
public static final NavigationProperty.Single<LegalContextCategory,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<LegalContextCategory,LegalContext> TO__L_C_M_CONTEXT_TPUse with available request builders to apply the _LCMContextTP navigation property to query operations.
-
-
Constructor Details
-
LegalContextCategory
public LegalContextCategory() -
LegalContextCategory
public LegalContextCategory(@Nullable UUID lglCntntMCntxtCategoryUUID, @Nullable UUID lglCntntMCntxtParCategoryUUID, @Nullable UUID lglCntntMContextUUID, @Nullable String lglCntntMCategory, @Nullable LegalContextParentCategory to_LCMContextParentCategoryTP, @Nullable LegalContext to_LCMContextTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LegalContextCategory>
-
setLglCntntMCntxtCategoryUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtCategoryUUID
- Parameters:
lglCntntMCntxtCategoryUUID- Universal Unique Identifier
-
setLglCntntMCntxtParCategoryUUID
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtParCategoryUUID
- Parameters:
lglCntntMCntxtParCategoryUUID- Universal Unique Identifier
-
setLglCntntMContextUUID
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMContextUUID
- Parameters:
lglCntntMContextUUID- Universal Unique Identifier
-
setLglCntntMCategory
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: LglCntntMCategory
- Parameters:
lglCntntMCategory- Category ID
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LegalContextCategory>
-
getKey
- Overrides:
getKeyin classVdmObject<LegalContextCategory>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LegalContextCategory>
-
fromMap
- Overrides:
fromMapin classVdmObject<LegalContextCategory>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LegalContextCategory>
-
getLCMContextParentCategoryTPIfPresent
@Nonnull public io.vavr.control.Option<LegalContextParentCategory> getLCMContextParentCategoryTPIfPresent()Retrieval of associated LegalContextParentCategory entity (one to one). This corresponds to the OData navigation property _LCMContextParentCategoryTP.If the navigation property for an entity LegalContextCategory 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 entity. If not, an
Optionwith result stateemptyis returned.
-
setLCMContextParentCategoryTP
Overwrites the associated LegalContextParentCategory entity for the loaded navigation property _LCMContextParentCategoryTP.- Parameters:
value- New LegalContextParentCategory entity.
-
getLCMContextTPIfPresent
Retrieval of associated LegalContext entity (one to one). This corresponds to the OData navigation property _LCMContextTP.If the navigation property for an entity LegalContextCategory 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
-
getLglCntntMCntxtCategoryUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtCategoryUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMCntxtParCategoryUUID
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtParCategoryUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMContextUUID
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMContextUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMCategory
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: LglCntntMCategory
- Returns:
- Category ID
-
toString
- Overrides:
toStringin classVdmObject<LegalContextCategory>
-
equals
- Overrides:
equalsin classVdmEntity<LegalContextCategory>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LegalContextCategory>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LegalContextCategory>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<LegalContextCategory>
-