com.sap.mdm.repository
Class RepositoryOption

java.lang.Object
  extended bycom.sap.mdm.repository.RepositoryOption

public class RepositoryOption
extends Object

RepositoryOption specifies a property for a Repository Setting


Nested Class Summary
static interface RepositoryOption.DemoteErrorsToWarningsWhenMergingCheckedOutRecords
           
static interface RepositoryOption.LayoutUnit
           
static interface RepositoryOption.RepositoryOptionSetting
           
 
Constructor Summary
RepositoryOption(int propertyType, boolean value)
          Constructs with the specified parameters.
RepositoryOption(int propertyType, int value)
          Constructs with the specified parameters.
RepositoryOption(int propertyType, String value)
          Constructs with the specified parameters.
 
Method Summary
 int getPropertyType()
          Return the property type
 Object getValue()
          Returns the property value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryOption

public RepositoryOption(int propertyType,
                        boolean value)
Constructs with the specified parameters.

Parameters:
propertyType - a property type

The following are valid property types:

value - a property value

RepositoryOption

public RepositoryOption(int propertyType,
                        int value)
Constructs with the specified parameters.

Parameters:
propertyType - a property type

The following are valid property types:

value - a property value

For property type RepositoryOption.RepositoryOptionSetting.DEFAULT_LAYOUT_UNIT, the following are valid property values:

For property type RepositoryOption.RepositoryOptionSetting.DEMOTE_ERRORS_TO_WARNINGS_WHEN_MERGING_CHECKED_OUT_RECORDS, the following are valid property values:


RepositoryOption

public RepositoryOption(int propertyType,
                        String value)
Constructs with the specified parameters.

Parameters:
propertyType - a property type

The following are valid property types:

value - a property value
Method Detail

getPropertyType

public int getPropertyType()
Return the property type

Returns:
a property type
See Also:
RepositoryOption.RepositoryOptionSetting

getValue

public Object getValue()
Returns the property value.

For following property types, cast return value to Boolean:

For following property types, cast return value to Integer:

For following property types, cast return value to String:

Returns:
the property value (Boolean / Integer)


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.