Class LabelTemplateVersion
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: LabelTemplateVersion_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LabelTemplateVersion instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<LabelTemplateVersion>Selector for all available fields of LabelTemplateVersion.static final SimpleProperty.String<LabelTemplateVersion>static final SimpleProperty.DateTime<LabelTemplateVersion>static final SimpleProperty.DateTime<LabelTemplateVersion>static final SimpleProperty.String<LabelTemplateVersion>static final SimpleProperty.String<LabelTemplateVersion>static final SimpleProperty.String<LabelTemplateVersion>static final SimpleProperty.NumericInteger<LabelTemplateVersion>static final SimpleProperty.NumericDecimal<LabelTemplateVersion>static final SimpleProperty.String<LabelTemplateVersion>static final SimpleProperty.String<LabelTemplateVersion>static final SimpleProperty.NumericDecimal<LabelTemplateVersion>static final NavigationProperty.Single<LabelTemplateVersion,LabelTemplate> Use with available request builders to apply the _PCLblTemplate navigation property to query operations.Use with available request builders to apply the _PCLblTmplVersUsdFldVersion 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
ConstructorsConstructorDescriptionLabelTemplateVersion(String pCLblTemplateVersionID, String pCLblTemplateID, Short pCLblTemplateVersion, String pCLblTemplateVersionStatus, BigDecimal pCLblTemplateVersionWidth, BigDecimal pCLblTemplateVersionHeight, String pCLblTemplateSizeUoM, OffsetDateTime creationDateTime, String createdByUser, OffsetDateTime lastChangeDateTime, String lastChangedByUser, LabelTemplate to_PCLblTemplate, List<LabelTemplateVersUsedFieldVers> to_PCLblTmplVersUsdFldVersion) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated LabelTemplateVersUsedFieldVers entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 21io.vavr.control.Option<LabelTemplate>Retrieval of associated LabelTemplate entity (one to one).Constraints: Not nullable, Maximum length: 3Constraints: Not nullableConstraints: Not nullable, Precision: 6, Scale: 2(Key Field) Constraints: Not nullable, Maximum length: 21Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 6, Scale: 2io.vavr.control.Option<List<LabelTemplateVersUsedFieldVers>>Retrieval of associated LabelTemplateVersUsedFieldVers entities (one to many).getType()inthashCode()voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDateTime(OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7voidsetLastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7voidsetLastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetPCLblTemplate(LabelTemplate value) Overwrites the associated LabelTemplate entity for the loaded navigation property _PCLblTemplate.voidsetPCLblTemplateID(String pCLblTemplateID) Constraints: Not nullable, Maximum length: 21voidsetPCLblTemplateSizeUoM(String pCLblTemplateSizeUoM) Constraints: Not nullable, Maximum length: 3voidsetPCLblTemplateVersion(Short pCLblTemplateVersion) Constraints: Not nullablevoidsetPCLblTemplateVersionHeight(BigDecimal pCLblTemplateVersionHeight) Constraints: Not nullable, Precision: 6, Scale: 2voidsetPCLblTemplateVersionID(String pCLblTemplateVersionID) (Key Field) Constraints: Not nullable, Maximum length: 21voidsetPCLblTemplateVersionStatus(String pCLblTemplateVersionStatus) Constraints: Not nullable, Maximum length: 1voidsetPCLblTemplateVersionWidth(BigDecimal pCLblTemplateVersionWidth) Constraints: Not nullable, Precision: 6, Scale: 2voidOverwrites the list of associated LabelTemplateVersUsedFieldVers entities for the loaded navigation property _PCLblTmplVersUsdFldVersion.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 LabelTemplateVersion. -
PC_LBL_TEMPLATE_VERSION_ID
-
PC_LBL_TEMPLATE_ID
-
PC_LBL_TEMPLATE_VERSION
-
PC_LBL_TEMPLATE_VERSION_STATUS
-
PC_LBL_TEMPLATE_VERSION_WIDTH
public static final SimpleProperty.NumericDecimal<LabelTemplateVersion> PC_LBL_TEMPLATE_VERSION_WIDTH -
PC_LBL_TEMPLATE_VERSION_HEIGHT
public static final SimpleProperty.NumericDecimal<LabelTemplateVersion> PC_LBL_TEMPLATE_VERSION_HEIGHT -
PC_LBL_TEMPLATE_SIZE_UO_M
-
CREATION_DATE_TIME
-
CREATED_BY_USER
-
LAST_CHANGE_DATE_TIME
-
LAST_CHANGED_BY_USER
-
TO__P_C_LBL_TEMPLATE
public static final NavigationProperty.Single<LabelTemplateVersion,LabelTemplate> TO__P_C_LBL_TEMPLATEUse with available request builders to apply the _PCLblTemplate navigation property to query operations. -
TO__P_C_LBL_TMPL_VERS_USD_FLD_VERSION
public static final NavigationProperty.Collection<LabelTemplateVersion,LabelTemplateVersUsedFieldVers> TO__P_C_LBL_TMPL_VERS_USD_FLD_VERSIONUse with available request builders to apply the _PCLblTmplVersUsdFldVersion navigation property to query operations.
-
-
Constructor Details
-
LabelTemplateVersion
public LabelTemplateVersion() -
LabelTemplateVersion
public LabelTemplateVersion(@Nullable String pCLblTemplateVersionID, @Nullable String pCLblTemplateID, @Nullable Short pCLblTemplateVersion, @Nullable String pCLblTemplateVersionStatus, @Nullable BigDecimal pCLblTemplateVersionWidth, @Nullable BigDecimal pCLblTemplateVersionHeight, @Nullable String pCLblTemplateSizeUoM, @Nullable OffsetDateTime creationDateTime, @Nullable String createdByUser, @Nullable OffsetDateTime lastChangeDateTime, @Nullable String lastChangedByUser, @Nullable LabelTemplate to_PCLblTemplate, List<LabelTemplateVersUsedFieldVers> to_PCLblTmplVersUsdFldVersion)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LabelTemplateVersion>
-
setPCLblTemplateVersionID
(Key Field) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: PCLblTemplateVersionID
- Parameters:
pCLblTemplateVersionID- Identifier
-
setPCLblTemplateID
Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: PCLblTemplateID
- Parameters:
pCLblTemplateID- Identifier
-
setPCLblTemplateVersion
Constraints: Not nullableOriginal property name from the Odata EDM: PCLblTemplateVersion
- Parameters:
pCLblTemplateVersion- Label Template Version
-
setPCLblTemplateVersionStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PCLblTemplateVersionStatus
- Parameters:
pCLblTemplateVersionStatus- Status of Label Template Version
-
setPCLblTemplateVersionWidth
Constraints: Not nullable, Precision: 6, Scale: 2Original property name from the Odata EDM: PCLblTemplateVersionWidth
- Parameters:
pCLblTemplateVersionWidth- Template Version Width
-
setPCLblTemplateVersionHeight
Constraints: Not nullable, Precision: 6, Scale: 2Original property name from the Odata EDM: PCLblTemplateVersionHeight
- Parameters:
pCLblTemplateVersionHeight- Template Version Height
-
setPCLblTemplateSizeUoM
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PCLblTemplateSizeUoM
- Parameters:
pCLblTemplateSizeUoM- Template Size Unit of Measurement
-
setCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Parameters:
creationDateTime- Created On
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Created By
-
setLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- Last Changed On
-
setLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Parameters:
lastChangedByUser- Last Changed By
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LabelTemplateVersion>
-
getKey
- Overrides:
getKeyin classVdmObject<LabelTemplateVersion>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LabelTemplateVersion>
-
fromMap
- Overrides:
fromMapin classVdmObject<LabelTemplateVersion>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LabelTemplateVersion>
-
getPCLblTemplateIfPresent
Retrieval of associated LabelTemplate entity (one to one). This corresponds to the OData navigation property _PCLblTemplate.If the navigation property for an entity LabelTemplateVersion 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 _PCLblTemplate is already loaded, the result will
contain the LabelTemplate entity. If not, an
Optionwith result stateemptyis returned.
-
setPCLblTemplate
Overwrites the associated LabelTemplate entity for the loaded navigation property _PCLblTemplate.- Parameters:
value- New LabelTemplate entity.
-
getPCLblTmplVersUsdFldVersionIfPresent
@Nonnull public io.vavr.control.Option<List<LabelTemplateVersUsedFieldVers>> getPCLblTmplVersUsdFldVersionIfPresent()Retrieval of associated LabelTemplateVersUsedFieldVers entities (one to many). This corresponds to the OData navigation property _PCLblTmplVersUsdFldVersion.If the navigation property for an entity LabelTemplateVersion 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 _PCLblTmplVersUsdFldVersion is already loaded, the
result will contain the LabelTemplateVersUsedFieldVers entities. If not, an
Optionwith result stateemptyis returned.
-
setPCLblTmplVersUsdFldVersion
Overwrites the list of associated LabelTemplateVersUsedFieldVers entities for the loaded navigation property _PCLblTmplVersUsdFldVersion.If the navigation property _PCLblTmplVersUsdFldVersion of a queried LabelTemplateVersion 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 LabelTemplateVersUsedFieldVers entities.
-
addPCLblTmplVersUsdFldVersion
Adds elements to the list of associated LabelTemplateVersUsedFieldVers entities. This corresponds to the OData navigation property _PCLblTmplVersUsdFldVersion.If the navigation property _PCLblTmplVersUsdFldVersion of a queried LabelTemplateVersion 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 LabelTemplateVersUsedFieldVers entities.
-
builder
-
getPCLblTemplateVersionID
(Key Field) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: PCLblTemplateVersionID
- Returns:
- Identifier
-
getPCLblTemplateID
Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: PCLblTemplateID
- Returns:
- Identifier
-
getPCLblTemplateVersion
Constraints: Not nullableOriginal property name from the Odata EDM: PCLblTemplateVersion
- Returns:
- Label Template Version
-
getPCLblTemplateVersionStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PCLblTemplateVersionStatus
- Returns:
- Status of Label Template Version
-
getPCLblTemplateVersionWidth
Constraints: Not nullable, Precision: 6, Scale: 2Original property name from the Odata EDM: PCLblTemplateVersionWidth
- Returns:
- Template Version Width
-
getPCLblTemplateVersionHeight
Constraints: Not nullable, Precision: 6, Scale: 2Original property name from the Odata EDM: PCLblTemplateVersionHeight
- Returns:
- Template Version Height
-
getPCLblTemplateSizeUoM
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PCLblTemplateSizeUoM
- Returns:
- Template Size Unit of Measurement
-
getCreationDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
- Created On
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Created By
-
getLastChangeDateTime
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- Last Changed On
-
getLastChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
- Last Changed By
-
toString
- Overrides:
toStringin classVdmObject<LabelTemplateVersion>
-
equals
- Overrides:
equalsin classVdmEntity<LabelTemplateVersion>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LabelTemplateVersion>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LabelTemplateVersion>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<LabelTemplateVersion>
-