Class LegalContextEntity
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: LegalContextEntity_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LegalContextEntity instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<LegalContextEntity>Selector for all available fields of LegalContextEntity.static final SimpleProperty.Guid<LegalContextEntity>static final SimpleProperty.Guid<LegalContextEntity>static final SimpleProperty.String<LegalContextEntity>static final SimpleProperty.String<LegalContextEntity>static final SimpleProperty.Boolean<LegalContextEntity>static final SimpleProperty.Boolean<LegalContextEntity>static final SimpleProperty.Boolean<LegalContextEntity>static final SimpleProperty.NumericInteger<LegalContextEntity>static final NavigationProperty.Single<LegalContextEntity,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
ConstructorsConstructorDescriptionLegalContextEntity(UUID lglCntntMCntxtEntityUUID, UUID lglCntntMContextUUID, Short lglCntntMRank, String lglCntntMEntityType, String lglCntntMEntity, Boolean lglCntntMIsMandatory, Boolean lglCntntMIsMainEntity, Boolean lglCntntMIsIntegRelevant, LegalContext to_LCMContextTP) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<LegalContext>Retrieval of associated LegalContext entity (one to one).(Key Field) Constraints: Not nullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: Not nullableConstraints: Not nullableConstraints: Not nullableConstraints: Not nullablegetType()inthashCode()voidsetLCMContextTP(LegalContext value) Overwrites the associated LegalContext entity for the loaded navigation property _LCMContextTP.voidsetLglCntntMCntxtEntityUUID(UUID lglCntntMCntxtEntityUUID) (Key Field) Constraints: Not nullablevoidsetLglCntntMContextUUID(UUID lglCntntMContextUUID) Constraints: Not nullablevoidsetLglCntntMEntity(String lglCntntMEntity) Constraints: Not nullable, Maximum length: 10voidsetLglCntntMEntityType(String lglCntntMEntityType) Constraints: Not nullable, Maximum length: 4voidsetLglCntntMIsIntegRelevant(Boolean lglCntntMIsIntegRelevant) Constraints: Not nullablevoidsetLglCntntMIsMainEntity(Boolean lglCntntMIsMainEntity) Constraints: Not nullablevoidsetLglCntntMIsMandatory(Boolean lglCntntMIsMandatory) Constraints: Not nullablevoidsetLglCntntMRank(Short lglCntntMRank) 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 LegalContextEntity. -
LGL_CNTNT_M_CNTXT_ENTITY_UUID
-
LGL_CNTNT_M_CONTEXT_UUID
-
LGL_CNTNT_M_RANK
-
LGL_CNTNT_M_ENTITY_TYPE
-
LGL_CNTNT_M_ENTITY
-
LGL_CNTNT_M_IS_MANDATORY
-
LGL_CNTNT_M_IS_MAIN_ENTITY
-
LGL_CNTNT_M_IS_INTEG_RELEVANT
-
TO__L_C_M_CONTEXT_TP
Use with available request builders to apply the _LCMContextTP navigation property to query operations.
-
-
Constructor Details
-
LegalContextEntity
public LegalContextEntity() -
LegalContextEntity
public LegalContextEntity(@Nullable UUID lglCntntMCntxtEntityUUID, @Nullable UUID lglCntntMContextUUID, @Nullable Short lglCntntMRank, @Nullable String lglCntntMEntityType, @Nullable String lglCntntMEntity, @Nullable Boolean lglCntntMIsMandatory, @Nullable Boolean lglCntntMIsMainEntity, @Nullable Boolean lglCntntMIsIntegRelevant, @Nullable LegalContext to_LCMContextTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LegalContextEntity>
-
setLglCntntMCntxtEntityUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtEntityUUID
- Parameters:
lglCntntMCntxtEntityUUID- Universal Unique Identifier
-
setLglCntntMContextUUID
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMContextUUID
- Parameters:
lglCntntMContextUUID- Universal Unique Identifier
-
setLglCntntMRank
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMRank
- Parameters:
lglCntntMRank- Sequence Number
-
setLglCntntMEntityType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LglCntntMEntityType
- Parameters:
lglCntntMEntityType- Entity Type
-
setLglCntntMEntity
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LglCntntMEntity
- Parameters:
lglCntntMEntity- Entity ID
-
setLglCntntMIsMandatory
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMIsMandatory
- Parameters:
lglCntntMIsMandatory- Mandatory
-
setLglCntntMIsMainEntity
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMIsMainEntity
- Parameters:
lglCntntMIsMainEntity- Entity is Main Entity of Legal Transaction
-
setLglCntntMIsIntegRelevant
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMIsIntegRelevant
- Parameters:
lglCntntMIsIntegRelevant- Integrated
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LegalContextEntity>
-
getKey
- Overrides:
getKeyin classVdmObject<LegalContextEntity>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LegalContextEntity>
-
fromMap
- Overrides:
fromMapin classVdmObject<LegalContextEntity>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LegalContextEntity>
-
getLCMContextTPIfPresent
Retrieval of associated LegalContext entity (one to one). This corresponds to the OData navigation property _LCMContextTP.If the navigation property for an entity LegalContextEntity 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
-
getLglCntntMCntxtEntityUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMCntxtEntityUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMContextUUID
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMContextUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMRank
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMRank
- Returns:
- Sequence Number
-
getLglCntntMEntityType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LglCntntMEntityType
- Returns:
- Entity Type
-
getLglCntntMEntity
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LglCntntMEntity
- Returns:
- Entity ID
-
getLglCntntMIsMandatory
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMIsMandatory
- Returns:
- Mandatory
-
getLglCntntMIsMainEntity
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMIsMainEntity
- Returns:
- Entity is Main Entity of Legal Transaction
-
getLglCntntMIsIntegRelevant
Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMIsIntegRelevant
- Returns:
- Integrated
-
toString
- Overrides:
toStringin classVdmObject<LegalContextEntity>
-
equals
- Overrides:
equalsin classVdmEntity<LegalContextEntity>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LegalContextEntity>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LegalContextEntity>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<LegalContextEntity>
-