public class MaterialDocumentHeader extends Entity<MaterialDocumentHeader>
Modifier and Type | Class and Description |
---|---|
static class |
MaterialDocumentHeader.MaterialDocumentHeaderBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<MaterialDocumentHeader,String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static EntityField<MaterialDocumentHeader,Calendar> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static EntityField<MaterialDocumentHeader,Calendar> |
CREATION_TIME
Use with available fluent helpers to apply the CreationTime field to query operations.
|
static EntityField<MaterialDocumentHeader,Calendar> |
DOCUMENT_DATE
Use with available fluent helpers to apply the DocumentDate field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
INVENTORY_TRANSACTION_TYPE
Use with available fluent helpers to apply the InventoryTransactionType field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
MATERIAL_DOCUMENT
Use with available fluent helpers to apply the MaterialDocument field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
MATERIAL_DOCUMENT_HEADER_TEXT
Use with available fluent helpers to apply the MaterialDocumentHeaderText field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
MATERIAL_DOCUMENT_YEAR
Use with available fluent helpers to apply the MaterialDocumentYear field to query operations.
|
static EntityField<MaterialDocumentHeader,Calendar> |
POSTING_DATE
Use with available fluent helpers to apply the PostingDate field to query operations.
|
static EntityField<MaterialDocumentHeader,String> |
REFERENCE_DOCUMENT
Use with available fluent helpers to apply the ReferenceDocument field to query operations.
|
Constructor and Description |
---|
MaterialDocumentHeader() |
MaterialDocumentHeader(String materialDocumentYear,
String referenceDocument,
String materialDocument,
String inventoryTransactionType,
Calendar documentDate,
Calendar postingDate,
Calendar creationDate,
Calendar creationTime,
String createdByUser,
String materialDocumentHeaderText,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static MaterialDocumentHeader.MaterialDocumentHeaderBuilder |
builder() |
boolean |
equals(Object o) |
List<MaterialDocumentItem> |
fetchMaterialDocumentItem()
Fetches the MaterialDocumentItem entities (one to many) associated with this entity.
|
static <T> EntityField<MaterialDocumentHeader,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
Calendar |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
Calendar |
getCreationTime()
Constraints: Not nullable, Precision: 0
|
Calendar |
getDocumentDate()
Constraints: Not nullable, Precision: 0
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getInventoryTransactionType()
Constraints: Not nullable, Maximum length: 2
|
String |
getMaterialDocument()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getMaterialDocumentHeaderText()
Constraints: Not nullable, Maximum length: 25
|
String |
getMaterialDocumentYear()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Calendar |
getPostingDate()
Constraints: Not nullable, Precision: 0
|
String |
getReferenceDocument()
Constraints: Not nullable, Maximum length: 16
|
Class<MaterialDocumentHeader> |
getType() |
int |
hashCode() |
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(Calendar creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setCreationTime(Calendar creationTime)
Constraints: Not nullable, Precision: 0
|
void |
setDocumentDate(Calendar documentDate)
Constraints: Not nullable, Precision: 0
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setInventoryTransactionType(String inventoryTransactionType)
Constraints: Not nullable, Maximum length: 2
|
void |
setMaterialDocument(String materialDocument)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setMaterialDocumentHeaderText(String materialDocumentHeaderText)
Constraints: Not nullable, Maximum length: 25
|
void |
setMaterialDocumentYear(String materialDocumentYear)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setPostingDate(Calendar postingDate)
Constraints: Not nullable, Precision: 0
|
void |
setReferenceDocument(String referenceDocument)
Constraints: Not nullable, Maximum length: 16
|
String |
toString() |
public static final EntityField<MaterialDocumentHeader,String> MATERIAL_DOCUMENT_YEAR
public static final EntityField<MaterialDocumentHeader,String> REFERENCE_DOCUMENT
public static final EntityField<MaterialDocumentHeader,String> MATERIAL_DOCUMENT
public static final EntityField<MaterialDocumentHeader,String> INVENTORY_TRANSACTION_TYPE
public static final EntityField<MaterialDocumentHeader,Calendar> DOCUMENT_DATE
public static final EntityField<MaterialDocumentHeader,Calendar> POSTING_DATE
public static final EntityField<MaterialDocumentHeader,Calendar> CREATION_DATE
public static final EntityField<MaterialDocumentHeader,Calendar> CREATION_TIME
public static final EntityField<MaterialDocumentHeader,String> CREATED_BY_USER
public static final EntityField<MaterialDocumentHeader,String> MATERIAL_DOCUMENT_HEADER_TEXT
@Generated(value="lombok") public MaterialDocumentHeader()
@ConstructorProperties(value={"materialDocumentYear","referenceDocument","materialDocument","inventoryTransactionType","documentDate","postingDate","creationDate","creationTime","createdByUser","materialDocumentHeaderText","erpConfigContext"}) @Generated(value="lombok") public MaterialDocumentHeader(@Nullable String materialDocumentYear, @Nullable String referenceDocument, @Nullable String materialDocument, @Nullable String inventoryTransactionType, @Nullable Calendar documentDate, @Nullable Calendar postingDate, @Nullable Calendar creationDate, @Nullable Calendar creationTime, @Nullable String createdByUser, @Nullable String materialDocumentHeaderText, ErpConfigContext erpConfigContext)
public Class<MaterialDocumentHeader> getType()
getType
in class Entity<MaterialDocumentHeader>
public static <T> EntityField<MaterialDocumentHeader,T> field(String fieldName, 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.public List<MaterialDocumentItem> fetchMaterialDocumentItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static MaterialDocumentHeader.MaterialDocumentHeaderBuilder builder()
@Nullable @Generated(value="lombok") public String getMaterialDocumentYear()
@Nullable @Generated(value="lombok") public String getReferenceDocument()
@Nullable @Generated(value="lombok") public String getMaterialDocument()
@Nullable @Generated(value="lombok") public String getInventoryTransactionType()
@Nullable @Generated(value="lombok") public Calendar getDocumentDate()
@Nullable @Generated(value="lombok") public Calendar getPostingDate()
@Nullable @Generated(value="lombok") public Calendar getCreationDate()
@Nullable @Generated(value="lombok") public Calendar getCreationTime()
@Nullable @Generated(value="lombok") public String getCreatedByUser()
@Nullable @Generated(value="lombok") public String getMaterialDocumentHeaderText()
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setMaterialDocumentYear(@Nullable String materialDocumentYear)
materialDocumentYear
- @Generated(value="lombok") public void setReferenceDocument(@Nullable String referenceDocument)
referenceDocument
- @Generated(value="lombok") public void setMaterialDocument(@Nullable String materialDocument)
materialDocument
- @Generated(value="lombok") public void setInventoryTransactionType(@Nullable String inventoryTransactionType)
inventoryTransactionType
- @Generated(value="lombok") public void setDocumentDate(@Nullable Calendar documentDate)
documentDate
- @Generated(value="lombok") public void setPostingDate(@Nullable Calendar postingDate)
postingDate
- @Generated(value="lombok") public void setCreationDate(@Nullable Calendar creationDate)
creationDate
- @Generated(value="lombok") public void setCreationTime(@Nullable Calendar creationTime)
creationTime
- @Generated(value="lombok") public void setCreatedByUser(@Nullable String createdByUser)
createdByUser
- @Generated(value="lombok") public void setMaterialDocumentHeaderText(@Nullable String materialDocumentHeaderText)
materialDocumentHeaderText
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<MaterialDocumentHeader>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<MaterialDocumentHeader>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<MaterialDocumentHeader>
Copyright © 2017 SAP SE. All rights reserved.