Class ServiceDocumentType
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ServiceDocumentType_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ServiceDocumentType instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<ServiceDocumentType>Selector for all available fields of ServiceDocumentType.static final SimpleProperty.String<ServiceDocumentType>static final SimpleProperty.String<ServiceDocumentType>static final SimpleProperty.String<ServiceDocumentType>static final SimpleProperty.String<ServiceDocumentType>Use with available request builders to apply the _ServiceDocumentTypeText 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
ConstructorsConstructorDescriptionServiceDocumentType(String serviceDocumentType, String serviceObjectType, String businessObjectTypeName, String serviceDocumentTypeName, List<ServiceDocumentTypeText> to_ServiceDocumentTypeText) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated ServiceDocumentTypeText entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 20protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 40io.vavr.control.Option<List<ServiceDocumentTypeText>>Retrieval of associated ServiceDocumentTypeText entities (one to many).Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidsetBusinessObjectTypeName(String businessObjectTypeName) Constraints: Not nullable, Maximum length: 20voidsetServiceDocumentType(String serviceDocumentType) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetServiceDocumentTypeName(String serviceDocumentTypeName) Constraints: Not nullable, Maximum length: 40voidOverwrites the list of associated ServiceDocumentTypeText entities for the loaded navigation property _ServiceDocumentTypeText.voidsetServiceObjectType(String serviceObjectType) Constraints: Not nullable, Maximum length: 10toString()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 ServiceDocumentType. -
SERVICE_DOCUMENT_TYPE
-
SERVICE_OBJECT_TYPE
-
BUSINESS_OBJECT_TYPE_NAME
-
SERVICE_DOCUMENT_TYPE_NAME
-
TO__SERVICE_DOCUMENT_TYPE_TEXT
public static final NavigationProperty.Collection<ServiceDocumentType,ServiceDocumentTypeText> TO__SERVICE_DOCUMENT_TYPE_TEXTUse with available request builders to apply the _ServiceDocumentTypeText navigation property to query operations.
-
-
Constructor Details
-
ServiceDocumentType
public ServiceDocumentType() -
ServiceDocumentType
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ServiceDocumentType>
-
setServiceDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceDocumentType
- Parameters:
serviceDocumentType- Business Transaction Type
-
setServiceObjectType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceObjectType
- Parameters:
serviceObjectType- Leading Business Transaction Category
-
setBusinessObjectTypeName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: BusinessObjectTypeName
- Parameters:
businessObjectTypeName- Name
-
setServiceDocumentTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceDocumentTypeName
- Parameters:
serviceDocumentTypeName- Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ServiceDocumentType>
-
getKey
- Overrides:
getKeyin classVdmObject<ServiceDocumentType>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ServiceDocumentType>
-
fromMap
- Overrides:
fromMapin classVdmObject<ServiceDocumentType>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ServiceDocumentType>
-
getServiceDocumentTypeTextIfPresent
@Nonnull public io.vavr.control.Option<List<ServiceDocumentTypeText>> getServiceDocumentTypeTextIfPresent()Retrieval of associated ServiceDocumentTypeText entities (one to many). This corresponds to the OData navigation property _ServiceDocumentTypeText.If the navigation property for an entity ServiceDocumentType 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 _ServiceDocumentTypeText is already loaded, the result
will contain the ServiceDocumentTypeText entities. If not, an
Optionwith result stateemptyis returned.
-
setServiceDocumentTypeText
Overwrites the list of associated ServiceDocumentTypeText entities for the loaded navigation property _ServiceDocumentTypeText.If the navigation property _ServiceDocumentTypeText of a queried ServiceDocumentType 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 ServiceDocumentTypeText entities.
-
addServiceDocumentTypeText
Adds elements to the list of associated ServiceDocumentTypeText entities. This corresponds to the OData navigation property _ServiceDocumentTypeText.If the navigation property _ServiceDocumentTypeText of a queried ServiceDocumentType 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 ServiceDocumentTypeText entities.
-
builder
-
getServiceDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ServiceDocumentType
- Returns:
- Business Transaction Type
-
getServiceObjectType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceObjectType
- Returns:
- Leading Business Transaction Category
-
getBusinessObjectTypeName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: BusinessObjectTypeName
- Returns:
- Name
-
getServiceDocumentTypeName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ServiceDocumentTypeName
- Returns:
- Description
-
toString
- Overrides:
toStringin classVdmObject<ServiceDocumentType>
-
equals
- Overrides:
equalsin classVdmEntity<ServiceDocumentType>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ServiceDocumentType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ServiceDocumentType>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ServiceDocumentType>
-