Class LegalDocument
Original entity name from the Odata EDM: A_LegalDocumentType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of LegalDocument instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LegalDocumentSelectableSelector for all available fields of LegalDocument.static final LegalDocumentField<String>Use with available fluent helpers to apply the DocumentDescription field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the InternalDocumentStatus field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LegalDocumentSource field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LegalTransaction field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMChangedByUser field to query operations.static final LegalDocumentField<ZonedDateTime>Use with available fluent helpers to apply the LglCntntMChangedUTCDateTime field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMCreatedByUser field to query operations.static final LegalDocumentField<ZonedDateTime>Use with available fluent helpers to apply the LglCntntMCreatedUTCDateTime field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMDocAccessLvl field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMDocAssemblyStatus field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMDocContentType field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMDocLowTouchLevel field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMDocType field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMDocument field to query operations.static final LegalDocumentField<Boolean>Use with available fluent helpers to apply the LglCntntMDocumentIsTopVersion field to query operations.static final LegalDocumentField<UUID>Use with available fluent helpers to apply the LglCntntMDocumentLinkedObjKey field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMDocumentLinkedObject field to query operations.static final LegalDocumentField<UUID>Use with available fluent helpers to apply the LglCntntMDocumentUUID field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMLanguage field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMTmplID field to query operations.static final LegalDocumentField<String>Use with available fluent helpers to apply the LglCntntMVirtualDocVersKey field to query operations.static final LegalDocumentLink<LglCntntMDocParCategory>Use with available fluent helpers to apply the to_LglCntntMDocParCategory navigation property to query operations.static final LegalDocumentLink<LglDocStamp>Use with available fluent helpers to apply the to_LglDocStamp navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionLegalDocument(UUID lglCntntMDocumentUUID, String lglCntntMDocument, String lglCntntMDocumentLinkedObject, UUID lglCntntMDocumentLinkedObjKey, String legalTransaction, String lglCntntMDocContentType, String lglCntntMLanguage, String documentDescription, String lglCntntMDocAccessLvl, String legalDocumentSource, ZonedDateTime lglCntntMChangedUTCDateTime, String lglCntntMChangedByUser, ZonedDateTime lglCntntMCreatedUTCDateTime, String lglCntntMCreatedByUser, String internalDocumentStatus, Boolean lglCntntMDocumentIsTopVersion, String lglCntntMVirtualDocVersKey, String lglCntntMDocAssemblyStatus, String lglCntntMTmplID, String lglCntntMDocType, String lglCntntMDocLowTouchLevel, List<LglCntntMDocParCategory> toLglCntntMDocParCategory, List<LglDocStamp> toLglDocStamp) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated LglCntntMDocParCategory entities.voidaddLglDocStamp(LglDocStamp... entity) Adds elements to the list of associated LglDocStamp entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the LglCntntMDocParCategory entities (one to many) associated with this entity.Fetches the LglDocStamp entities (one to many) associated with this entity.static <T,DomainT>
LegalDocumentField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> LegalDocumentField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected StringConstraints: Not nullable, Maximum length: 255protected StringConstraints: Not nullable, Maximum length: 2getKey()Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 7Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3io.vavr.control.Option<List<LglCntntMDocParCategory>>Retrieval of associated LglCntntMDocParCategory entities (one to many).Retrieval of associated LglCntntMDocParCategory entities (one to many).Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 10Constraints: noneConstraints: Not nullable, Maximum length: 10Constraints: none(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 36io.vavr.control.Option<List<LglDocStamp>>Retrieval of associated LglDocStamp entities (one to many).Retrieval of associated LglDocStamp entities (one to many).getType()inthashCode()voidsetDocumentDescription(String documentDescription) Constraints: Not nullable, Maximum length: 255voidsetInternalDocumentStatus(String internalDocumentStatus) Constraints: Not nullable, Maximum length: 2voidsetLegalDocumentSource(String legalDocumentSource) Constraints: Not nullable, Maximum length: 3voidsetLegalTransaction(String legalTransaction) Constraints: Not nullable, Maximum length: 10voidsetLglCntntMChangedByUser(String lglCntntMChangedByUser) Constraints: Not nullable, Maximum length: 12voidsetLglCntntMChangedUTCDateTime(ZonedDateTime lglCntntMChangedUTCDateTime) Constraints: Not nullable, Precision: 7voidsetLglCntntMCreatedByUser(String lglCntntMCreatedByUser) Constraints: Not nullable, Maximum length: 12voidsetLglCntntMCreatedUTCDateTime(ZonedDateTime lglCntntMCreatedUTCDateTime) Constraints: Not nullable, Precision: 0voidsetLglCntntMDocAccessLvl(String lglCntntMDocAccessLvl) Constraints: Not nullable, Maximum length: 4voidsetLglCntntMDocAssemblyStatus(String lglCntntMDocAssemblyStatus) Constraints: Not nullable, Maximum length: 20voidsetLglCntntMDocContentType(String lglCntntMDocContentType) Constraints: Not nullable, Maximum length: 4voidsetLglCntntMDocLowTouchLevel(String lglCntntMDocLowTouchLevel) Constraints: Not nullable, Maximum length: 3voidOverwrites the list of associated LglCntntMDocParCategory entities for the loaded navigation property to_LglCntntMDocParCategory.voidsetLglCntntMDocType(String lglCntntMDocType) Constraints: Not nullable, Maximum length: 1voidsetLglCntntMDocument(String lglCntntMDocument) Constraints: Not nullable, Maximum length: 10voidsetLglCntntMDocumentIsTopVersion(Boolean lglCntntMDocumentIsTopVersion) Constraints: nonevoidsetLglCntntMDocumentLinkedObject(String lglCntntMDocumentLinkedObject) Constraints: Not nullable, Maximum length: 10voidsetLglCntntMDocumentLinkedObjKey(UUID lglCntntMDocumentLinkedObjKey) Constraints: nonevoidsetLglCntntMDocumentUUID(UUID lglCntntMDocumentUUID) (Key Field) Constraints: Not nullablevoidsetLglCntntMLanguage(String lglCntntMLanguage) Constraints: Not nullable, Maximum length: 2voidsetLglCntntMTmplID(String lglCntntMTmplID) Constraints: Not nullable, Maximum length: 10voidsetLglCntntMVirtualDocVersKey(String lglCntntMVirtualDocVersKey) Constraints: Not nullable, Maximum length: 36voidsetLglDocStamp(List<LglDocStamp> value) Overwrites the list of associated LglDocStamp entities for the loaded navigation property to_LglDocStamp.protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
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 LegalDocument. -
LGL_CNTNT_M_DOCUMENT_UUID
Use with available fluent helpers to apply the LglCntntMDocumentUUID field to query operations. -
LGL_CNTNT_M_DOCUMENT
Use with available fluent helpers to apply the LglCntntMDocument field to query operations. -
LGL_CNTNT_M_DOCUMENT_LINKED_OBJECT
Use with available fluent helpers to apply the LglCntntMDocumentLinkedObject field to query operations. -
LGL_CNTNT_M_DOCUMENT_LINKED_OBJ_KEY
Use with available fluent helpers to apply the LglCntntMDocumentLinkedObjKey field to query operations. -
LEGAL_TRANSACTION
Use with available fluent helpers to apply the LegalTransaction field to query operations. -
LGL_CNTNT_M_DOC_CONTENT_TYPE
Use with available fluent helpers to apply the LglCntntMDocContentType field to query operations. -
LGL_CNTNT_M_LANGUAGE
Use with available fluent helpers to apply the LglCntntMLanguage field to query operations. -
DOCUMENT_DESCRIPTION
Use with available fluent helpers to apply the DocumentDescription field to query operations. -
LGL_CNTNT_M_DOC_ACCESS_LVL
Use with available fluent helpers to apply the LglCntntMDocAccessLvl field to query operations. -
LEGAL_DOCUMENT_SOURCE
Use with available fluent helpers to apply the LegalDocumentSource field to query operations. -
LGL_CNTNT_M_CHANGED_UTC_DATE_TIME
Use with available fluent helpers to apply the LglCntntMChangedUTCDateTime field to query operations. -
LGL_CNTNT_M_CHANGED_BY_USER
Use with available fluent helpers to apply the LglCntntMChangedByUser field to query operations. -
LGL_CNTNT_M_CREATED_UTC_DATE_TIME
Use with available fluent helpers to apply the LglCntntMCreatedUTCDateTime field to query operations. -
LGL_CNTNT_M_CREATED_BY_USER
Use with available fluent helpers to apply the LglCntntMCreatedByUser field to query operations. -
INTERNAL_DOCUMENT_STATUS
Use with available fluent helpers to apply the InternalDocumentStatus field to query operations. -
LGL_CNTNT_M_DOCUMENT_IS_TOP_VERSION
Use with available fluent helpers to apply the LglCntntMDocumentIsTopVersion field to query operations. -
LGL_CNTNT_M_VIRTUAL_DOC_VERS_KEY
Use with available fluent helpers to apply the LglCntntMVirtualDocVersKey field to query operations. -
LGL_CNTNT_M_DOC_ASSEMBLY_STATUS
Use with available fluent helpers to apply the LglCntntMDocAssemblyStatus field to query operations. -
LGL_CNTNT_M_TMPL_ID
Use with available fluent helpers to apply the LglCntntMTmplID field to query operations. -
LGL_CNTNT_M_DOC_TYPE
Use with available fluent helpers to apply the LglCntntMDocType field to query operations. -
LGL_CNTNT_M_DOC_LOW_TOUCH_LEVEL
Use with available fluent helpers to apply the LglCntntMDocLowTouchLevel field to query operations. -
TO_LGL_CNTNT_M_DOC_PAR_CATEGORY
Use with available fluent helpers to apply the to_LglCntntMDocParCategory navigation property to query operations. -
TO_LGL_DOC_STAMP
Use with available fluent helpers to apply the to_LglDocStamp navigation property to query operations.
-
-
Constructor Details
-
LegalDocument
public LegalDocument() -
LegalDocument
public LegalDocument(@Nullable UUID lglCntntMDocumentUUID, @Nullable String lglCntntMDocument, @Nullable String lglCntntMDocumentLinkedObject, @Nullable UUID lglCntntMDocumentLinkedObjKey, @Nullable String legalTransaction, @Nullable String lglCntntMDocContentType, @Nullable String lglCntntMLanguage, @Nullable String documentDescription, @Nullable String lglCntntMDocAccessLvl, @Nullable String legalDocumentSource, @Nullable ZonedDateTime lglCntntMChangedUTCDateTime, @Nullable String lglCntntMChangedByUser, @Nullable ZonedDateTime lglCntntMCreatedUTCDateTime, @Nullable String lglCntntMCreatedByUser, @Nullable String internalDocumentStatus, @Nullable Boolean lglCntntMDocumentIsTopVersion, @Nullable String lglCntntMVirtualDocVersKey, @Nullable String lglCntntMDocAssemblyStatus, @Nullable String lglCntntMTmplID, @Nullable String lglCntntMDocType, @Nullable String lglCntntMDocLowTouchLevel, List<LglCntntMDocParCategory> toLglCntntMDocParCategory, List<LglDocStamp> toLglDocStamp)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<LegalDocument>
-
setLglCntntMDocumentUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMDocumentUUID
- Parameters:
lglCntntMDocumentUUID- Universal Unique Identifier
-
setLglCntntMDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LglCntntMDocument
- Parameters:
lglCntntMDocument- Document ID
-
setLglCntntMDocumentLinkedObject
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LglCntntMDocumentLinkedObject
- Parameters:
lglCntntMDocumentLinkedObject- Linked SAP Object
-
setLglCntntMDocumentLinkedObjKey
Constraints: noneOriginal property name from the Odata EDM: LglCntntMDocumentLinkedObjKey
- Parameters:
lglCntntMDocumentLinkedObjKey- UUID Char32
-
setLegalTransaction
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LegalTransaction
- Parameters:
legalTransaction- Legal Transaction ID
-
setLglCntntMDocContentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LglCntntMDocContentType
- Parameters:
lglCntntMDocContentType- Document Content Type
-
setLglCntntMLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: LglCntntMLanguage
- Parameters:
lglCntntMLanguage- Language Key
-
setDocumentDescription
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: DocumentDescription
- Parameters:
documentDescription- Name
-
setLglCntntMDocAccessLvl
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LglCntntMDocAccessLvl
- Parameters:
lglCntntMDocAccessLvl- Access Level
-
setLegalDocumentSource
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LegalDocumentSource
- Parameters:
legalDocumentSource- Document Source
-
setLglCntntMChangedUTCDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LglCntntMChangedUTCDateTime
- Parameters:
lglCntntMChangedUTCDateTime- Changed UTC Date Time
-
setLglCntntMChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LglCntntMChangedByUser
- Parameters:
lglCntntMChangedByUser- Changed By User
-
setLglCntntMCreatedUTCDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LglCntntMCreatedUTCDateTime
- Parameters:
lglCntntMCreatedUTCDateTime- Created On
-
setLglCntntMCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LglCntntMCreatedByUser
- Parameters:
lglCntntMCreatedByUser- Created By
-
setInternalDocumentStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: InternalDocumentStatus
- Parameters:
internalDocumentStatus- Document Status
-
setLglCntntMDocumentIsTopVersion
Constraints: noneOriginal property name from the Odata EDM: LglCntntMDocumentIsTopVersion
- Parameters:
lglCntntMDocumentIsTopVersion- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
setLglCntntMVirtualDocVersKey
Constraints: Not nullable, Maximum length: 36Original property name from the Odata EDM: LglCntntMVirtualDocVersKey
- Parameters:
lglCntntMVirtualDocVersKey- Virtual Document Version Key
-
setLglCntntMDocAssemblyStatus
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: LglCntntMDocAssemblyStatus
- Parameters:
lglCntntMDocAssemblyStatus- Document Assembly Status
-
setLglCntntMTmplID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LglCntntMTmplID
- Parameters:
lglCntntMTmplID- Template ID
-
setLglCntntMDocType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: LglCntntMDocType
- Parameters:
lglCntntMDocType- Document Type
-
setLglCntntMDocLowTouchLevel
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LglCntntMDocLowTouchLevel
- Parameters:
lglCntntMDocLowTouchLevel- Indicates the Assembly Automation Level of a Document
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<LegalDocument>
-
getKey
- Overrides:
getKeyin classVdmObject<LegalDocument>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<LegalDocument>
-
fromMap
- Overrides:
fromMapin classVdmObject<LegalDocument>
-
field
@Nonnull public static <T> LegalDocumentField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> LegalDocumentField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<LegalDocument>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<LegalDocument>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<LegalDocument>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<LegalDocument>
-
fetchLglCntntMDocParCategory
Fetches the LglCntntMDocParCategory entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglCntntMDocParCategory.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated LglCntntMDocParCategory entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLglCntntMDocParCategoryOrFetch
Retrieval of associated LglCntntMDocParCategory entities (one to many). This corresponds to the OData navigation property to_LglCntntMDocParCategory.If the navigation property to_LglCntntMDocParCategory of a queried LegalDocument 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.
- Returns:
- List of associated LglCntntMDocParCategory entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLglCntntMDocParCategoryIfPresent
@Nonnull public io.vavr.control.Option<List<LglCntntMDocParCategory>> getLglCntntMDocParCategoryIfPresent()Retrieval of associated LglCntntMDocParCategory entities (one to many). This corresponds to the OData navigation property to_LglCntntMDocParCategory.If the navigation property for an entity LegalDocument 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 to_LglCntntMDocParCategory is already loaded, the
result will contain the LglCntntMDocParCategory entities. If not, an
Optionwith result stateemptyis returned.
-
setLglCntntMDocParCategory
Overwrites the list of associated LglCntntMDocParCategory entities for the loaded navigation property to_LglCntntMDocParCategory.If the navigation property to_LglCntntMDocParCategory of a queried LegalDocument 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 LglCntntMDocParCategory entities.
-
addLglCntntMDocParCategory
Adds elements to the list of associated LglCntntMDocParCategory entities. This corresponds to the OData navigation property to_LglCntntMDocParCategory.If the navigation property to_LglCntntMDocParCategory of a queried LegalDocument 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 LglCntntMDocParCategory entities.
-
fetchLglDocStamp
Fetches the LglDocStamp entities (one to many) associated with this entity. This corresponds to the OData navigation property to_LglDocStamp.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated LglDocStamp entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLglDocStampOrFetch
Retrieval of associated LglDocStamp entities (one to many). This corresponds to the OData navigation property to_LglDocStamp.If the navigation property to_LglDocStamp of a queried LegalDocument 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.
- Returns:
- List of associated LglDocStamp entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getLglDocStampIfPresent
Retrieval of associated LglDocStamp entities (one to many). This corresponds to the OData navigation property to_LglDocStamp.If the navigation property for an entity LegalDocument 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 to_LglDocStamp is already loaded, the result will
contain the LglDocStamp entities. If not, an
Optionwith result stateemptyis returned.
-
setLglDocStamp
Overwrites the list of associated LglDocStamp entities for the loaded navigation property to_LglDocStamp.If the navigation property to_LglDocStamp of a queried LegalDocument 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 LglDocStamp entities.
-
addLglDocStamp
Adds elements to the list of associated LglDocStamp entities. This corresponds to the OData navigation property to_LglDocStamp.If the navigation property to_LglDocStamp of a queried LegalDocument 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 LglDocStamp entities.
-
builder
-
getLglCntntMDocumentUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMDocumentUUID
- Returns:
- Universal Unique Identifier
-
getLglCntntMDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LglCntntMDocument
- Returns:
- Document ID
-
getLglCntntMDocumentLinkedObject
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LglCntntMDocumentLinkedObject
- Returns:
- Linked SAP Object
-
getLglCntntMDocumentLinkedObjKey
Constraints: noneOriginal property name from the Odata EDM: LglCntntMDocumentLinkedObjKey
- Returns:
- UUID Char32
-
getLegalTransaction
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LegalTransaction
- Returns:
- Legal Transaction ID
-
getLglCntntMDocContentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LglCntntMDocContentType
- Returns:
- Document Content Type
-
getLglCntntMLanguage
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: LglCntntMLanguage
- Returns:
- Language Key
-
getDocumentDescription
Constraints: Not nullable, Maximum length: 255Original property name from the Odata EDM: DocumentDescription
- Returns:
- Name
-
getLglCntntMDocAccessLvl
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: LglCntntMDocAccessLvl
- Returns:
- Access Level
-
getLegalDocumentSource
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LegalDocumentSource
- Returns:
- Document Source
-
getLglCntntMChangedUTCDateTime
Constraints: Not nullable, Precision: 7Original property name from the Odata EDM: LglCntntMChangedUTCDateTime
- Returns:
- Changed UTC Date Time
-
getLglCntntMChangedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LglCntntMChangedByUser
- Returns:
- Changed By User
-
getLglCntntMCreatedUTCDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LglCntntMCreatedUTCDateTime
- Returns:
- Created On
-
getLglCntntMCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LglCntntMCreatedByUser
- Returns:
- Created By
-
getInternalDocumentStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: InternalDocumentStatus
- Returns:
- Document Status
-
getLglCntntMDocumentIsTopVersion
Constraints: noneOriginal property name from the Odata EDM: LglCntntMDocumentIsTopVersion
- Returns:
- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
getLglCntntMVirtualDocVersKey
Constraints: Not nullable, Maximum length: 36Original property name from the Odata EDM: LglCntntMVirtualDocVersKey
- Returns:
- Virtual Document Version Key
-
getLglCntntMDocAssemblyStatus
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: LglCntntMDocAssemblyStatus
- Returns:
- Document Assembly Status
-
getLglCntntMTmplID
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: LglCntntMTmplID
- Returns:
- Template ID
-
getLglCntntMDocType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: LglCntntMDocType
- Returns:
- Document Type
-
getLglCntntMDocLowTouchLevel
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: LglCntntMDocLowTouchLevel
- Returns:
- Indicates the Assembly Automation Level of a Document
-
toString
- Overrides:
toStringin classVdmObject<LegalDocument>
-
equals
- Overrides:
equalsin classVdmEntity<LegalDocument>
-
canEqual
- Overrides:
canEqualin classVdmEntity<LegalDocument>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<LegalDocument>
-