SAP NetWeaver '04

com.sapportals.wcm.service.xmlforms.validation
Interface IDataObject

[contained in: com.sap.km.cm.service.base.par - km.shared.service.xmlforms_api.jar]
public interface IDataObject


Method Summary
 void addAllowedValue(java.lang.String key, java.lang.String value)
           
 void clear()
           
 java.lang.String compare(IDataObject object)
           
 java.lang.String getErrorMessage(java.util.Locale loc)
           
 java.lang.String[] getSuffixes()
           
 java.lang.String getType()
           
 java.lang.Object getValue()
           
 org.w3c.dom.Node getXMLErrorNode(java.lang.String tagname, int line, int row, java.util.Locale loc)
           
 java.lang.String getXMLErrorTag(java.lang.String tagname, int line, int row, java.util.Locale loc)
           
 boolean isValid()
           
 void setAllowedValues(java.util.HashMap map)
           
 void setMandatory(boolean b)
           
 void setResourceContext(IResourceContext resContext)
           
 void setRestrictions(java.util.HashMap map)
           
 void setValue(java.lang.Object value)
           
 void setValue(java.lang.Object value, java.util.Locale loc)
           
 java.lang.String toDisplayString(java.lang.String param)
           
 java.lang.String toDisplayString(java.lang.String param, java.util.Locale locale)
           
 java.lang.String toString()
           
 java.lang.String toString(java.util.Locale locale)
           
 java.lang.String toSuffixString(java.lang.String suffix, java.util.Locale loc)
           
 java.lang.String toXMLString()
           
 

Method Detail

getType

public java.lang.String getType()

setValue

public void setValue(java.lang.Object value)

setValue

public void setValue(java.lang.Object value,
                     java.util.Locale loc)

isValid

public boolean isValid()

getErrorMessage

public java.lang.String getErrorMessage(java.util.Locale loc)

getXMLErrorNode

public org.w3c.dom.Node getXMLErrorNode(java.lang.String tagname,
                                        int line,
                                        int row,
                                        java.util.Locale loc)

getXMLErrorTag

public java.lang.String getXMLErrorTag(java.lang.String tagname,
                                       int line,
                                       int row,
                                       java.util.Locale loc)

getValue

public java.lang.Object getValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(java.util.Locale locale)

toDisplayString

public java.lang.String toDisplayString(java.lang.String param)

toDisplayString

public java.lang.String toDisplayString(java.lang.String param,
                                        java.util.Locale locale)

toXMLString

public java.lang.String toXMLString()

compare

public java.lang.String compare(IDataObject object)

setRestrictions

public void setRestrictions(java.util.HashMap map)

clear

public void clear()

setResourceContext

public void setResourceContext(IResourceContext resContext)

addAllowedValue

public void addAllowedValue(java.lang.String key,
                            java.lang.String value)

setAllowedValues

public void setAllowedValues(java.util.HashMap map)

setMandatory

public void setMandatory(boolean b)

getSuffixes

public java.lang.String[] getSuffixes()

toSuffixString

public java.lang.String toSuffixString(java.lang.String suffix,
                                       java.util.Locale loc)

SAP NetWeaver '04

Copyright © 2004 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.