|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.schema.RelationshipProperties
Defines a relationship. A relationship defines the type of relationship but does not specify any of the records that participate in that relationship. For each relationship defined, you specify the related products and/or non-products for each record.
| Field Summary | |
static int |
CHILD
|
static int |
PARENT
|
static int |
PARENT_CHILD
|
static int |
SIBLING
|
| Constructor Summary | |
RelationshipProperties(int type)
|
|
RelationshipProperties(RelationshipProperties other)
Copy c'tor. |
|
| Method Summary | |
Object |
clone()
|
boolean |
equals(Object obj)
|
TableId |
getChildTableId()
|
String |
getCode()
Returns a string identifier for a named repository object. |
RelationshipId |
getId()
|
MultilingualString |
getName()
|
TableId |
getParentTableId()
|
int |
getPosition()
|
TableId |
getSiblingTableId()
|
MultilingualString |
getSubName()
|
int |
getType()
|
String |
getTypeName()
Returns the relationship type as a string. |
static String |
getTypeName(int type)
Returns the relationship type as a string. |
int |
hashCode()
|
boolean |
hasPosition()
|
boolean |
hasQuantity()
|
boolean |
hasRequired()
|
boolean |
isNameIsParent()
|
void |
setChildTableId(TableId childTableId)
|
void |
setCode(String code)
|
void |
setHasPosition(boolean hasPosition)
|
void |
setHasQuantity(boolean hasQuantity)
|
void |
setHasRequired(boolean hasRequired)
|
void |
setId(RelationshipId id)
|
void |
setName(MultilingualString name)
|
void |
setNameIsParent(boolean nameIsParent)
|
void |
setParentTableId(TableId parentTableId)
|
void |
setPosition(int position)
|
void |
setSiblingTableId(TableId siblingTableId)
|
void |
setSubName(MultilingualString subName)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int PARENT_CHILD
public static final int SIBLING
public static final int CHILD
public static final int PARENT
| Constructor Detail |
public RelationshipProperties(int type)
public RelationshipProperties(RelationshipProperties other)
RelationshipProperties object.
other - Object to copy| Method Detail |
public String getCode()
NamedRepositoryItem
getCode in interface NamedRepositoryItempublic void setCode(String code)
public TableId getChildTableId()
public void setChildTableId(TableId childTableId)
public TableId getSiblingTableId()
public void setSiblingTableId(TableId siblingTableId)
public boolean hasPosition()
public void setHasPosition(boolean hasPosition)
public boolean hasQuantity()
public void setHasQuantity(boolean hasQuantity)
public boolean hasRequired()
public void setHasRequired(boolean hasRequired)
public RelationshipId getId()
public void setId(RelationshipId id)
public MultilingualString getName()
public void setName(MultilingualString name)
public boolean isNameIsParent()
public void setNameIsParent(boolean nameIsParent)
public TableId getParentTableId()
public void setParentTableId(TableId parentTableId)
public int getPosition()
public void setPosition(int position)
public MultilingualString getSubName()
public void setSubName(MultilingualString subName)
public int getType()
public String getTypeName()
public static String getTypeName(int type)
type - the relationship type
public int hashCode()
public boolean equals(Object obj)
public String toString()
public Object clone()
|
|||||||||||
| 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.