com.sap.mdm.validation
Class ValidationPropertiesResult

java.lang.Object
  extended bycom.sap.mdm.validation.ValidationPropertiesResult

public class ValidationPropertiesResult
extends Object

This class contains the list of validation properties for a table. It also contains the list of validation groups.


Constructor Summary
ValidationPropertiesResult(Id id, ValidationProperties[] validations, HierGroupNode validationGroup)
          Constructor for the specified parameter values.
ValidationPropertiesResult(TableId tableId, ValidationProperties[] validations, HierGroupNode validationGroup)
          Constructor for the specified parameter values.
 
Method Summary
 Id getContainerId()
          Returns the Id the validation is from.
 TableId getTableId()
          Returns the table Id the validation is from.
 HierGroupNode[] getValidationGroups()
          Returns the list of validation groups.
 ValidationProperties[] getValidations()
          Returns the list of all validations for a table.
 ValidationProperties[] getValidations(GroupNodeId groupId)
          Retrieves the list of validations that belong of the specified validation group.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationPropertiesResult

public ValidationPropertiesResult(TableId tableId,
                                  ValidationProperties[] validations,
                                  HierGroupNode validationGroup)
Constructor for the specified parameter values.

Parameters:
tableId - the table the validations are from
validations - a list of validation properties
validationGroup - a validation group tree

ValidationPropertiesResult

public ValidationPropertiesResult(Id id,
                                  ValidationProperties[] validations,
                                  HierGroupNode validationGroup)
Constructor for the specified parameter values.

Parameters:
id - the container Id the validations are from
validations - a list of validation properties
validationGroup - a validation group tree
Since:
7.1
Method Detail

getTableId

public TableId getTableId()
Returns the table Id the validation is from.

Returns:
a table Id

getContainerId

public Id getContainerId()
Returns the Id the validation is from.

Returns:
a Id
Since:
7.1

getValidations

public ValidationProperties[] getValidations()
Returns the list of all validations for a table.

Returns:
a list of validations

getValidations

public ValidationProperties[] getValidations(GroupNodeId groupId)
Retrieves the list of validations that belong of the specified validation group.

Parameters:
groupId - a validation group Id
Returns:
a list of validations
See Also:
getValidationGroups()

getValidationGroups

public HierGroupNode[] getValidationGroups()
Returns the list of validation groups. This list can be used to retrieve the list of validations for each validation group.

Returns:
a list of validation groups
See Also:
getValidations(GroupNodeId)


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.