|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.schema.AbstractAttributeProperties
com.sap.mdm.schema.TextAttributeProperties
Defines a text attribute. A text attribute is define as a list of discrete values, such as red, blue and white.
| Field Summary |
| Fields inherited from interface com.sap.mdm.schema.AttributeProperties |
COUPLED_TYPE, INVALID_TYPE, NUMERIC_TYPE, TEXT_TYPE |
| Constructor Summary | |
TextAttributeProperties()
Empty constructor |
|
TextAttributeProperties(AttributeId id)
Constructor with the specified attribute Id. |
|
TextAttributeProperties(TextAttributeProperties other)
Copy c'tor. |
|
| Method Summary | |
void |
addTextAttributeValue(TextAttributeValueProperties value)
Add an attribute text value. |
void |
clear()
Clear all attribute text values. |
Object |
clone()
|
boolean |
equals(Object obj)
|
TextAttributeValueProperties |
getTextAttributeValue(int index)
Returns the attribute text value. |
TextAttributeValueProperties |
getTextAttributeValue(TextAttributeValueId textAttrValueId)
Returns the attribute text value. |
TextAttributeValueProperties[] |
getTextAttributeValues()
Returns all attribute text values. |
int |
getType()
Indicates an attribute type (text, numeric or coupled). |
int |
hashCode()
|
boolean |
isKeyMappable()
Indicates if the text attribute allows for key maps. |
boolean |
isTextAttributeValuesLoaded()
Indicates if the text attribute values have been loaded |
TextAttributeValueProperties |
removeTextAttributeValue(int index)
Removes an attribute text value for the specified index. |
TextAttributeValueProperties |
removeTextAttributeValue(TextAttributeValueId textAttrValueId)
Removes an attribute text value for the specified ID. |
void |
setKeyMappable(boolean isKeyMappable)
Sets to true to allow for key maps, otherwise set to false to not allow. |
void |
setTextAttributeValuesLoaded(boolean isTextAttributeValuesLoaded)
Specifies if the text attribute values have been loaded |
| Methods inherited from class com.sap.mdm.schema.AbstractAttributeProperties |
getAlias, getChangeStamp, getCode, getDefinition, getId, getImageId, getName, getTableId, isMultiValued, setAlias, setChaneStamp, setChangeStamp, setCode, setDefinition, setImageId, setMultiValued, setName, setTableId, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TextAttributeProperties()
public TextAttributeProperties(AttributeId id)
id - an attribute Idpublic TextAttributeProperties(TextAttributeProperties other)
TextAttributeProperties object.
other - Object to copy| Method Detail |
public int getType()
AttributeProperties
public void addTextAttributeValue(TextAttributeValueProperties value)
value - an attribute text valuepublic TextAttributeValueProperties getTextAttributeValue(int index)
index - the index value
public TextAttributeValueProperties getTextAttributeValue(TextAttributeValueId textAttrValueId)
null is returned.
textAttrValueId - a text attribute value Id
public TextAttributeValueProperties[] getTextAttributeValues()
public TextAttributeValueProperties removeTextAttributeValue(int index)
index - an index value
public TextAttributeValueProperties removeTextAttributeValue(TextAttributeValueId textAttrValueId)
textAttrValueId - the ID of text attribute value that should be removed
public void clear()
public int hashCode()
hashCode in class AbstractAttributePropertiespublic boolean equals(Object obj)
equals in class AbstractAttributePropertiespublic boolean isKeyMappable()
true if key mappable, otherwise falsepublic void setKeyMappable(boolean isKeyMappable)
true to allow for key maps, otherwise set to false to not allow.
public Object clone()
clone in interface AttributePropertiesclone in class AbstractAttributePropertiespublic void setTextAttributeValuesLoaded(boolean isTextAttributeValuesLoaded)
isTextAttributeValuesLoaded - a boolean indicating if the text attribute values have been loadedpublic boolean isTextAttributeValuesLoaded()
|
|||||||||||
| 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.