com.sapportals.wcm.service.xmlforms.validation

Interface IDataObject


public interface IDataObject


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

Method Detail

getType

public String getType()

setValue

public void setValue(Object value)

setValue

public void setValue(Object value,
                     Locale loc)

isValid

public boolean isValid()

getErrorMessage

public String getErrorMessage(Locale loc)

getXMLErrorNode

public Node getXMLErrorNode(String tagname,
                            int line,
                            int row,
                            Locale loc)

getXMLErrorTag

public String getXMLErrorTag(String tagname,
                             int line,
                             int row,
                             Locale loc)

getValue

public Object getValue()

toString

public String toString()

toString

public String toString(Locale locale)

toDisplayString

public String toDisplayString(String param)

toDisplayString

public String toDisplayString(String param,
                              Locale locale)

toXMLString

public String toXMLString()

compare

public String compare(IDataObject object)

setRestrictions

public void setRestrictions(HashMap map)

clear

public void clear()

setResourceContext

public void setResourceContext(IResourceContext resContext)

addAllowedValue

public void addAllowedValue(String key,
                            String value)

setAllowedValues

public void setAllowedValues(HashMap map)

setMandatory

public void setMandatory(boolean b)

getSuffixes

public String[] getSuffixes()

toSuffixString

public String toSuffixString(String suffix,
                             Locale loc)


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.