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 |
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,
ErpConfigContext erpConfigContext,
List<LglDocStamp> toLglDocStamp) |
Modifier and Type | Method and Description |
---|---|
void |
addLglDocStamp(LglDocStamp... entity)
Adds elements to the list of associated LglDocStamp entities.
|
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) |
String |
getDocumentDescription()
Constraints: Not nullable, Maximum length: 255 Original property name from the Odata EDM: DocumentDescription
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getInternalDocumentStatus()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: InternalDocumentStatus
|
protected Map<String,Object> |
getKey() |
String |
getLegalDocumentSource()
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: LegalDocumentSource
|
String |
getLegalTransaction()
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: LegalTransaction
|
String |
getLglCntntMChangedByUser()
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: LglCntntMChangedByUser
|
ZonedDateTime |
getLglCntntMChangedUTCDateTime()
Constraints: Not nullable, Precision: 7 Original property name from the Odata EDM: LglCntntMChangedUTCDateTime
|
String |
getLglCntntMCreatedByUser()
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: LglCntntMCreatedByUser
|
ZonedDateTime |
getLglCntntMCreatedUTCDateTime()
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: LglCntntMCreatedUTCDateTime
|
String |
getLglCntntMDocAccessLvl()
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: LglCntntMDocAccessLvl
|
String |
getLglCntntMDocContentType()
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: LglCntntMDocContentType
|
String |
getLglCntntMDocument()
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: LglCntntMDocument
|
Boolean |
getLglCntntMDocumentIsTopVersion()
Constraints: noneOriginal property name from the Odata EDM: LglCntntMDocumentIsTopVersion
|
String |
getLglCntntMDocumentLinkedObject()
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: LglCntntMDocumentLinkedObjectIn the standard system, many links are supported.
|
UUID |
getLglCntntMDocumentLinkedObjKey()
Constraints: noneOriginal property name from the Odata EDM: LglCntntMDocumentLinkedObjKey
|
UUID |
getLglCntntMDocumentUUID()
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMDocumentUUID
|
String |
getLglCntntMLanguage()
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: LglCntntMLanguage
|
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 Original property name from the Odata EDM: DocumentDescription
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setInternalDocumentStatus(String internalDocumentStatus)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: InternalDocumentStatus
|
void |
setLegalDocumentSource(String legalDocumentSource)
Constraints: Not nullable, Maximum length: 3 Original property name from the Odata EDM: LegalDocumentSource
|
void |
setLegalTransaction(String legalTransaction)
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: LegalTransaction
|
void |
setLglCntntMChangedByUser(String lglCntntMChangedByUser)
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: LglCntntMChangedByUser
|
void |
setLglCntntMChangedUTCDateTime(ZonedDateTime lglCntntMChangedUTCDateTime)
Constraints: Not nullable, Precision: 7 Original property name from the Odata EDM: LglCntntMChangedUTCDateTime
|
void |
setLglCntntMCreatedByUser(String lglCntntMCreatedByUser)
Constraints: Not nullable, Maximum length: 12 Original property name from the Odata EDM: LglCntntMCreatedByUser
|
void |
setLglCntntMCreatedUTCDateTime(ZonedDateTime lglCntntMCreatedUTCDateTime)
Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: LglCntntMCreatedUTCDateTime
|
void |
setLglCntntMDocAccessLvl(String lglCntntMDocAccessLvl)
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: LglCntntMDocAccessLvl
|
void |
setLglCntntMDocContentType(String lglCntntMDocContentType)
Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: LglCntntMDocContentType
|
void |
setLglCntntMDocument(String lglCntntMDocument)
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: LglCntntMDocument
|
void |
setLglCntntMDocumentIsTopVersion(Boolean lglCntntMDocumentIsTopVersion)
Constraints: noneOriginal property name from the Odata EDM: LglCntntMDocumentIsTopVersion
|
void |
setLglCntntMDocumentLinkedObject(String lglCntntMDocumentLinkedObject)
Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: LglCntntMDocumentLinkedObjectIn the standard system, many links are supported.
|
void |
setLglCntntMDocumentLinkedObjKey(UUID lglCntntMDocumentLinkedObjKey)
Constraints: noneOriginal property name from the Odata EDM: LglCntntMDocumentLinkedObjKey
|
void |
setLglCntntMDocumentUUID(UUID lglCntntMDocumentUUID)
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: LglCntntMDocumentUUID
|
void |
setLglCntntMLanguage(String lglCntntMLanguage)
Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: LglCntntMLanguage
|
void |
setLglDocStamp(List<LglDocStamp> value)
Overwrites the list of associated LglDocStamp entities for the loaded navigation property to_LglDocStamp.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, 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, @Nullable ErpConfigContext erpConfigContext, 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>
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)
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)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.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
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<LegalDocument>
erpConfigContext
- 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 © 2018 SAP SE. All rights reserved.