public class UniqueUIKeyGeneratorImpl extends Object implements UniqueUIKeyGenerator
UniqueUIKeyGenerator.| Modifier and Type | Field and Description |
|---|---|
static String |
INSTANCE_SEPERATOR |
static String |
KEY_SEPARATOR |
| Constructor and Description |
|---|
UniqueUIKeyGeneratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
generateCsticId(CsticModel model,
CsticValueModel value,
String prefix)
Generates a Unique Key for a cstic, o a cstic value, if provided.
|
String |
generateGroupIdForGroup(InstanceModel instance,
CsticGroup csticModelGroup) |
String |
generateGroupIdForInstance(InstanceModel instance) |
protected StringBuilder |
getStrBuilder() |
String |
retrieveInstanceId(String uiGroupId) |
public static final String KEY_SEPARATOR
public static final String INSTANCE_SEPERATOR
public String generateGroupIdForInstance(InstanceModel instance)
generateGroupIdForInstance in interface UniqueUIKeyGeneratorinstance - instance datapublic String generateGroupIdForGroup(InstanceModel instance, CsticGroup csticModelGroup)
generateGroupIdForGroup in interface UniqueUIKeyGeneratorinstance - instance the group belongs tocsticModelGroup - group datapublic String retrieveInstanceId(String uiGroupId)
retrieveInstanceId in interface UniqueUIKeyGeneratoruiGroupId - UIGroup idpublic String generateCsticId(CsticModel model, CsticValueModel value, String prefix)
UniqueUIKeyGeneratorgenerateCsticId in interface UniqueUIKeyGeneratormodel - cstic modelvalue - cstic value model. If null the key is only specific for the csticprefix - key prefix containing group and/or instance componentsprotected StringBuilder getStrBuilder()
Copyright © 2017 SAP SE. All Rights Reserved.