public class LegalDocument extends VdmEntity<LegalDocument>
Original entity name from the Odata EDM: A_LegalDocumentType
Modifier and Type | Class and Description |
---|---|
static class |
LegalDocument.LegalDocumentBuilder
Helper class to allow for fluent creation of LegalDocument instances.
|
Modifier and Type | Field and Description |
---|---|
static LegalDocumentSelectable |
ALL_FIELDS
Selector for all available fields of LegalDocument.
|
static LegalDocumentField<String> |
DOCUMENT_DESCRIPTION
Use with available fluent helpers to apply the DocumentDescription field to query operations.
|
static LegalDocumentField<String> |
INTERNAL_DOCUMENT_STATUS
Use with available fluent helpers to apply the InternalDocumentStatus field to query operations.
|
static LegalDocumentField<String> |
LEGAL_DOCUMENT_SOURCE
Use with available fluent helpers to apply the LegalDocumentSource field to query operations.
|
static LegalDocumentField<String> |
LEGAL_TRANSACTION
Use with available fluent helpers to apply the LegalTransaction field to query operations.
|
static LegalDocumentField<String> |
LGL_CNTNT_M_CHANGED_BY_USER
Use with available fluent helpers to apply the LglCntntMChangedByUser field to query operations.
|
static LegalDocumentField<ZonedDateTime> |
LGL_CNTNT_M_CHANGED_UTC_DATE_TIME
Use with available fluent helpers to apply the LglCntntMChangedUTCDateTime field to query operations.
|
static LegalDocumentField<String> |
LGL_CNTNT_M_CREATED_BY_USER
Use with available fluent helpers to apply the LglCntntMCreatedByUser field to query operations.
|
static LegalDocumentField<ZonedDateTime> |
LGL_CNTNT_M_CREATED_UTC_DATE_TIME
Use with available fluent helpers to apply the LglCntntMCreatedUTCDateTime field to query operations.
|
static LegalDocumentField<String> |
LGL_CNTNT_M_DOC_ACCESS_LVL
Use with available fluent helpers to apply the LglCntntMDocAccessLvl field to query operations.
|
static LegalDocumentField<String> |
LGL_CNTNT_M_DOC_CONTENT_TYPE
Use with available fluent helpers to apply the LglCntntMDocContentType field to query operations.
|
static LegalDocumentField<String> |
LGL_CNTNT_M_DOCUMENT
Use with available fluent helpers to apply the LglCntntMDocument field to query operations.
|
static LegalDocumentField<Boolean> |
LGL_CNTNT_M_DOCUMENT_IS_TOP_VERSION
Use with available fluent helpers to apply the LglCntntMDocumentIsTopVersion field to query operations.
|
static LegalDocumentField<UUID> |
LGL_CNTNT_M_DOCUMENT_LINKED_OBJ_KEY
Use with available fluent helpers to apply the LglCntntMDocumentLinkedObjKey field to query operations.
|
static LegalDocumentField<String> |
LGL_CNTNT_M_DOCUMENT_LINKED_OBJECT
Use with available fluent helpers to apply the LglCntntMDocumentLinkedObject field to query operations.
|
static LegalDocumentField<UUID> |
LGL_CNTNT_M_DOCUMENT_UUID
Use with available fluent helpers to apply the LglCntntMDocumentUUID field to query operations.
|
static LegalDocumentField<String> |
LGL_CNTNT_M_LANGUAGE
Use with available fluent helpers to apply the LglCntntMLanguage field to query operations.
|
static LegalDocumentLink<LglDocStamp> |
TO_LGL_DOC_STAMP
Use with available fluent helpers to apply the to_LglDocStamp navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
LegalDocument() |
LegalDocument(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,
List<LglDocStamp> toLglDocStamp) |
Modifier and Type | Method and Description |
---|---|
void |
addLglDocStamp(LglDocStamp... entity)
Adds elements to the list of associated LglDocStamp entities.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static LegalDocument.LegalDocumentBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<LglDocStamp> |
fetchLglDocStamp()
Fetches the LglDocStamp entities (one to many) associated with this entity.
|
static <T> LegalDocumentField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
protected String |
getDefaultServicePath() |
String |
getDocumentDescription()
Constraints: Not nullable, Maximum length: 255
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getInternalDocumentStatus()
Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
getKey() |
String |
getLegalDocumentSource()
Constraints: Not nullable, Maximum length: 3
|
String |
getLegalTransaction()
Constraints: Not nullable, Maximum length: 10
|
String |
getLglCntntMChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getLglCntntMChangedUTCDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getLglCntntMCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getLglCntntMCreatedUTCDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getLglCntntMDocAccessLvl()
Constraints: Not nullable, Maximum length: 4
|
String |
getLglCntntMDocContentType()
Constraints: Not nullable, Maximum length: 4
|
String |
getLglCntntMDocument()
Constraints: Not nullable, Maximum length: 10
|
Boolean |
getLglCntntMDocumentIsTopVersion()
Constraints: none
|
String |
getLglCntntMDocumentLinkedObject()
Constraints: Not nullable, Maximum length: 10
|
UUID |
getLglCntntMDocumentLinkedObjKey()
Constraints: none
|
UUID |
getLglCntntMDocumentUUID()
(Key Field) Constraints: Not nullable
|
String |
getLglCntntMLanguage()
Constraints: Not nullable, Maximum length: 2
|
Optional<List<LglDocStamp>> |
getLglDocStampIfPresent()
Retrieval of associated LglDocStamp entities (one to many).
|
List<LglDocStamp> |
getLglDocStampOrFetch()
Retrieval of associated LglDocStamp entities (one to many).
|
Class<LegalDocument> |
getType() |
int |
hashCode() |
void |
setDocumentDescription(String documentDescription)
Constraints: Not nullable, Maximum length: 255
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setInternalDocumentStatus(String internalDocumentStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setLegalDocumentSource(String legalDocumentSource)
Constraints: Not nullable, Maximum length: 3
|
void |
setLegalTransaction(String legalTransaction)
Constraints: Not nullable, Maximum length: 10
|
void |
setLglCntntMChangedByUser(String lglCntntMChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setLglCntntMChangedUTCDateTime(ZonedDateTime lglCntntMChangedUTCDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setLglCntntMCreatedByUser(String lglCntntMCreatedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setLglCntntMCreatedUTCDateTime(ZonedDateTime lglCntntMCreatedUTCDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setLglCntntMDocAccessLvl(String lglCntntMDocAccessLvl)
Constraints: Not nullable, Maximum length: 4
|
void |
setLglCntntMDocContentType(String lglCntntMDocContentType)
Constraints: Not nullable, Maximum length: 4
|
void |
setLglCntntMDocument(String lglCntntMDocument)
Constraints: Not nullable, Maximum length: 10
|
void |
setLglCntntMDocumentIsTopVersion(Boolean lglCntntMDocumentIsTopVersion)
Constraints: none
|
void |
setLglCntntMDocumentLinkedObject(String lglCntntMDocumentLinkedObject)
Constraints: Not nullable, Maximum length: 10
|
void |
setLglCntntMDocumentLinkedObjKey(UUID lglCntntMDocumentLinkedObjKey)
Constraints: none
|
void |
setLglCntntMDocumentUUID(UUID lglCntntMDocumentUUID)
(Key Field) Constraints: Not nullable
|
void |
setLglCntntMLanguage(String lglCntntMLanguage)
Constraints: Not nullable, Maximum length: 2
|
void |
setLglDocStamp(List<LglDocStamp> value)
Overwrites the list of associated LglDocStamp entities for the loaded navigation property
to_LglDocStamp.
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final LegalDocumentSelectable ALL_FIELDS
public static final LegalDocumentField<UUID> LGL_CNTNT_M_DOCUMENT_UUID
public static final LegalDocumentField<String> LGL_CNTNT_M_DOCUMENT
public static final LegalDocumentField<String> LGL_CNTNT_M_DOCUMENT_LINKED_OBJECT
public static final LegalDocumentField<UUID> LGL_CNTNT_M_DOCUMENT_LINKED_OBJ_KEY
public static final LegalDocumentField<String> LEGAL_TRANSACTION
public static final LegalDocumentField<String> LGL_CNTNT_M_DOC_CONTENT_TYPE
public static final LegalDocumentField<String> LGL_CNTNT_M_LANGUAGE
public static final LegalDocumentField<String> DOCUMENT_DESCRIPTION
public static final LegalDocumentField<String> LGL_CNTNT_M_DOC_ACCESS_LVL
public static final LegalDocumentField<String> LEGAL_DOCUMENT_SOURCE
public static final LegalDocumentField<ZonedDateTime> LGL_CNTNT_M_CHANGED_UTC_DATE_TIME
public static final LegalDocumentField<String> LGL_CNTNT_M_CHANGED_BY_USER
public static final LegalDocumentField<ZonedDateTime> LGL_CNTNT_M_CREATED_UTC_DATE_TIME
public static final LegalDocumentField<String> LGL_CNTNT_M_CREATED_BY_USER
public static final LegalDocumentField<String> INTERNAL_DOCUMENT_STATUS
public static final LegalDocumentField<Boolean> LGL_CNTNT_M_DOCUMENT_IS_TOP_VERSION
public static final LegalDocumentLink<LglDocStamp> TO_LGL_DOC_STAMP
public 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, List<LglDocStamp> toLglDocStamp)
@Nonnull public Class<LegalDocument> getType()
getType
in class VdmObject<LegalDocument>
public void setLglCntntMDocumentUUID(@Nullable UUID lglCntntMDocumentUUID)
Original property name from the Odata EDM: LglCntntMDocumentUUID
lglCntntMDocumentUUID
- Universal Unique Identifierpublic void setLglCntntMDocument(@Nullable String lglCntntMDocument)
Original property name from the Odata EDM: LglCntntMDocument
lglCntntMDocument
- Document IDpublic void setLglCntntMDocumentLinkedObject(@Nullable String lglCntntMDocumentLinkedObject)
Original property name from the Odata EDM: LglCntntMDocumentLinkedObject
In the standard system, many links are supported. You can display these using the input help.Additional links can be defined via specific screens and table entries without changing the program.See also: Maintain object link
lglCntntMDocumentLinkedObject
- Database table of the master record that is linked to the document.public void setLglCntntMDocumentLinkedObjKey(@Nullable UUID lglCntntMDocumentLinkedObjKey)
Original property name from the Odata EDM: LglCntntMDocumentLinkedObjKey
lglCntntMDocumentLinkedObjKey
- UUID Char32public void setLegalTransaction(@Nullable String legalTransaction)
Original property name from the Odata EDM: LegalTransaction
legalTransaction
- Legal Transaction IDpublic void setLglCntntMDocContentType(@Nullable String lglCntntMDocContentType)
Original property name from the Odata EDM: LglCntntMDocContentType
lglCntntMDocContentType
- Document Content Typepublic void setLglCntntMLanguage(@Nullable String lglCntntMLanguage)
Original property name from the Odata EDM: LglCntntMLanguage
lglCntntMLanguage
- Language Keypublic void setDocumentDescription(@Nullable String documentDescription)
Original property name from the Odata EDM: DocumentDescription
documentDescription
- Namepublic void setLglCntntMDocAccessLvl(@Nullable String lglCntntMDocAccessLvl)
Original property name from the Odata EDM: LglCntntMDocAccessLvl
lglCntntMDocAccessLvl
- Access Levelpublic void setLegalDocumentSource(@Nullable String legalDocumentSource)
Original property name from the Odata EDM: LegalDocumentSource
legalDocumentSource
- LCM Document Sourcepublic void setLglCntntMChangedUTCDateTime(@Nullable ZonedDateTime lglCntntMChangedUTCDateTime)
Original property name from the Odata EDM: LglCntntMChangedUTCDateTime
lglCntntMChangedUTCDateTime
- Changed UTC Date Timepublic void setLglCntntMChangedByUser(@Nullable String lglCntntMChangedByUser)
Original property name from the Odata EDM: LglCntntMChangedByUser
lglCntntMChangedByUser
- Changed By Userpublic void setLglCntntMCreatedUTCDateTime(@Nullable ZonedDateTime lglCntntMCreatedUTCDateTime)
Original property name from the Odata EDM: LglCntntMCreatedUTCDateTime
lglCntntMCreatedUTCDateTime
- Created Onpublic void setLglCntntMCreatedByUser(@Nullable String lglCntntMCreatedByUser)
Original property name from the Odata EDM: LglCntntMCreatedByUser
lglCntntMCreatedByUser
- Created Bypublic void setInternalDocumentStatus(@Nullable String internalDocumentStatus)
Original property name from the Odata EDM: InternalDocumentStatus
internalDocumentStatus
- Document Statuspublic void setLglCntntMDocumentIsTopVersion(@Nullable Boolean lglCntntMDocumentIsTopVersion)
Original property name from the Odata EDM: LglCntntMDocumentIsTopVersion
lglCntntMDocumentIsTopVersion
- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')protected String getEntityCollection()
getEntityCollection
in class VdmEntity<LegalDocument>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<LegalDocument>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<LegalDocument>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<LegalDocument>
@Nonnull public static <T> LegalDocumentField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> LegalDocumentField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<LegalDocument>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<LegalDocument>
erpConfigContext
- New ERP configuration context to apply to this entityprotected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<LegalDocument>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<LegalDocument>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<LegalDocument>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<LegalDocument>
@Nonnull public List<LglDocStamp> fetchLglDocStamp() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<LglDocStamp> getLglDocStampOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public Optional<List<LglDocStamp>> getLglDocStampIfPresent()
If the navigation property for an entity LegalDocument has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setLglDocStamp(@Nonnull List<LglDocStamp> value)
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.
value
- List of LglDocStamp entities.public void addLglDocStamp(LglDocStamp... entity)
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.
entity
- Array of LglDocStamp entities.public static LegalDocument.LegalDocumentBuilder builder()
@Nullable public UUID getLglCntntMDocumentUUID()
Original property name from the Odata EDM: LglCntntMDocumentUUID
@Nullable public String getLglCntntMDocument()
Original property name from the Odata EDM: LglCntntMDocument
@Nullable public String getLglCntntMDocumentLinkedObject()
Original property name from the Odata EDM: LglCntntMDocumentLinkedObject
In the standard system, many links are supported. You can display these using the input help.Additional links can be defined via specific screens and table entries without changing the program.See also: Maintain object link
@Nullable public UUID getLglCntntMDocumentLinkedObjKey()
Original property name from the Odata EDM: LglCntntMDocumentLinkedObjKey
@Nullable public String getLegalTransaction()
Original property name from the Odata EDM: LegalTransaction
@Nullable public String getLglCntntMDocContentType()
Original property name from the Odata EDM: LglCntntMDocContentType
@Nullable public String getLglCntntMLanguage()
Original property name from the Odata EDM: LglCntntMLanguage
@Nullable public String getDocumentDescription()
Original property name from the Odata EDM: DocumentDescription
@Nullable public String getLglCntntMDocAccessLvl()
Original property name from the Odata EDM: LglCntntMDocAccessLvl
@Nullable public String getLegalDocumentSource()
Original property name from the Odata EDM: LegalDocumentSource
@Nullable public ZonedDateTime getLglCntntMChangedUTCDateTime()
Original property name from the Odata EDM: LglCntntMChangedUTCDateTime
@Nullable public String getLglCntntMChangedByUser()
Original property name from the Odata EDM: LglCntntMChangedByUser
@Nullable public ZonedDateTime getLglCntntMCreatedUTCDateTime()
Original property name from the Odata EDM: LglCntntMCreatedUTCDateTime
@Nullable public String getLglCntntMCreatedByUser()
Original property name from the Odata EDM: LglCntntMCreatedByUser
@Nullable public String getInternalDocumentStatus()
Original property name from the Odata EDM: InternalDocumentStatus
@Nullable public Boolean getLglCntntMDocumentIsTopVersion()
Original property name from the Odata EDM: LglCntntMDocumentIsTopVersion
public String toString()
toString
in class VdmObject<LegalDocument>
public boolean equals(Object o)
equals
in class VdmObject<LegalDocument>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<LegalDocument>
public int hashCode()
hashCode
in class VdmObject<LegalDocument>
Copyright © 2019 SAP SE. All rights reserved.