com.sap.mdm.schema
Class TupleDefinitionProperties

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

public class TupleDefinitionProperties
extends Object
implements NamedRepositoryItem

This class represents a MDM tuple definition. A tuple definition is basically a user-defined field.

Since:
7.1
See Also:
CreateTupleDefinitionCommand, FieldProperties

Constructor Summary
TupleDefinitionProperties()
          Creates a new instance of TupleDefinitionProperties.
TupleDefinitionProperties(TupleDefinitionProperties other)
          Copy c'tor.
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 String getCode()
          Returns a string identifier for a named repository object.
 String getDescription()
          Returns the tuple definition description.
 FieldId[] getDisplayFieldIds()
          Returns all fields that are marked as a display field for the tuple definition.
 TupleDefinitionId getId()
          Returns a tuple definition Id
 MultilingualString getName()
          Returns the tuple definition name.
 int hashCode()
           
 void setCode(String code)
          Sets the tuple definition coding name.
 void setDescription(String description)
          Sets the tuple definition description.
 void setDisplayFieldIds(FieldId[] fieldIds)
          Sets the display fields for the tuple definition.
 void setId(String idString)
          For internal use only.
 void setId(TupleDefinitionId id)
          For internal use only.
 void setName(MultilingualString name)
          Sets the tuple definition name.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TupleDefinitionProperties

public TupleDefinitionProperties()
Creates a new instance of TupleDefinitionProperties.


TupleDefinitionProperties

public TupleDefinitionProperties(TupleDefinitionProperties other)
Copy c'tor. Creates the deep copy of TupleDefinitionProperties object.

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

getId

public TupleDefinitionId getId()
Returns a tuple definition Id

Returns:
a tuple definition Id

setId

public void setId(TupleDefinitionId id)
For internal use only. Sets the tuple definition Id.

Parameters:
id - a tuple definition Id

setId

public void setId(String idString)
           throws IllegalArgumentException
For internal use only. Sets the tuple definition Id.

Parameters:
idString - the tuple definition Id in a string format.
Throws:
IllegalArgumentException

getName

public MultilingualString getName()
Returns the tuple definition name.

Returns:
the tuple definition name.

setName

public void setName(MultilingualString name)
Sets the tuple definition name.

Parameters:
name - the tuple definition name.

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

setCode

public void setCode(String code)
Sets the tuple definition coding name.

Parameters:
code - the tuple definition coding name.

getDisplayFieldIds

public FieldId[] getDisplayFieldIds()
Returns all fields that are marked as a display field for the tuple definition.

Returns:
the display fields.

setDisplayFieldIds

public void setDisplayFieldIds(FieldId[] fieldIds)
Sets the display fields for the tuple definition.

Parameters:
fieldIds - the display fields.

getDescription

public String getDescription()
Returns the tuple definition description.

Returns:
a tuple definition description

setDescription

public void setDescription(String description)
Sets the tuple definition description.

Parameters:
description - a tuple definition description

hashCode

public int hashCode()

equals

public boolean equals(Object obj)

toString

public String toString()

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.