Class LabelFieldVersion
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: LabelFieldVersion_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LabelFieldVersion instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<LabelFieldVersion>Selector for all available fields of LabelFieldVersion.static final SimpleProperty.String<LabelFieldVersion>static final SimpleProperty.DateTime<LabelFieldVersion>static final SimpleProperty.String<LabelFieldVersion>static final SimpleProperty.String<LabelFieldVersion>static final SimpleProperty.NumericInteger<LabelFieldVersion>static final SimpleProperty.String<LabelFieldVersion>static final SimpleProperty.String<LabelFieldVersion>static final SimpleProperty.String<LabelFieldVersion>static final SimpleProperty.String<LabelFieldVersion>static final SimpleProperty.String<LabelFieldVersion>static final NavigationProperty.Single<LabelFieldVersion,LabelFieldGroup> Use with available request builders to apply the _LabelFieldGroup navigation property to query operations.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
ConstructorsConstructorDescriptionLabelFieldVersion(String prodCmplncLabelFieldVersionID, String prodCmplncLabelFieldID, Short prodCmplncLabelFieldVersion, String prodCmplncLblFldVersionStatus, String prodCmplncLabelFieldGroupID, String prodCmplncLblFldTechnicalName, String prodCmplncLblFldDataDefinition, String prodCmplncLblFieldCardinality, String createdByUser, OffsetDateTime creationDateTime, LabelFieldGroup to_LabelFieldGroup, List<LabelFieldVersionText> to_Texts) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTexts(LabelFieldVersionText... entity) Adds elements to the list of associated LabelFieldVersionText entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7protected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<LabelFieldGroup>Retrieval of associated LabelFieldGroup entity (one to one).Constraints: Not nullable, Maximum length: 21Constraints: Not nullable, Maximum length: 21Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 21Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 255Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<LabelFieldVersionText>>Retrieval of associated LabelFieldVersionText entities (one to many).getType()inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7voidOverwrites the associated LabelFieldGroup entity for the loaded navigation property _LabelFieldGroup.voidsetProdCmplncLabelFieldGroupID(String prodCmplncLabelFieldGroupID) Constraints: Not nullable, Maximum length: 21voidsetProdCmplncLabelFieldID(String prodCmplncLabelFieldID) Constraints: Not nullable, Maximum length: 21voidsetProdCmplncLabelFieldVersion(Short prodCmplncLabelFieldVersion) Constraints: Not nullablevoidsetProdCmplncLabelFieldVersionID(String prodCmplncLabelFieldVersionID) (Key Field) Constraints: Not nullable, Maximum length: 21voidsetProdCmplncLblFieldCardinality(String prodCmplncLblFieldCardinality) Constraints: Not nullable, Maximum length: 1voidsetProdCmplncLblFldDataDefinition(String prodCmplncLblFldDataDefinition) Constraints: Not nullable, Maximum length: 10voidsetProdCmplncLblFldTechnicalName(String prodCmplncLblFldTechnicalName) Constraints: Not nullable, Maximum length: 255voidsetProdCmplncLblFldVersionStatus(String prodCmplncLblFldVersionStatus) Constraints: Not nullable, Maximum length: 1voidsetTexts(List<LabelFieldVersionText> value) Overwrites the list of associated LabelFieldVersionText 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 LabelFieldVersion. -
PROD_CMPLNC_LABEL_FIELD_VERSION_ID
-
PROD_CMPLNC_LABEL_FIELD_ID
-
PROD_CMPLNC_LABEL_FIELD_VERSION
public static final SimpleProperty.NumericInteger<LabelFieldVersion> PROD_CMPLNC_LABEL_FIELD_VERSION -
PROD_CMPLNC_LBL_FLD_VERSION_STATUS
-
PROD_CMPLNC_LABEL_FIELD_GROUP_ID
-
PROD_CMPLNC_LBL_FLD_TECHNICAL_NAME
-
PROD_CMPLNC_LBL_FLD_DATA_DEFINITION
-
PROD_CMPLNC_LBL_FIELD_CARDINALITY
-
CREATED_BY_USER
-
CREATION_DATE_TIME
-
TO__LABEL_FIELD_GROUP
public static final NavigationProperty.Single<LabelFieldVersion,LabelFieldGroup> TO__LABEL_FIELD_GROUPUse with available request builders to apply the _LabelFieldGroup navigation property to query operations. -
TO__TEXTS
public static final NavigationProperty.Collection<LabelFieldVersion,LabelFieldVersionText> TO__TEXTSUse with available request builders to apply the _Texts navigation property to query operations.
-
-
Constructor Details
-
LabelFieldVersion
public LabelFieldVersion() -
LabelFieldVersion
public LabelFieldVersion(@Nullable String prodCmplncLabelFieldVersionID, @Nullable String prodCmplncLabelFieldID, @Nullable Short prodCmplncLabelFieldVersion, @Nullable String prodCmplncLblFldVersionStatus, @Nullable String prodCmplncLabelFieldGroupID, @Nullable String prodCmplncLblFldTechnicalName, @Nullable String prodCmplncLblFldDataDefinition, @Nullable String prodCmplncLblFieldCardinality, @Nullable String createdByUser, @Nullable OffsetDateTime creationDateTime, @Nullable LabelFieldGroup to_LabelFieldGroup, List<LabelFieldVersionText> to_Texts)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LabelFieldVersion>
-
setProdCmplncLabelFieldVersionID
(Key Field) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLabelFieldVersionID
- Parameters:
prodCmplncLabelFieldVersionID- Label Field Version Identificator
-
setProdCmplncLabelFieldID
Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLabelFieldID
- Parameters:
prodCmplncLabelFieldID- Label Field Identificator
-
setProdCmplncLabelFieldVersion
Constraints: Not nullableOriginal property name from the Odata EDM: ProdCmplncLabelFieldVersion
- Parameters:
prodCmplncLabelFieldVersion- Label Field Version
-
setProdCmplncLblFldVersionStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProdCmplncLblFldVersionStatus
- Parameters:
prodCmplncLblFldVersionStatus- Label Field Version Status
-
setProdCmplncLabelFieldGroupID
Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLabelFieldGroupID
- Parameters:
prodCmplncLabelFieldGroupID- Label Field Group ID
-
setProdCmplncLblFldTechnicalName
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: ProdCmplncLblFldTechnicalName
- Parameters:
prodCmplncLblFldTechnicalName- Label Field Technical Name
-
setProdCmplncLblFldDataDefinition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProdCmplncLblFldDataDefinition
- Parameters:
prodCmplncLblFldDataDefinition- Label Field Data Definition
-
setProdCmplncLblFieldCardinality
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProdCmplncLblFieldCardinality
- Parameters:
prodCmplncLblFieldCardinality- Label Field Cardinality
-
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)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LabelFieldVersion>
-
getKey
- Overrides:
getKeyin classVdmObject<LabelFieldVersion>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LabelFieldVersion>
-
fromMap
- Overrides:
fromMapin classVdmObject<LabelFieldVersion>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LabelFieldVersion>
-
getLabelFieldGroupIfPresent
Retrieval of associated LabelFieldGroup entity (one to one). This corresponds to the OData navigation property _LabelFieldGroup.If the navigation property for an entity LabelFieldVersion 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 _LabelFieldGroup is already loaded, the result will
contain the LabelFieldGroup entity. If not, an
Optionwith result stateemptyis returned.
-
setLabelFieldGroup
Overwrites the associated LabelFieldGroup entity for the loaded navigation property _LabelFieldGroup.- Parameters:
value- New LabelFieldGroup entity.
-
getTextsIfPresent
Retrieval of associated LabelFieldVersionText entities (one to many). This corresponds to the OData navigation property _Texts.If the navigation property for an entity LabelFieldVersion 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
LabelFieldVersionText entities. If not, an
Optionwith result stateemptyis returned.
-
setTexts
Overwrites the list of associated LabelFieldVersionText entities for the loaded navigation property _Texts.If the navigation property _Texts of a queried LabelFieldVersion 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 LabelFieldVersionText entities.
-
addTexts
Adds elements to the list of associated LabelFieldVersionText entities. This corresponds to the OData navigation property _Texts.If the navigation property _Texts of a queried LabelFieldVersion 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 LabelFieldVersionText entities.
-
builder
-
getProdCmplncLabelFieldVersionID
(Key Field) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLabelFieldVersionID
- Returns:
- Label Field Version Identificator
-
getProdCmplncLabelFieldID
Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLabelFieldID
- Returns:
- Label Field Identificator
-
getProdCmplncLabelFieldVersion
Constraints: Not nullableOriginal property name from the Odata EDM: ProdCmplncLabelFieldVersion
- Returns:
- Label Field Version
-
getProdCmplncLblFldVersionStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProdCmplncLblFldVersionStatus
- Returns:
- Label Field Version Status
-
getProdCmplncLabelFieldGroupID
Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: ProdCmplncLabelFieldGroupID
- Returns:
- Label Field Group ID
-
getProdCmplncLblFldTechnicalName
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: ProdCmplncLblFldTechnicalName
- Returns:
- Label Field Technical Name
-
getProdCmplncLblFldDataDefinition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProdCmplncLblFldDataDefinition
- Returns:
- Label Field Data Definition
-
getProdCmplncLblFieldCardinality
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProdCmplncLblFieldCardinality
- Returns:
- Label Field Cardinality
-
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)
-
toString
- Overrides:
toStringin classVdmObject<LabelFieldVersion>
-
equals
- Overrides:
equalsin classVdmEntity<LabelFieldVersion>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LabelFieldVersion>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LabelFieldVersion>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<LabelFieldVersion>
-