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

All Superinterfaces:
DataFormat, DateTimeFormat

public interface PredefinedDateTimeFormat
extends DateTimeFormat

A representation of the model object 'Predefined Date Time Format'.

This object represents a predefined date-time format for a business object.

Use BusinessLayerFactory.createPredefinedDateTimeFormat(BusinessObject) to instantiate a predefined date-time format.

Note: the default type of a PredefinedDateTimeFormat object is FULL_DATE.

The following features are supported:


Method Summary
 PredefinedDateTimeFormatType getFormat()
          Returns the value of the 'Format' attribute.
 void setFormat(PredefinedDateTimeFormatType value)
          Sets the value of the 'Format' attribute.
 

Method Detail

getFormat

PredefinedDateTimeFormatType getFormat()
Returns the value of the 'Format' attribute. The literals are from the enumeration PredefinedDateTimeFormatType.

This is the value of the predefined date-time format for business objects.

Returns:
the value of the 'Format' attribute.
See Also:
PredefinedDateTimeFormatType, setFormat(PredefinedDateTimeFormatType)

setFormat

void setFormat(PredefinedDateTimeFormatType value)
Sets the value of the 'Format' attribute.

This is the value of the predefined date-time format for business objects.

Parameters:
value - the new value of the 'Format' attribute.
See Also:
PredefinedDateTimeFormatType, getFormat()


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