Class LabelFieldGroup
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: LabelFieldGroup_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LabelFieldGroup instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<LabelFieldGroup>Selector for all available fields of LabelFieldGroup.static final SimpleProperty.String<LabelFieldGroup>static final SimpleProperty.DateTime<LabelFieldGroup>static final SimpleProperty.DateTime<LabelFieldGroup>static final SimpleProperty.String<LabelFieldGroup>static final SimpleProperty.String<LabelFieldGroup>static final SimpleProperty.String<LabelFieldGroup>static final SimpleProperty.String<LabelFieldGroup>static final NavigationProperty.Collection<LabelFieldGroup,LabelFieldGroup> Use with available request builders to apply the _ChildrenLabelFieldGroups navigation property to query operations.static final NavigationProperty.Collection<LabelFieldGroup,LabelFieldVersion> Use with available request builders to apply the _LabelFieldVersions navigation property to query operations.static final NavigationProperty.Single<LabelFieldGroup,LabelFieldGroup> Use with available request builders to apply the _ParentLabelFieldGroup navigation property to query operations.static final NavigationProperty.Collection<LabelFieldGroup,LabelFieldGroupText> Use with available request builders to apply the _Texts 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
ConstructorsConstructorDescriptionLabelFieldGroup(String prodCmplncLabelFieldGroupID, String prodCmplncLblFldParentGroupID, String prodCmplncLblFldGrpDDICStruc, String createdByUser, OffsetDateTime creationDateTime, String lastChangedByUser, OffsetDateTime lastChangeDateTime, List<LabelFieldGroup> to_ChildrenLabelFieldGroups, List<LabelFieldVersion> to_LabelFieldVersions, LabelFieldGroup to_ParentLabelFieldGroup, List<LabelFieldGroupText> to_Texts) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildrenLabelFieldGroups(LabelFieldGroup... entity) Adds elements to the list of associated LabelFieldGroup entities.voidaddLabelFieldVersions(LabelFieldVersion... entity) Adds elements to the list of associated LabelFieldVersion entities.voidaddTexts(LabelFieldGroupText... entity) Adds elements to the list of associated LabelFieldGroupText entities.builder()protected booleanbooleanprotected voidio.vavr.control.Option<List<LabelFieldGroup>>Retrieval of associated LabelFieldGroup entities (one to many).Constraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7protected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<LabelFieldVersion>>Retrieval of associated LabelFieldVersion entities (one to many).Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12io.vavr.control.Option<LabelFieldGroup>Retrieval of associated LabelFieldGroup entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 21Constraints: Not nullable, Maximum length: 255Constraints: Not nullable, Maximum length: 21io.vavr.control.Option<List<LabelFieldGroupText>>Retrieval of associated LabelFieldGroupText entities (one to many).getType()inthashCode()voidOverwrites the list of associated LabelFieldGroup entities for the loaded navigation property _ChildrenLabelFieldGroups.voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7voidOverwrites the list of associated LabelFieldVersion entities for the loaded navigation property _LabelFieldVersions.voidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidOverwrites the associated LabelFieldGroup entity for the loaded navigation property _ParentLabelFieldGroup.voidsetProdCmplncLabelFieldGroupID(String prodCmplncLabelFieldGroupID) (Key Field) Constraints: Not nullable, Maximum length: 21voidsetProdCmplncLblFldGrpDDICStruc(String prodCmplncLblFldGrpDDICStruc) Constraints: Not nullable, Maximum length: 255voidsetProdCmplncLblFldParentGroupID(String prodCmplncLblFldParentGroupID) Constraints: Not nullable, Maximum length: 21voidsetTexts(List<LabelFieldGroupText> value) Overwrites the list of associated LabelFieldGroupText entities for the loaded navigation property _Texts.toString()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 LabelFieldGroup. -
PROD_CMPLNC_LABEL_FIELD_GROUP_ID
-
PROD_CMPLNC_LBL_FLD_PARENT_GROUP_ID
-
PROD_CMPLNC_LBL_FLD_GRP_DDIC_STRUC
-
CREATED_BY_USER
-
CREATION_DATE_TIME
-
LAST_CHANGED_BY_USER
-
LAST_CHANGE_DATE_TIME
-
TO__CHILDREN_LABEL_FIELD_GROUPS
public static final NavigationProperty.Collection<LabelFieldGroup,LabelFieldGroup> TO__CHILDREN_LABEL_FIELD_GROUPSUse with available request builders to apply the _ChildrenLabelFieldGroups navigation property to query operations. -
TO__LABEL_FIELD_VERSIONS
public static final NavigationProperty.Collection<LabelFieldGroup,LabelFieldVersion> TO__LABEL_FIELD_VERSIONSUse with available request builders to apply the _LabelFieldVersions navigation property to query operations. -
TO__PARENT_LABEL_FIELD_GROUP
public static final NavigationProperty.Single<LabelFieldGroup,LabelFieldGroup> TO__PARENT_LABEL_FIELD_GROUPUse with available request builders to apply the _ParentLabelFieldGroup navigation property to query operations. -
TO__TEXTS
Use with available request builders to apply the _Texts navigation property to query operations.
-
-
Constructor Details
-
LabelFieldGroup
public LabelFieldGroup() -
LabelFieldGroup
public LabelFieldGroup(@Nullable String prodCmplncLabelFieldGroupID, @Nullable String prodCmplncLblFldParentGroupID, @Nullable String prodCmplncLblFldGrpDDICStruc, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable OffsetDateTime lastChangeDateTime, List<LabelFieldGroup> to_ChildrenLabelFieldGroups, List<LabelFieldVersion> to_LabelFieldVersions, @Nullable LabelFieldGroup to_ParentLabelFieldGroup, List<LabelFieldGroupText> to_Texts)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LabelFieldGroup>
-
setProdCmplncLabelFieldGroupID
(Key Field) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLabelFieldGroupID
- Parameters:
prodCmplncLabelFieldGroupID- Label Field Group ID
-
setProdCmplncLblFldParentGroupID
Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLblFldParentGroupID
- Parameters:
prodCmplncLblFldParentGroupID- Label Field Group ID
-
setProdCmplncLblFldGrpDDICStruc
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: ProdCmplncLblFldGrpDDICStruc
- Parameters:
prodCmplncLblFldGrpDDICStruc- Label Field Group Technical Name
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- User Name
-
setCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- User Name
-
setLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LabelFieldGroup>
-
getKey
- Overrides:
getKeyin classVdmObject<LabelFieldGroup>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LabelFieldGroup>
-
fromMap
- Overrides:
fromMapin classVdmObject<LabelFieldGroup>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LabelFieldGroup>
-
getChildrenLabelFieldGroupsIfPresent
@Nonnull public io.vavr.control.Option<List<LabelFieldGroup>> getChildrenLabelFieldGroupsIfPresent()Retrieval of associated LabelFieldGroup entities (one to many). This corresponds to the OData navigation property _ChildrenLabelFieldGroups.If the navigation property for an entity LabelFieldGroup 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 _ChildrenLabelFieldGroups is already loaded, the result
will contain the LabelFieldGroup entities. If not, an
Optionwith result stateemptyis returned.
-
setChildrenLabelFieldGroups
Overwrites the list of associated LabelFieldGroup entities for the loaded navigation property _ChildrenLabelFieldGroups.If the navigation property _ChildrenLabelFieldGroups of a queried LabelFieldGroup 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 LabelFieldGroup entities.
-
addChildrenLabelFieldGroups
Adds elements to the list of associated LabelFieldGroup entities. This corresponds to the OData navigation property _ChildrenLabelFieldGroups.If the navigation property _ChildrenLabelFieldGroups of a queried LabelFieldGroup 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 LabelFieldGroup entities.
-
getLabelFieldVersionsIfPresent
Retrieval of associated LabelFieldVersion entities (one to many). This corresponds to the OData navigation property _LabelFieldVersions.If the navigation property for an entity LabelFieldGroup 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 _LabelFieldVersions is already loaded, the result will
contain the LabelFieldVersion entities. If not, an
Optionwith result stateemptyis returned.
-
setLabelFieldVersions
Overwrites the list of associated LabelFieldVersion entities for the loaded navigation property _LabelFieldVersions.If the navigation property _LabelFieldVersions of a queried LabelFieldGroup 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 LabelFieldVersion entities.
-
addLabelFieldVersions
Adds elements to the list of associated LabelFieldVersion entities. This corresponds to the OData navigation property _LabelFieldVersions.If the navigation property _LabelFieldVersions of a queried LabelFieldGroup 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 LabelFieldVersion entities.
-
getParentLabelFieldGroupIfPresent
Retrieval of associated LabelFieldGroup entity (one to one). This corresponds to the OData navigation property _ParentLabelFieldGroup.If the navigation property for an entity LabelFieldGroup 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 _ParentLabelFieldGroup is already loaded, the result
will contain the LabelFieldGroup entity. If not, an
Optionwith result stateemptyis returned.
-
setParentLabelFieldGroup
Overwrites the associated LabelFieldGroup entity for the loaded navigation property _ParentLabelFieldGroup.- Parameters:
value- New LabelFieldGroup entity.
-
getTextsIfPresent
Retrieval of associated LabelFieldGroupText entities (one to many). This corresponds to the OData navigation property _Texts.If the navigation property for an entity LabelFieldGroup 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 _Texts is already loaded, the result will contain the
LabelFieldGroupText entities. If not, an
Optionwith result stateemptyis returned.
-
setTexts
Overwrites the list of associated LabelFieldGroupText entities for the loaded navigation property _Texts.If the navigation property _Texts of a queried LabelFieldGroup 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 LabelFieldGroupText entities.
-
addTexts
Adds elements to the list of associated LabelFieldGroupText entities. This corresponds to the OData navigation property _Texts.If the navigation property _Texts of a queried LabelFieldGroup 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 LabelFieldGroupText entities.
-
builder
-
getProdCmplncLabelFieldGroupID
(Key Field) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLabelFieldGroupID
- Returns:
- Label Field Group ID
-
getProdCmplncLblFldParentGroupID
Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLblFldParentGroupID
- Returns:
- Label Field Group ID
-
getProdCmplncLblFldGrpDDICStruc
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: ProdCmplncLblFldGrpDDICStruc
- Returns:
- Label Field Group Technical Name
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- User Name
-
getCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- User Name
-
getLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
-
toString
- Overrides:
toStringin classVdmObject<LabelFieldGroup>
-
equals
- Overrides:
equalsin classVdmEntity<LabelFieldGroup>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LabelFieldGroup>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LabelFieldGroup>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<LabelFieldGroup>
-