Class LglTransParentCategory
Original entity name from the Odata EDM: A_LglTransParentCategoryType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LglTransParentCategory instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LglTransParentCategorySelectableSelector for all available fields of LglTransParentCategory.static final LglTransParentCategoryField<UUID>Use with available fluent helpers to apply the LegalTransactionCatGroupUUID field to query operations.static final LglTransParentCategoryField<UUID>Use with available fluent helpers to apply the LegalTransactionParCatUUID field to query operations.static final LglTransParentCategoryField<UUID>Use with available fluent helpers to apply the LegalTransactionUUID field to query operations.static final LglTransParentCategoryField<Short>Use with available fluent helpers to apply the LglCntntMIndex field to query operations.static final LglTransParentCategoryField<Boolean>Use with available fluent helpers to apply the LglCntntMIsMandatory field to query operations.static final LglTransParentCategoryField<String>Use with available fluent helpers to apply the LglCntntMParentCategory field to query operations.static final LglTransParentCategoryLink<LglTransCategory>Use with available fluent helpers to apply the to_LglTransCategory navigation property to query operations.static final LglTransParentCategoryOneToOneLink<LglTransCategoryGroup>Use with available fluent helpers to apply the to_LglTransCategoryGroup navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionLglTransParentCategory(UUID legalTransactionParCatUUID, UUID legalTransactionCatGroupUUID, UUID legalTransactionUUID, String lglCntntMParentCategory, Boolean lglCntntMIsMandatory, Short lglCntntMIndex, LglTransCategoryGroup toLglTransCategoryGroup, List<LglTransCategory> toLglTransCategory) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLglTransCategory(LglTransCategory... entity) Adds elements to the list of associated LglTransCategory entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the LglTransCategory entities (one to many) associated with this entity.Fetches the LglTransCategoryGroup entity (one to one) associated with this entity.static <T,DomainT>
LglTransParentCategoryField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> LglTransParentCategoryField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()Constraints: none(Key Field) Constraints: Not nullableConstraints: noneConstraints: noneConstraints: noneConstraints: Not nullable, Maximum length: 6io.vavr.control.Option<LglTransCategoryGroup>Retrieval of associated LglTransCategoryGroup entity (one to one).Retrieval of associated LglTransCategoryGroup entity (one to one).io.vavr.control.Option<List<LglTransCategory>>Retrieval of associated LglTransCategory entities (one to many).Retrieval of associated LglTransCategory entities (one to many).getType()inthashCode()voidsetLegalTransactionCatGroupUUID(UUID legalTransactionCatGroupUUID) Constraints: nonevoidsetLegalTransactionParCatUUID(UUID legalTransactionParCatUUID) (Key Field) Constraints: Not nullablevoidsetLegalTransactionUUID(UUID legalTransactionUUID) Constraints: nonevoidsetLglCntntMIndex(Short lglCntntMIndex) Constraints: nonevoidsetLglCntntMIsMandatory(Boolean lglCntntMIsMandatory) Constraints: nonevoidsetLglCntntMParentCategory(String lglCntntMParentCategory) Constraints: Not nullable, Maximum length: 6voidsetLglTransCategory(List<LglTransCategory> value) Overwrites the list of associated LglTransCategory entities for the loaded navigation property to_LglTransCategory.voidOverwrites the associated LglTransCategoryGroup entity for the loaded navigation property to_LglTransCategoryGroup.protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
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 LglTransParentCategory. -
LEGAL_TRANSACTION_PAR_CAT_UUID
Use with available fluent helpers to apply the LegalTransactionParCatUUID field to query operations. -
LEGAL_TRANSACTION_CAT_GROUP_UUID
Use with available fluent helpers to apply the LegalTransactionCatGroupUUID field to query operations. -
LEGAL_TRANSACTION_UUID
Use with available fluent helpers to apply the LegalTransactionUUID field to query operations. -
LGL_CNTNT_M_PARENT_CATEGORY
Use with available fluent helpers to apply the LglCntntMParentCategory field to query operations. -
LGL_CNTNT_M_IS_MANDATORY
Use with available fluent helpers to apply the LglCntntMIsMandatory field to query operations. -
LGL_CNTNT_M_INDEX
Use with available fluent helpers to apply the LglCntntMIndex field to query operations. -
TO_LGL_TRANS_CATEGORY_GROUP
public static final LglTransParentCategoryOneToOneLink<LglTransCategoryGroup> TO_LGL_TRANS_CATEGORY_GROUPUse with available fluent helpers to apply the to_LglTransCategoryGroup navigation property to query operations. -
TO_LGL_TRANS_CATEGORY
Use with available fluent helpers to apply the to_LglTransCategory navigation property to query operations.
-
-
Constructor Details
-
LglTransParentCategory
public LglTransParentCategory() -
LglTransParentCategory
public LglTransParentCategory(@Nullable UUID legalTransactionParCatUUID, @Nullable UUID legalTransactionCatGroupUUID, @Nullable UUID legalTransactionUUID, @Nullable String lglCntntMParentCategory, @Nullable Boolean lglCntntMIsMandatory, @Nullable Short lglCntntMIndex, @Nullable LglTransCategoryGroup toLglTransCategoryGroup, List<LglTransCategory> toLglTransCategory)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LglTransParentCategory>
-
setLegalTransactionParCatUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LegalTransactionParCatUUID
- Parameters:
legalTransactionParCatUUID- Universal Unique Identifier
-
setLegalTransactionCatGroupUUID
Constraints: noneOriginal property name from the Odata EDM: LegalTransactionCatGroupUUID
- Parameters:
legalTransactionCatGroupUUID- Universal Unique Identifier
-
setLegalTransactionUUID
Constraints: noneOriginal property name from the Odata EDM: LegalTransactionUUID
- Parameters:
legalTransactionUUID- Universal Unique Identifier
-
setLglCntntMParentCategory
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: LglCntntMParentCategory
- Parameters:
lglCntntMParentCategory- Parent Category ID
-
setLglCntntMIsMandatory
Constraints: noneOriginal property name from the Odata EDM: LglCntntMIsMandatory
- Parameters:
lglCntntMIsMandatory- Mandatory
-
setLglCntntMIndex
Constraints: noneOriginal property name from the Odata EDM: LglCntntMIndex
- Parameters:
lglCntntMIndex- Index
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LglTransParentCategory>
-
getKey
- Overrides:
getKeyin classVdmObject<LglTransParentCategory>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LglTransParentCategory>
-
fromMap
- Overrides:
fromMapin classVdmObject<LglTransParentCategory>
-
field
@Nonnull public static <T> LglTransParentCategoryField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> LglTransParentCategoryField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<LglTransParentCategory>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<LglTransParentCategory>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<LglTransParentCategory>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LglTransParentCategory>
-
fetchLglTransCategoryGroup
Fetches the LglTransCategoryGroup entity (one to one) associated with this entity. This corresponds to the OData navigation property to_LglTransCategoryGroup.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated LglTransCategoryGroup entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLglTransCategoryGroupOrFetch
Retrieval of associated LglTransCategoryGroup entity (one to one). This corresponds to the OData navigation property to_LglTransCategoryGroup.If the navigation property to_LglTransCategoryGroup of a queried LglTransParentCategory 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.
- Returns:
- List of associated LglTransCategoryGroup entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLglTransCategoryGroupIfPresent
Retrieval of associated LglTransCategoryGroup entity (one to one). This corresponds to the OData navigation property to_LglTransCategoryGroup.If the navigation property for an entity LglTransParentCategory 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 to_LglTransCategoryGroup is already loaded, the result
will contain the LglTransCategoryGroup entity. If not, an
Optionwith result stateemptyis returned.
-
setLglTransCategoryGroup
Overwrites the associated LglTransCategoryGroup entity for the loaded navigation property to_LglTransCategoryGroup.- Parameters:
value- New LglTransCategoryGroup entity.
-
fetchLglTransCategory
Fetches the LglTransCategory entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglTransCategory.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated LglTransCategory entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLglTransCategoryOrFetch
Retrieval of associated LglTransCategory entities (one to many). This corresponds to the OData navigation property to_LglTransCategory.If the navigation property to_LglTransCategory of a queried LglTransParentCategory 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.
- Returns:
- List of associated LglTransCategory entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLglTransCategoryIfPresent
Retrieval of associated LglTransCategory entities (one to many). This corresponds to the OData navigation property to_LglTransCategory.If the navigation property for an entity LglTransParentCategory 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 to_LglTransCategory is already loaded, the result will
contain the LglTransCategory entities. If not, an
Optionwith result stateemptyis returned.
-
setLglTransCategory
Overwrites the list of associated LglTransCategory entities for the loaded navigation property to_LglTransCategory.If the navigation property to_LglTransCategory of a queried LglTransParentCategory 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 LglTransCategory entities.
-
addLglTransCategory
Adds elements to the list of associated LglTransCategory entities. This corresponds to the OData navigation property to_LglTransCategory.If the navigation property to_LglTransCategory of a queried LglTransParentCategory 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 LglTransCategory entities.
-
builder
-
getLegalTransactionParCatUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LegalTransactionParCatUUID
- Returns:
- Universal Unique Identifier
-
getLegalTransactionCatGroupUUID
Constraints: noneOriginal property name from the Odata EDM: LegalTransactionCatGroupUUID
- Returns:
- Universal Unique Identifier
-
getLegalTransactionUUID
Constraints: noneOriginal property name from the Odata EDM: LegalTransactionUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMParentCategory
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: LglCntntMParentCategory
- Returns:
- Parent Category ID
-
getLglCntntMIsMandatory
Constraints: noneOriginal property name from the Odata EDM: LglCntntMIsMandatory
- Returns:
- Mandatory
-
getLglCntntMIndex
Constraints: noneOriginal property name from the Odata EDM: LglCntntMIndex
- Returns:
- Index
-
toString
- Overrides:
toStringin classVdmObject<LglTransParentCategory>
-
equals
- Overrides:
equalsin classVdmEntity<LglTransParentCategory>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LglTransParentCategory>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LglTransParentCategory>
-