com.sap.ip.me.api.smartsync
Class FieldGroupType

java.lang.Object
  extended bycom.sap.ip.me.api.smartsync.FieldGroupType

public class FieldGroupType
extends java.lang.Object

The FieldGroupType interface represents the type of fields’ grouping and currently has the following types. In the future, field grouping such as for Rate, Amount and Cur-rency could be added. FieldGroupType.T : represents the date/time type grouping FieldGroupType.O : represents other types of grouping Currently, only the above 2 types are supported,

Example: Getting the FieldGroupDescriptor of the specified FieldGroupType.T date/time type grouping from a date type field's FieldDescriptor; null if this field is not a member of any group or of the specfied group type, fieldDesc is the FieldDescritor of the field.

 FieldGroupDescriptor fieldGrpDesc = fieldDesc.getFieldGroupDescriptor(FieldGroupType.T);
 

Note: Meta data stored in SyncBoDescriptorFacade repository should be checked if null value in coming.

Author:
SAP

Field Summary
static FieldGroupType O
           
static FieldGroupType T
           
 
Method Summary
static FieldGroupType forString(java.lang.String type)
          returns a FieldGroupType instance for the specified name
 java.lang.String toString()
          returns name in String of this FielfGroupType instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

T

public static FieldGroupType T

O

public static FieldGroupType O
Method Detail

forString

public static FieldGroupType forString(java.lang.String type)
returns a FieldGroupType instance for the specified name

Parameters:
type -
Returns:
FieldGroupType

toString

public java.lang.String toString()
returns name in String of this FielfGroupType instance

Returns:
"T" or "O"


Copyright © 2005 SAP AG. All Rights Reserved.