Class REContractTypeText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<REContractTypeText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.realestatecontracttype.REContractTypeText
- All Implemented Interfaces:
VdmEntitySet
Real Estate Contract Type - Text
Original entity name from the Odata EDM: REContractTypeText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of REContractTypeText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<REContractTypeText>Selector for all available fields of REContractTypeText.static final SimpleProperty.String<REContractTypeText>static final SimpleProperty.String<REContractTypeText>static final SimpleProperty.String<REContractTypeText>static final NavigationProperty.Single<REContractTypeText,REContractType> Use with available request builders to apply the _REContractType 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
ConstructorsConstructorDescriptionREContractTypeText(String rEContractType, String language, String rEContractTypeName, REContractType to_REContractType) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<REContractType>Retrieval of associated REContractType entity (one to one).Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetREContractType(REContractType value) Overwrites the associated REContractType entity for the loaded navigation property _REContractType.voidsetREContractType(String rEContractType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetREContractTypeName(String rEContractTypeName) Constraints: Not nullable, Maximum length: 30toString()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 REContractTypeText. -
RE_CONTRACT_TYPE
-
LANGUAGE
-
RE_CONTRACT_TYPE_NAME
-
TO__R_E_CONTRACT_TYPE
public static final NavigationProperty.Single<REContractTypeText,REContractType> TO__R_E_CONTRACT_TYPEUse with available request builders to apply the _REContractType navigation property to query operations.
-
-
Constructor Details
-
REContractTypeText
public REContractTypeText() -
REContractTypeText
public REContractTypeText(@Nullable String rEContractType, @Nullable String language, @Nullable String rEContractTypeName, @Nullable REContractType to_REContractType)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<REContractTypeText>
-
setREContractType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: REContractType
- Parameters:
rEContractType- External Real Estate Contract Type
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setREContractTypeName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: REContractTypeName
- Parameters:
rEContractTypeName- Contract Type Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<REContractTypeText>
-
getKey
- Overrides:
getKeyin classVdmObject<REContractTypeText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<REContractTypeText>
-
fromMap
- Overrides:
fromMapin classVdmObject<REContractTypeText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<REContractTypeText>
-
getREContractTypeIfPresent
Retrieval of associated REContractType entity (one to one). This corresponds to the OData navigation property _REContractType.If the navigation property for an entity REContractTypeText 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 _REContractType is already loaded, the result will
contain the REContractType entity. If not, an
Optionwith result stateemptyis returned.
-
setREContractType
Overwrites the associated REContractType entity for the loaded navigation property _REContractType.- Parameters:
value- New REContractType entity.
-
builder
-
getREContractType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: REContractType
- Returns:
- External Real Estate Contract Type
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getREContractTypeName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: REContractTypeName
- Returns:
- Contract Type Name
-
toString
- Overrides:
toStringin classVdmObject<REContractTypeText>
-
equals
- Overrides:
equalsin classVdmEntity<REContractTypeText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<REContractTypeText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<REContractTypeText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<REContractTypeText>
-