Class PhaseDef
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PhaseDef_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PhaseDef instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<PhaseDef>Selector for all available fields of PhaseDef.static final SimpleProperty.String<PhaseDef>static final SimpleProperty.String<PhaseDef>static final SimpleProperty.Date<PhaseDef>static final SimpleProperty.String<PhaseDef>static final NavigationProperty.Single<PhaseDef,CategoryDef> Use with available request builders to apply the _CategoryDef 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PhaseDef.PhaseDefBuilderbuilder()protected booleanbooleanprotected voidio.vavr.control.Option<CategoryDef>Retrieval of associated CategoryDef entity (one to one).protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 30(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 7(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetCategoryDef(CategoryDef value) Overwrites the associated CategoryDef entity for the loaded navigation property _CategoryDef.voidsetStatryRptCategory(String statryRptCategory) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetStatryRptCatPhase(String statryRptCatPhase) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetStatryRptCatPhaseOccurrence(String statryRptCatPhaseOccurrence) Constraints: Not nullable, Maximum length: 7voidsetStatryRptCatPhaseValidFromDate(LocalDate statryRptCatPhaseValidFromDate) (Key Field) 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 PhaseDef. -
STATRY_RPT_CATEGORY
-
STATRY_RPT_CAT_PHASE
-
STATRY_RPT_CAT_PHASE_VALID_FROM_DATE
-
STATRY_RPT_CAT_PHASE_OCCURRENCE
-
TO__CATEGORY_DEF
Use with available request builders to apply the _CategoryDef navigation property to query operations.
-
-
Constructor Details
-
PhaseDef
public PhaseDef() -
PhaseDef
public PhaseDef(@Nullable String statryRptCategory, @Nullable String statryRptCatPhase, @Nullable LocalDate statryRptCatPhaseValidFromDate, @Nullable String statryRptCatPhaseOccurrence, @Nullable CategoryDef to_CategoryDef)
-
-
Method Details
-
getType
-
setStatryRptCategory
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptCategory
- Parameters:
statryRptCategory- Report Category ID
-
setStatryRptCatPhase
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptCatPhase
- Parameters:
statryRptCatPhase- Report Category Phase
-
setStatryRptCatPhaseValidFromDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptCatPhaseValidFromDate
- Parameters:
statryRptCatPhaseValidFromDate- Valid From Date
-
setStatryRptCatPhaseOccurrence
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: StatryRptCatPhaseOccurrence
- Parameters:
statryRptCatPhaseOccurrence- Phase Occurrence
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PhaseDef>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PhaseDef>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PhaseDef>
-
getCategoryDefIfPresent
Retrieval of associated CategoryDef entity (one to one). This corresponds to the OData navigation property _CategoryDef.If the navigation property for an entity PhaseDef 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 _CategoryDef is already loaded, the result will contain
the CategoryDef entity. If not, an
Optionwith result stateemptyis returned.
-
setCategoryDef
Overwrites the associated CategoryDef entity for the loaded navigation property _CategoryDef.- Parameters:
value- New CategoryDef entity.
-
builder
-
getStatryRptCategory
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: StatryRptCategory
- Returns:
- Report Category ID
-
getStatryRptCatPhase
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: StatryRptCatPhase
- Returns:
- Report Category Phase
-
getStatryRptCatPhaseValidFromDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: StatryRptCatPhaseValidFromDate
- Returns:
- Valid From Date
-
getStatryRptCatPhaseOccurrence
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: StatryRptCatPhaseOccurrence
- Returns:
- Phase Occurrence
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<PhaseDef>
-