Class SrvcContrItemLongText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrvcContrItemLongText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrvcContrItemLongText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrvcContrItemLongText>Selector for all available fields of SrvcContrItemLongText.static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.DateTime<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.DateTime<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>static final SimpleProperty.String<SrvcContrItemLongText>Use with available request builders to apply the _Item navigation property to query operations.static final NavigationProperty.Single<SrvcContrItemLongText,ServiceContract> Use with available request builders to apply the _ServiceContract 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
ConstructorsConstructorDescriptionSrvcContrItemLongText(String serviceContract, String serviceContractItem, String textObjectType, String language, String srvcDocLogTextIdentifier, String textObjectCategory, String srvcDocLongTextMimeType, String srvcContrItemLongText, String referenceTextObjectCategory, String referenceTextObjectType, String referenceLongTextKey, String referenceServiceObjectType, String referenceServiceDocument, String referenceServiceDocumentItem, OffsetDateTime srvcDocLongTxtCreationDateTime, String srvcDocLongTextCreatedByUser, OffsetDateTime srvcDocLongTextChangedDateTime, String srvcDocLongTextChangedByUser, ServiceContractItem to_Item, ServiceContract to_ServiceContract) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringio.vavr.control.Option<ServiceContractItem>Retrieval of associated ServiceContractItem entity (one to one).protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 70Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<ServiceContract>Retrieval of associated ServiceContract entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 17Constraints: Not nullable, Maximum length: 12Constraints: NullableConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 127Constraints: NullableConstraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidsetItem(ServiceContractItem value) Overwrites the associated ServiceContractItem entity for the loaded navigation property _Item.voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetReferenceLongTextKey(String referenceLongTextKey) Constraints: Not nullable, Maximum length: 70voidsetReferenceServiceDocument(String referenceServiceDocument) Constraints: Not nullable, Maximum length: 10voidsetReferenceServiceDocumentItem(String referenceServiceDocumentItem) Constraints: Not nullable, Maximum length: 6voidsetReferenceServiceObjectType(String referenceServiceObjectType) Constraints: Not nullable, Maximum length: 10voidsetReferenceTextObjectCategory(String referenceTextObjectCategory) Constraints: Not nullable, Maximum length: 10voidsetReferenceTextObjectType(String referenceTextObjectType) Constraints: Not nullable, Maximum length: 4voidOverwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.voidsetServiceContract(String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetServiceContractItem(String serviceContractItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetSrvcContrItemLongText(String srvcContrItemLongText) Constraints: Not nullablevoidsetSrvcDocLogTextIdentifier(String srvcDocLogTextIdentifier) (Key Field) Constraints: Not nullable, Maximum length: 17voidsetSrvcDocLongTextChangedByUser(String srvcDocLongTextChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetSrvcDocLongTextChangedDateTime(OffsetDateTime srvcDocLongTextChangedDateTime) Constraints: NullablevoidsetSrvcDocLongTextCreatedByUser(String srvcDocLongTextCreatedByUser) Constraints: Not nullable, Maximum length: 12voidsetSrvcDocLongTextMimeType(String srvcDocLongTextMimeType) Constraints: Not nullable, Maximum length: 127voidsetSrvcDocLongTxtCreationDateTime(OffsetDateTime srvcDocLongTxtCreationDateTime) Constraints: NullablevoidsetTextObjectCategory(String textObjectCategory) Constraints: Not nullable, Maximum length: 10voidsetTextObjectType(String textObjectType) (Key Field) Constraints: Not nullable, Maximum length: 4toString()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 SrvcContrItemLongText. -
SERVICE_CONTRACT
-
SERVICE_CONTRACT_ITEM
-
TEXT_OBJECT_TYPE
-
LANGUAGE
-
SRVC_DOC_LOG_TEXT_IDENTIFIER
-
TEXT_OBJECT_CATEGORY
-
SRVC_DOC_LONG_TEXT_MIME_TYPE
-
SRVC_CONTR_ITEM_LONG_TEXT
-
REFERENCE_TEXT_OBJECT_CATEGORY
-
REFERENCE_TEXT_OBJECT_TYPE
-
REFERENCE_LONG_TEXT_KEY
-
REFERENCE_SERVICE_OBJECT_TYPE
-
REFERENCE_SERVICE_DOCUMENT
-
REFERENCE_SERVICE_DOCUMENT_ITEM
-
SRVC_DOC_LONG_TXT_CREATION_DATE_TIME
public static final SimpleProperty.DateTime<SrvcContrItemLongText> SRVC_DOC_LONG_TXT_CREATION_DATE_TIME -
SRVC_DOC_LONG_TEXT_CREATED_BY_USER
-
SRVC_DOC_LONG_TEXT_CHANGED_DATE_TIME
public static final SimpleProperty.DateTime<SrvcContrItemLongText> SRVC_DOC_LONG_TEXT_CHANGED_DATE_TIME -
SRVC_DOC_LONG_TEXT_CHANGED_BY_USER
-
TO__ITEM
Use with available request builders to apply the _Item navigation property to query operations. -
TO__SERVICE_CONTRACT
public static final NavigationProperty.Single<SrvcContrItemLongText,ServiceContract> TO__SERVICE_CONTRACTUse with available request builders to apply the _ServiceContract navigation property to query operations.
-
-
Constructor Details
-
SrvcContrItemLongText
public SrvcContrItemLongText() -
SrvcContrItemLongText
public SrvcContrItemLongText(@Nullable String serviceContract, @Nullable String serviceContractItem, @Nullable String textObjectType, @Nullable String language, @Nullable String srvcDocLogTextIdentifier, @Nullable String textObjectCategory, @Nullable String srvcDocLongTextMimeType, @Nullable String srvcContrItemLongText, @Nullable String referenceTextObjectCategory, @Nullable String referenceTextObjectType, @Nullable String referenceLongTextKey, @Nullable String referenceServiceObjectType, @Nullable String referenceServiceDocument, @Nullable String referenceServiceDocumentItem, @Nullable OffsetDateTime srvcDocLongTxtCreationDateTime, @Nullable String srvcDocLongTextCreatedByUser, @Nullable OffsetDateTime srvcDocLongTextChangedDateTime, @Nullable String srvcDocLongTextChangedByUser, @Nullable ServiceContractItem to_Item, @Nullable ServiceContract to_ServiceContract)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcContrItemLongText>
-
setServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Parameters:
serviceContract- Transaction ID
-
setServiceContractItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Parameters:
serviceContractItem- Shortened Item Number in Document
-
setTextObjectType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TextObjectType
- Parameters:
textObjectType- Text ID
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setSrvcDocLogTextIdentifier
(Key Field) Constraints: Not nullable, Maximum length: 17Original property name from the Odata EDM: SrvcDocLogTextIdentifier
- Parameters:
srvcDocLogTextIdentifier- Identifier (truncated timestamp) of a log text
-
setTextObjectCategory
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TextObjectCategory
- Parameters:
textObjectCategory- Texts: application object
-
setSrvcDocLongTextMimeType
Constraints: Not nullable, Maximum length: 127Original property name from the Odata EDM: SrvcDocLongTextMimeType
- Parameters:
srvcDocLongTextMimeType- MIME Type
-
setSrvcContrItemLongText
Constraints: Not nullableOriginal property name from the Odata EDM: SrvcContrItemLongText
- Parameters:
srvcContrItemLongText- Long Text
-
setReferenceTextObjectCategory
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceTextObjectCategory
- Parameters:
referenceTextObjectCategory- Object of Referenced Text
-
setReferenceTextObjectType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReferenceTextObjectType
- Parameters:
referenceTextObjectType- ID of Referenced Text
-
setReferenceLongTextKey
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: ReferenceLongTextKey
- Parameters:
referenceLongTextKey- Name of Referenced Text
-
setReferenceServiceObjectType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceServiceObjectType
- Parameters:
referenceServiceObjectType- Business Trans. Cat.
-
setReferenceServiceDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceServiceDocument
- Parameters:
referenceServiceDocument- Transaction ID
-
setReferenceServiceDocumentItem
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ReferenceServiceDocumentItem
- Parameters:
referenceServiceDocumentItem- Shortened Item Number in Document
-
setSrvcDocLongTxtCreationDateTime
public void setSrvcDocLongTxtCreationDateTime(@Nullable OffsetDateTime srvcDocLongTxtCreationDateTime) Constraints: NullableOriginal property name from the Odata EDM: SrvcDocLongTxtCreationDateTime
- Parameters:
srvcDocLongTxtCreationDateTime- Creation timestamp of a text
-
setSrvcDocLongTextCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocLongTextCreatedByUser
- Parameters:
srvcDocLongTextCreatedByUser- User who created a text
-
setSrvcDocLongTextChangedDateTime
public void setSrvcDocLongTextChangedDateTime(@Nullable OffsetDateTime srvcDocLongTextChangedDateTime) Constraints: NullableOriginal property name from the Odata EDM: SrvcDocLongTextChangedDateTime
- Parameters:
srvcDocLongTextChangedDateTime- Last change timestamp of a text
-
setSrvcDocLongTextChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocLongTextChangedByUser
- Parameters:
srvcDocLongTextChangedByUser- User who last changed a text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrvcContrItemLongText>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcContrItemLongText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcContrItemLongText>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcContrItemLongText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcContrItemLongText>
-
getItemIfPresent
Retrieval of associated ServiceContractItem entity (one to one). This corresponds to the OData navigation property _Item.If the navigation property for an entity SrvcContrItemLongText 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 _Item is already loaded, the result will contain the
ServiceContractItem entity. If not, an
Optionwith result stateemptyis returned.
-
setItem
Overwrites the associated ServiceContractItem entity for the loaded navigation property _Item.- Parameters:
value- New ServiceContractItem entity.
-
getServiceContractIfPresent
Retrieval of associated ServiceContract entity (one to one). This corresponds to the OData navigation property _ServiceContract.If the navigation property for an entity SrvcContrItemLongText 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 _ServiceContract is already loaded, the result will
contain the ServiceContract entity. If not, an
Optionwith result stateemptyis returned.
-
setServiceContract
Overwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.- Parameters:
value- New ServiceContract entity.
-
builder
-
getServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Returns:
- Transaction ID
-
getServiceContractItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Returns:
- Shortened Item Number in Document
-
getTextObjectType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TextObjectType
- Returns:
- Text ID
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getSrvcDocLogTextIdentifier
(Key Field) Constraints: Not nullable, Maximum length: 17Original property name from the Odata EDM: SrvcDocLogTextIdentifier
- Returns:
- Identifier (truncated timestamp) of a log text
-
getTextObjectCategory
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TextObjectCategory
- Returns:
- Texts: application object
-
getSrvcDocLongTextMimeType
Constraints: Not nullable, Maximum length: 127Original property name from the Odata EDM: SrvcDocLongTextMimeType
- Returns:
- MIME Type
-
getSrvcContrItemLongText
Constraints: Not nullableOriginal property name from the Odata EDM: SrvcContrItemLongText
- Returns:
- Long Text
-
getReferenceTextObjectCategory
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceTextObjectCategory
- Returns:
- Object of Referenced Text
-
getReferenceTextObjectType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ReferenceTextObjectType
- Returns:
- ID of Referenced Text
-
getReferenceLongTextKey
Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: ReferenceLongTextKey
- Returns:
- Name of Referenced Text
-
getReferenceServiceObjectType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceServiceObjectType
- Returns:
- Business Trans. Cat.
-
getReferenceServiceDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceServiceDocument
- Returns:
- Transaction ID
-
getReferenceServiceDocumentItem
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ReferenceServiceDocumentItem
- Returns:
- Shortened Item Number in Document
-
getSrvcDocLongTxtCreationDateTime
Constraints: NullableOriginal property name from the Odata EDM: SrvcDocLongTxtCreationDateTime
- Returns:
- Creation timestamp of a text
-
getSrvcDocLongTextCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocLongTextCreatedByUser
- Returns:
- User who created a text
-
getSrvcDocLongTextChangedDateTime
Constraints: NullableOriginal property name from the Odata EDM: SrvcDocLongTextChangedDateTime
- Returns:
- Last change timestamp of a text
-
getSrvcDocLongTextChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SrvcDocLongTextChangedByUser
- Returns:
- User who last changed a text
-
toString
- Overrides:
toStringin classVdmObject<SrvcContrItemLongText>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcContrItemLongText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcContrItemLongText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcContrItemLongText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrvcContrItemLongText>
-