com.sap.mdm.validation
Class ValidationProperties

java.lang.Object
  extended bycom.sap.mdm.validation.ValidationProperties
All Implemented Interfaces:
NamedRepositoryItem, RepositoryItem

public class ValidationProperties
extends java.lang.Object
implements NamedRepositoryItem

This class represents a validation rule.


Nested Class Summary
 class ValidationProperties.ExecutionType
          This class contains a list of enumeration of the available execution type.
 
Constructor Summary
ValidationProperties(ValidationId validationId, GroupNodeId[] validationGroupIds, MultilingualString name, java.lang.String code, MultilingualString description, MultilingualString message, int executionType, boolean isCallable)
          Constructs with the specified parameters.
 
Method Summary
 java.lang.String getCode()
           
 MultilingualString getDescription()
          Returns the validation description.
 int getExecutionType()
          Returns the execution type.
 ValidationId getId()
          Returns the validation Id.
 MultilingualString getMessage()
          Returns the error/warning message.
 MultilingualString getName()
          Returns the validation name.
 GroupNodeId[] getValidationGroupIds()
          Returns the groups the validation belongs to.
 boolean isCallable()
          Returns whether this validation can be included in another validation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationProperties

public ValidationProperties(ValidationId validationId,
                            GroupNodeId[] validationGroupIds,
                            MultilingualString name,
                            java.lang.String code,
                            MultilingualString description,
                            MultilingualString message,
                            int executionType,
                            boolean isCallable)
Constructs with the specified parameters.

Parameters:
validationId - the validation Id
validationGroupIds - the groups the validation belongs to
name - the validation name
code - the validation code name
description - the validation description
message - the error/warning message for the validation
executionType - the execution type
isCallable - whether this validation can be included in another validation
Method Detail

getCode

public java.lang.String getCode()
Specified by:
getCode in interface NamedRepositoryItem

getId

public ValidationId getId()
Returns the validation Id.

Returns:
the validation Id

getValidationGroupIds

public GroupNodeId[] getValidationGroupIds()
Returns the groups the validation belongs to.

Returns:
a validation group

isCallable

public boolean isCallable()
Returns whether this validation can be included in another validation.

Returns:
True if this validation can be included in another validation, otherwise false

getDescription

public MultilingualString getDescription()
Returns the validation description.

Returns:
the validation description

getMessage

public MultilingualString getMessage()
Returns the error/warning message.

Returns:
the error/warning message

getName

public MultilingualString getName()
Returns the validation name.

Returns:
the validation name

getExecutionType

public int getExecutionType()
Returns the execution type.

Returns:
the execution type
See Also:
ValidationProperties.ExecutionType


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.