|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface representing a blob record which can include Binary Object, Sounds, Videos, etc.
| Nested Class Summary |
| Nested classes inherited from class com.sap.mdm.data.Record |
Record.CheckoutStatus, Record.MatrixType, Record.ModificationStatus |
| Method Summary | |
MdmValue |
getBinary()
Returns the raw binary object. |
GroupNodeId |
getDataLocationId()
Returns the data location node where the blob originally came from. |
MdmValue |
getHasOriginal()
Returns whether the blob is store in the repository. |
MdmValue |
getName()
Returns the name of the blob. |
MdmValue |
getOriginalName()
Returns the original name of the blob. |
MdmValue |
getSource()
Deprecated. replaced by getDataLocationId() |
void |
setBinary(byte[] binary)
Sets the raw binary object (required). |
void |
setBinary(MdmValue binary)
Sets the raw binary object (required). |
void |
setDataLocationId(GroupNodeId nodeId)
Sets the data location node where the blob originally came from (required). |
void |
setHasOriginal(boolean hasOriginal)
Sets whether the blob is store in the repository (optional). |
void |
setHasOriginal(MdmValue hasOriginal)
Sets whether the blob is store in the repository (optional). |
void |
setName(MdmValue name)
Sets the name of the blob (required). |
void |
setName(String name)
Sets the name of the blob (required). |
void |
setOriginalName(MdmValue name)
Sets the original name of the blob (optional). |
void |
setOriginalName(String name)
Sets the original name of the blob (optional). |
void |
setSource(MdmValue source)
Deprecated. replaced by setDataLocationId(GroupNodeId) |
| Methods inherited from interface com.sap.mdm.blobs.BlobRecord |
getCode, getDataGroupId, getDataSize, getDescription, setCode, setDataGroupId, setDataSize, setDataSize, setDescription, setDescription |
| Method Detail |
public MdmValue getName()
public void setName(MdmValue name)
throws IllegalArgumentException,
MdmValueTypeException
name - a name
IllegalArgumentException
MdmValueTypeExceptionpublic void setName(String name)
name - a name
IllegalArgumentExceptionpublic MdmValue getOriginalName()
public void setOriginalName(MdmValue name)
throws IllegalArgumentException,
MdmValueTypeException
name - an original name
IllegalArgumentException
MdmValueTypeExceptionpublic void setOriginalName(String name)
name - an original name
IllegalArgumentExceptionpublic MdmValue getHasOriginal()
true if the blob is store in the repository, otherwise false
public void setHasOriginal(MdmValue hasOriginal)
throws IllegalArgumentException,
MdmValueTypeException
hasOriginal - true if the blob is store in the repository, otherwise false
IllegalArgumentException
MdmValueTypeExceptionpublic void setHasOriginal(boolean hasOriginal)
hasOriginal - true if the blob is store in the repository, otherwise false
IllegalArgumentExceptionpublic MdmValue getSource()
getDataLocationId()
public void setSource(MdmValue source)
throws IllegalArgumentException,
MdmValueTypeException
setDataLocationId(GroupNodeId)
source -
IllegalArgumentException
MdmValueTypeExceptionpublic GroupNodeId getDataLocationId()
public void setDataLocationId(GroupNodeId nodeId)
throws IllegalArgumentException,
MdmValueTypeException
nodeId -
IllegalArgumentException
MdmValueTypeExceptionpublic MdmValue getBinary()
public void setBinary(MdmValue binary)
throws IllegalArgumentException,
MdmValueTypeException
binary - a raw binary object
IllegalArgumentException
MdmValueTypeExceptionpublic void setBinary(byte[] binary)
binary - a raw binary object
IllegalArgumentException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.