Class CnsldtnBillingDocTypeText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnBillingDocTypeText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnBillingDocTypeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnBillingDocTypeText>Selector for all available fields of CnsldtnBillingDocTypeText.static final SimpleProperty.String<CnsldtnBillingDocTypeText>static final SimpleProperty.String<CnsldtnBillingDocTypeText>static final SimpleProperty.Boolean<CnsldtnBillingDocTypeText>static final SimpleProperty.String<CnsldtnBillingDocTypeText>Use with available request builders to apply the _BillingDocumentType 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
ConstructorsConstructorDescriptionCnsldtnBillingDocTypeText(String language, String billingDocumentType, String billingDocumentTypeName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnBillingDocumentType to_BillingDocumentType) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<CnsldtnBillingDocumentType>Retrieval of associated CnsldtnBillingDocumentType entity (one to one).Constraints: Not nullable, Maximum length: 40Constraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidOverwrites the associated CnsldtnBillingDocumentType entity for the loaded navigation property _BillingDocumentType.voidsetBillingDocumentType(String billingDocumentType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetBillingDocumentTypeName(String billingDocumentTypeName) Constraints: Not nullable, Maximum length: 40voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2toString()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 CnsldtnBillingDocTypeText. -
LANGUAGE
-
BILLING_DOCUMENT_TYPE
-
BILLING_DOCUMENT_TYPE_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
public static final SimpleProperty.Boolean<CnsldtnBillingDocTypeText> CNSLDTN_IS_ADDITIONAL_MASTER_DATA -
TO__BILLING_DOCUMENT_TYPE
public static final NavigationProperty.Single<CnsldtnBillingDocTypeText,CnsldtnBillingDocumentType> TO__BILLING_DOCUMENT_TYPEUse with available request builders to apply the _BillingDocumentType navigation property to query operations.
-
-
Constructor Details
-
CnsldtnBillingDocTypeText
public CnsldtnBillingDocTypeText() -
CnsldtnBillingDocTypeText
public CnsldtnBillingDocTypeText(@Nullable String language, @Nullable String billingDocumentType, @Nullable String billingDocumentTypeName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnBillingDocumentType to_BillingDocumentType)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnBillingDocTypeText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setBillingDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BillingDocumentType
- Parameters:
billingDocumentType- Billing Document Type
-
setBillingDocumentTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BillingDocumentTypeName
- Parameters:
billingDocumentTypeName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnBillingDocTypeText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnBillingDocTypeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnBillingDocTypeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnBillingDocTypeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnBillingDocTypeText>
-
getBillingDocumentTypeIfPresent
@Nonnull public io.vavr.control.Option<CnsldtnBillingDocumentType> getBillingDocumentTypeIfPresent()Retrieval of associated CnsldtnBillingDocumentType entity (one to one). This corresponds to the OData navigation property _BillingDocumentType.If the navigation property for an entity CnsldtnBillingDocTypeText 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 _BillingDocumentType is already loaded, the result will
contain the CnsldtnBillingDocumentType entity. If not, an
Optionwith result stateemptyis returned.
-
setBillingDocumentType
Overwrites the associated CnsldtnBillingDocumentType entity for the loaded navigation property _BillingDocumentType.- Parameters:
value- New CnsldtnBillingDocumentType entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getBillingDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BillingDocumentType
- Returns:
- Billing Document Type
-
getBillingDocumentTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BillingDocumentTypeName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnBillingDocTypeText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnBillingDocTypeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnBillingDocTypeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnBillingDocTypeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnBillingDocTypeText>
-