com.sap.mdm.blobs
Class ImageVariantProperties

java.lang.Object
  extended bycom.sap.mdm.blobs.ImageVariantProperties
All Implemented Interfaces:
Cloneable, NamedRepositoryItem, RepositoryItem

public class ImageVariantProperties
extends Object
implements NamedRepositoryItem

This class represents an image variant. An image variant is a version of an image, such as the original, thumbnail, etc.


Constructor Summary
ImageVariantProperties(ImageVariantId id, MultilingualString name)
          Constructor with the specified parameters.
ImageVariantProperties(ImageVariantId id, MultilingualString name, String code)
          Constructor with the specified parameters.
ImageVariantProperties(ImageVariantProperties other)
          Copy constructor.
 
Method Summary
 Object clone()
           
 String getCode()
          Returns a string identifier for a named repository object.
 ImageVariantId getId()
          Returns the image variant Id.
 MultilingualString getName()
          Returns the image variant name.
 void setId(ImageVariantId id)
          Sets the image variant Id.
 void setName(MultilingualString name)
          Sets the image variant name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageVariantProperties

public ImageVariantProperties(ImageVariantId id,
                              MultilingualString name)
Constructor with the specified parameters.

Parameters:
id - image variant Id
name - image variant name

ImageVariantProperties

public ImageVariantProperties(ImageVariantId id,
                              MultilingualString name,
                              String code)
Constructor with the specified parameters.

Parameters:
id - image variant ID
name - image variant name
code - image variant code
Since:
7.1 SP08

ImageVariantProperties

public ImageVariantProperties(ImageVariantProperties other)
Copy constructor. Creates deep copy of ImageVariantProperties object.

Parameters:
other - Object to copy
Since:
7.2
Method Detail

getCode

public String getCode()
Description copied from interface: NamedRepositoryItem
Returns a string identifier for a named repository object.

Specified by:
getCode in interface NamedRepositoryItem
Returns:
the code name

getId

public ImageVariantId getId()
Returns the image variant Id.

Returns:
image variant Id

setId

public void setId(ImageVariantId id)
Sets the image variant Id.

Parameters:
id - image variant Id

getName

public MultilingualString getName()
Returns the image variant name.

Returns:
image variant name

setName

public void setName(MultilingualString name)
Sets the image variant name.

Parameters:
name - image variant name

clone

public Object clone()


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.