com.sap.sl.sdk.authoring.businesslayer
Interface CustomNumberFormat

All Superinterfaces:
DataFormat, NumberFormat

public interface CustomNumberFormat
extends NumberFormat

A representation of the model object 'Custom Number Format'.

This object represents a custom numeric format of a business object (dimension, measure, or attribute).

Use BusinessLayerFactory.createCustomNumberFormat(BusinessObject) to instantiate a custom numeric format.

The following features are supported:


Method Summary
 ValueFormat getNegativeFormat()
          Returns the value of the 'Negative Format' containment reference.
 ValueFormat getPositiveFormat()
          Returns the value of the 'Positive Format' containment reference.
 ValueFormat getUndefinedFormat()
          Returns the value of the 'Undefined Format' containment reference.
 ValueFormat getZeroFormat()
          Returns the value of the 'Zero Format' containment reference.
 

Method Detail

getPositiveFormat

ValueFormat getPositiveFormat()
Returns the value of the 'Positive Format' containment reference. The default value is "".

This is the ValueFormat used to represent the positive values of the business object.

Returns:
the value of the 'Positive Format' containment reference.

getNegativeFormat

ValueFormat getNegativeFormat()
Returns the value of the 'Negative Format' containment reference. The default value is "".

This is the ValueFormat used to represent the negative values of the business object.

Returns:
the value of the 'Negative Format' containment reference.

getZeroFormat

ValueFormat getZeroFormat()
Returns the value of the 'Zero Format' containment reference. The default value is "".

This is the ValueFormat used to represent the zero value of the business object.

Returns:
the value of the 'Zero Format' containment reference.

getUndefinedFormat

ValueFormat getUndefinedFormat()
Returns the value of the 'Undefined Format' containment reference. The default value is "".

This is the ValueFormat used to represent the undefined value of the business object.

Returns:
the value of the 'Undefined Format' containment reference.


© Copyright 2016 SAP SE or an SAP affiliate company. All rights reserved.