com.sap.mdm.blobs
Interface BlobRecord

All Superinterfaces:
Cloneable, Record, RepositoryItem
All Known Subinterfaces:
BinaryBlobRecord, ImageBlobRecord, PdfBlobRecord, TextBlobRecord

public interface BlobRecord
extends Record

An interface representing a blob object.


Nested Class Summary
 
Nested classes inherited from class com.sap.mdm.data.Record
Record.CheckoutStatus, Record.MatrixType, Record.ModificationStatus
 
Method Summary
 String getCode()
          Returns the code name for the record.
 GroupNodeId getDataGroupId()
          Returns the data group the record belongs to.
 MdmValue getDataSize()
          Returns the data size of the images, PDFs, etc.
 MdmValue getDescription()
          Returns the description of the record.
 void setCode(String code)
          Sets the code name of the record (optional).
 void setDataGroupId(GroupNodeId nodeId)
          Sets the data group Id.
 void setDataSize(int size)
          Sets the data size of the images, PDFs, etc (optional).
 void setDataSize(MdmValue size)
          Sets the data size of the images, PDFs, etc (optional).
 void setDescription(MdmValue description)
          Sets the description of the record (optional).
 void setDescription(String description)
          Sets the description of the record (optional).
 
Methods inherited from interface com.sap.mdm.data.Record
clone, containsAttribute, containsField, findLookupRecords, getAttributes, getAttributeValue, getChangeStamp, getCheckoutStatus, getDefaultRegionCode, getDisplayValue, getFields, getFieldValue, getId, getLookupDisplayValue, getMatrixType, getMetadata, getModificationStatus, getMultiregionFieldValue, getReverseLookupRecords, getReverseLookups, getTable, getTupleDisplayValue, hasFieldValue, isInWorkflow, isProtected, isQualifiedField, isTaxonomyField, setAttributeValue, setFieldValue, setMatrixType, toString, toString, toString, toString
 

Method Detail

getCode

public String getCode()
Returns the code name for the record. Code name needs to be unique.

Returns:
a code name

setCode

public void setCode(String code)
             throws IllegalArgumentException,
                    MdmValueTypeException
Sets the code name of the record (optional). Code name needs to be unique.

Parameters:
code - a code name
Throws:
IllegalArgumentException
MdmValueTypeException

getDescription

public MdmValue getDescription()
Returns the description of the record.

Returns:
a description

setDescription

public void setDescription(MdmValue description)
                    throws IllegalArgumentException,
                           MdmValueTypeException
Sets the description of the record (optional).

Parameters:
description - a description
Throws:
IllegalArgumentException
MdmValueTypeException

setDescription

public void setDescription(String description)
Sets the description of the record (optional).

Parameters:
description - a description
Throws:
IllegalArgumentException
MdmValueTypeException
Since:
5.5 SP6 Patch 04

getDataGroupId

public GroupNodeId getDataGroupId()
Returns the data group the record belongs to.

Returns:
a data group Id

setDataGroupId

public void setDataGroupId(GroupNodeId nodeId)
                    throws IllegalArgumentException,
                           MdmValueTypeException
Sets the data group Id. It is use for grouping images, PDFs, etc (required).

Parameters:
nodeId - a data group Id
Throws:
IllegalArgumentException
MdmValueTypeException

getDataSize

public MdmValue getDataSize()
Returns the data size of the images, PDFs, etc.

Returns:
a data size

setDataSize

public void setDataSize(MdmValue size)
                 throws IllegalArgumentException,
                        MdmValueTypeException
Sets the data size of the images, PDFs, etc (optional). It is automatically set.

Parameters:
size - a data size
Throws:
IllegalArgumentException
MdmValueTypeException

setDataSize

public void setDataSize(int size)
Sets the data size of the images, PDFs, etc (optional). It is automatically set.

Parameters:
size - a data size
Throws:
IllegalArgumentException
MdmValueTypeException
Since:
5.5 SP6 Patch 04


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.