public class AttachmentLink extends VdmEntity<AttachmentLink>
Original entity name from the Odata EDM: AttachmentLink
Modifier and Type | Class and Description |
---|---|
static class |
AttachmentLink.AttachmentLinkBuilder |
Modifier and Type | Field and Description |
---|---|
static AttachmentLinkSelectable |
ALL_FIELDS
Selector for all available fields of AttachmentLink.
|
static AttachmentLinkField<String> |
ARCHIVE_DOCUMENT_ID
Use with available fluent helpers to apply the ArchiveDocumentID field to query operations.
|
static AttachmentLinkField<String> |
BUSINESS_OBJECT_TYPE_NAME
Use with available fluent helpers to apply the BusinessObjectTypeName field to query operations.
|
static AttachmentLinkField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static AttachmentLinkField<String> |
DOCUMENT_INFO_RECORD_DOC_NUMBER
Use with available fluent helpers to apply the DocumentInfoRecordDocNumber field to query operations.
|
static AttachmentLinkField<String> |
DOCUMENT_INFO_RECORD_DOC_PART
Use with available fluent helpers to apply the DocumentInfoRecordDocPart field to query operations.
|
static AttachmentLinkField<String> |
DOCUMENT_INFO_RECORD_DOC_TYPE
Use with available fluent helpers to apply the DocumentInfoRecordDocType field to query operations.
|
static AttachmentLinkField<String> |
DOCUMENT_INFO_RECORD_DOC_VERSION
Use with available fluent helpers to apply the DocumentInfoRecordDocVersion field to query operations.
|
static AttachmentLinkField<String> |
FISCAL_PERIOD
Use with available fluent helpers to apply the FiscalPeriod field to query operations.
|
static AttachmentLinkField<String> |
FISCAL_YEAR
Use with available fluent helpers to apply the FiscalYear field to query operations.
|
static AttachmentLinkField<String> |
JOINT_VENTURE_PARTNER
Use with available fluent helpers to apply the JointVenturePartner field to query operations.
|
static AttachmentLinkField<String> |
LINKED_SAP_OBJECT_KEY
Use with available fluent helpers to apply the LinkedSAPObjectKey field to query operations.
|
static AttachmentLinkField<String> |
LOGICAL_DOCUMENT
Use with available fluent helpers to apply the LogicalDocument field to query operations.
|
static AttachmentLinkField<String> |
WORKSTATION_APPLICATION
Use with available fluent helpers to apply the WorkstationApplication field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
AttachmentLink() |
AttachmentLink(String companyCode,
String fiscalYear,
String fiscalPeriod,
String jointVenturePartner,
String documentInfoRecordDocType,
String documentInfoRecordDocNumber,
String documentInfoRecordDocVersion,
String documentInfoRecordDocPart,
String logicalDocument,
String archiveDocumentID,
String linkedSAPObjectKey,
String businessObjectTypeName,
String workstationApplication) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static AttachmentLink.AttachmentLinkBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> AttachmentLinkField<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 |
getArchiveDocumentID()
Constraints: Not nullable, Maximum length: 40
|
String |
getBusinessObjectTypeName()
Constraints: Not nullable, Maximum length: 40
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDocumentInfoRecordDocNumber()
Constraints: Not nullable, Maximum length: 25
|
String |
getDocumentInfoRecordDocPart()
Constraints: Not nullable, Maximum length: 3
|
String |
getDocumentInfoRecordDocType()
Constraints: Not nullable, Maximum length: 3
|
String |
getDocumentInfoRecordDocVersion()
Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getFiscalPeriod()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getFiscalYear()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getJointVenturePartner()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
getKey() |
String |
getLinkedSAPObjectKey()
(Key Field) Constraints: Not nullable, Maximum length: 90
|
String |
getLogicalDocument()
Constraints: Not nullable, Maximum length: 32
|
Class<AttachmentLink> |
getType() |
String |
getWorkstationApplication()
Constraints: Not nullable, Maximum length: 3
|
int |
hashCode() |
void |
setArchiveDocumentID(String archiveDocumentID)
Constraints: Not nullable, Maximum length: 40
|
void |
setBusinessObjectTypeName(String businessObjectTypeName)
Constraints: Not nullable, Maximum length: 40
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setDocumentInfoRecordDocNumber(String documentInfoRecordDocNumber)
Constraints: Not nullable, Maximum length: 25
|
void |
setDocumentInfoRecordDocPart(String documentInfoRecordDocPart)
Constraints: Not nullable, Maximum length: 3
|
void |
setDocumentInfoRecordDocType(String documentInfoRecordDocType)
Constraints: Not nullable, Maximum length: 3
|
void |
setDocumentInfoRecordDocVersion(String documentInfoRecordDocVersion)
Constraints: Not nullable, Maximum length: 2
|
void |
setFiscalPeriod(String fiscalPeriod)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setFiscalYear(String fiscalYear)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setJointVenturePartner(String jointVenturePartner)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setLinkedSAPObjectKey(String linkedSAPObjectKey)
(Key Field) Constraints: Not nullable, Maximum length: 90
|
void |
setLogicalDocument(String logicalDocument)
Constraints: Not nullable, Maximum length: 32
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setWorkstationApplication(String workstationApplication)
Constraints: Not nullable, Maximum length: 3
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final AttachmentLinkSelectable ALL_FIELDS
public static final AttachmentLinkField<String> COMPANY_CODE
public static final AttachmentLinkField<String> FISCAL_YEAR
public static final AttachmentLinkField<String> FISCAL_PERIOD
public static final AttachmentLinkField<String> JOINT_VENTURE_PARTNER
public static final AttachmentLinkField<String> DOCUMENT_INFO_RECORD_DOC_TYPE
public static final AttachmentLinkField<String> DOCUMENT_INFO_RECORD_DOC_NUMBER
public static final AttachmentLinkField<String> DOCUMENT_INFO_RECORD_DOC_VERSION
public static final AttachmentLinkField<String> DOCUMENT_INFO_RECORD_DOC_PART
public static final AttachmentLinkField<String> LOGICAL_DOCUMENT
public static final AttachmentLinkField<String> ARCHIVE_DOCUMENT_ID
public static final AttachmentLinkField<String> LINKED_SAP_OBJECT_KEY
public static final AttachmentLinkField<String> BUSINESS_OBJECT_TYPE_NAME
public static final AttachmentLinkField<String> WORKSTATION_APPLICATION
public AttachmentLink()
public AttachmentLink(@Nullable String companyCode, @Nullable String fiscalYear, @Nullable String fiscalPeriod, @Nullable String jointVenturePartner, @Nullable String documentInfoRecordDocType, @Nullable String documentInfoRecordDocNumber, @Nullable String documentInfoRecordDocVersion, @Nullable String documentInfoRecordDocPart, @Nullable String logicalDocument, @Nullable String archiveDocumentID, @Nullable String linkedSAPObjectKey, @Nullable String businessObjectTypeName, @Nullable String workstationApplication)
@Nonnull public Class<AttachmentLink> getType()
getType
in class VdmObject<AttachmentLink>
public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- The companyCode to set.public void setFiscalYear(@Nullable String fiscalYear)
Original property name from the Odata EDM: FiscalYear
fiscalYear
- The fiscalYear to set.public void setFiscalPeriod(@Nullable String fiscalPeriod)
Original property name from the Odata EDM: FiscalPeriod
fiscalPeriod
- The fiscalPeriod to set.public void setJointVenturePartner(@Nullable String jointVenturePartner)
Original property name from the Odata EDM: JointVenturePartner
jointVenturePartner
- The jointVenturePartner to set.public void setDocumentInfoRecordDocType(@Nullable String documentInfoRecordDocType)
Original property name from the Odata EDM: DocumentInfoRecordDocType
documentInfoRecordDocType
- The documentInfoRecordDocType to set.public void setDocumentInfoRecordDocNumber(@Nullable String documentInfoRecordDocNumber)
Original property name from the Odata EDM: DocumentInfoRecordDocNumber
documentInfoRecordDocNumber
- The documentInfoRecordDocNumber to set.public void setDocumentInfoRecordDocVersion(@Nullable String documentInfoRecordDocVersion)
Original property name from the Odata EDM: DocumentInfoRecordDocVersion
documentInfoRecordDocVersion
- The documentInfoRecordDocVersion to set.public void setDocumentInfoRecordDocPart(@Nullable String documentInfoRecordDocPart)
Original property name from the Odata EDM: DocumentInfoRecordDocPart
documentInfoRecordDocPart
- The documentInfoRecordDocPart to set.public void setLogicalDocument(@Nullable String logicalDocument)
Original property name from the Odata EDM: LogicalDocument
logicalDocument
- The logicalDocument to set.public void setArchiveDocumentID(@Nullable String archiveDocumentID)
Original property name from the Odata EDM: ArchiveDocumentID
archiveDocumentID
- The archiveDocumentID to set.public void setLinkedSAPObjectKey(@Nullable String linkedSAPObjectKey)
Original property name from the Odata EDM: LinkedSAPObjectKey
linkedSAPObjectKey
- The linkedSAPObjectKey to set.public void setBusinessObjectTypeName(@Nullable String businessObjectTypeName)
Original property name from the Odata EDM: BusinessObjectTypeName
businessObjectTypeName
- The businessObjectTypeName to set.public void setWorkstationApplication(@Nullable String workstationApplication)
Original property name from the Odata EDM: WorkstationApplication
workstationApplication
- The workstationApplication to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<AttachmentLink>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<AttachmentLink>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<AttachmentLink>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<AttachmentLink>
@Nonnull public static <T> AttachmentLinkField<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> AttachmentLinkField<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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<AttachmentLink>
protected 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<AttachmentLink>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
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<AttachmentLink>
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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<AttachmentLink>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static AttachmentLink.AttachmentLinkBuilder builder()
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getFiscalYear()
Original property name from the Odata EDM: FiscalYear
@Nullable public String getFiscalPeriod()
Original property name from the Odata EDM: FiscalPeriod
@Nullable public String getJointVenturePartner()
Original property name from the Odata EDM: JointVenturePartner
@Nullable public String getDocumentInfoRecordDocType()
Original property name from the Odata EDM: DocumentInfoRecordDocType
@Nullable public String getDocumentInfoRecordDocNumber()
Original property name from the Odata EDM: DocumentInfoRecordDocNumber
@Nullable public String getDocumentInfoRecordDocVersion()
Original property name from the Odata EDM: DocumentInfoRecordDocVersion
@Nullable public String getDocumentInfoRecordDocPart()
Original property name from the Odata EDM: DocumentInfoRecordDocPart
@Nullable public String getLogicalDocument()
Original property name from the Odata EDM: LogicalDocument
@Nullable public String getArchiveDocumentID()
Original property name from the Odata EDM: ArchiveDocumentID
@Nullable public String getLinkedSAPObjectKey()
Original property name from the Odata EDM: LinkedSAPObjectKey
@Nullable public String getBusinessObjectTypeName()
Original property name from the Odata EDM: BusinessObjectTypeName
@Nullable public String getWorkstationApplication()
Original property name from the Odata EDM: WorkstationApplication
@Nonnull public String toString()
toString
in class VdmObject<AttachmentLink>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<AttachmentLink>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<AttachmentLink>
public int hashCode()
hashCode
in class VdmObject<AttachmentLink>
Copyright © 2021 SAP SE. All rights reserved.