public interface IMetaModel
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_NAMESPACE
Name space is used to create properties.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkMatchesMetaContext(IMetaName metaName,
IMetaContext metaContext)
Checks if the meta name fulfils all filter criteria to be displayed for the context information.
|
IMetaContext |
createEmptyMetaContext()
returns an empty
IMetaContext |
IMetaNameList |
createEmptyMetaNameList()
returns an empty
IMetaNameList |
IMetaValueList |
createEmptyMetaValueList()
returns an empty
IMetaValueList |
IValidationErrorList |
createEmptyValidationErrorList()
Returns an empty
IValidationErrorList |
IMetaModelExport |
createMetaModelExport() |
IMetaModelImport |
createMetaModelImport() |
IMetaValue |
createMetaValue(IMetaModel model,
IMetaName metaName,
IDynamicValues dynamicValuesInstance,
String value)
Returns an
IMetaValue |
IProperty |
createProperty(IMetaName name,
IMetaValue value)
Creates a property from meta name and value.
|
IValidationError |
createValidationError(IMetaModel model,
IMetaName metaName,
IValidation validationInstance,
String errorID)
Returns an
IValidationError |
String |
getBundleString(String key,
Locale locale)
Read an internationalised string from the model's bundles
|
String |
getBundleString(String key,
Locale locale,
Object[] objs)
Read an internationalised string from the model's bundles
|
IMetaGroupListIterator |
groupIterator()
Returns a iterator to get a ordered group list.
|
boolean |
isRestricted()
Returns a flag which can be evaluated by UI to enable non restricted property creation.
|
IMetaNameListIterator |
nameIterator()
Returns a iterator to get a ordered name list.
|
IMetaNameListIterator |
nameIterator(IMetaContext metaContext)
Returns an iterator to get the properties configured for specific resource data
|
IMetaNameListIterator |
nameIterator(IMetaContext metaContext,
IMetaGroup metaGroup)
Returns an iterator to get the properties configured for specific resource data and with a specific meta group
|
IMetaName |
searchById(String id)
Search for a meta name by given id.
|
IMetaName |
searchByProperty(IProperty property)
Search for the meta name that was used to create the passed property.
|
IMetaName |
searchByPropertyName(IPropertyName propertyName)
Search for the meta name by a given property name.
|
IMetaGroup |
searchGroupById(String id)
Search for a meta group by given id.
|
IValidationErrorList |
validate(IProperty property,
IMetaContext metaContext)
Validation of properties via predefined validation classes
|
IValidationErrorList |
validate(IPropertyMap properties,
IMetaContext metaContext)
Validation of properties via predefined validation classes
|
static final String CUSTOM_NAMESPACE
IMetaNameList createEmptyMetaNameList()
IMetaNameList
IMetaValueList createEmptyMetaValueList()
IMetaValueList
IMetaContext createEmptyMetaContext()
IMetaContext
IValidationErrorList createEmptyValidationErrorList()
IValidationErrorList
IValidationError createValidationError(IMetaModel model, IMetaName metaName, IValidation validationInstance, String errorID)
IValidationError
model
- meta modelmetaName
- invalid meta namevalidationInstance
- validation instanceerrorID
- error IDIMetaValue createMetaValue(IMetaModel model, IMetaName metaName, IDynamicValues dynamicValuesInstance, String value)
IMetaValue
model
- meta modelmetaName
- meta name for that the value is validdynamicValuesInstance
- value providervalue
- property valueIMetaNameListIterator nameIterator() throws PropertyConfigurationServiceException
PropertyConfigurationServiceException
- Exception raised in failure situationPropertyConfigurationServiceException
- if an error occuredIMetaNameListIterator nameIterator(IMetaContext metaContext) throws PropertyConfigurationServiceException
metaContext
- context informationPropertyConfigurationServiceException
- if an error occuredIMetaNameListIterator nameIterator(IMetaContext metaContext, IMetaGroup metaGroup) throws PropertyConfigurationServiceException
metaContext
- context informationmetaGroup
- group as additional filter criteriumPropertyConfigurationServiceException
- if an error occuredIMetaGroupListIterator groupIterator() throws PropertyConfigurationServiceException
PropertyConfigurationServiceException
- if an error occuredIMetaName searchByProperty(IProperty property) throws PropertyConfigurationServiceException
property
- Search argument.PropertyConfigurationServiceException
- if an error occuredIMetaName searchByPropertyName(IPropertyName propertyName) throws PropertyConfigurationServiceException
propertyName
- Search argument.PropertyConfigurationServiceException
- if an error occuredIMetaName searchById(String id) throws PropertyConfigurationServiceException
id
- meta name idPropertyConfigurationServiceException
- if an error occuredIMetaGroup searchGroupById(String id) throws PropertyConfigurationServiceException
id
- meta group idPropertyConfigurationServiceException
- if an error occuredIProperty createProperty(IMetaName name, IMetaValue value) throws PropertyConfigurationServiceException
name
- - A meta namevalue
- - A meta valuePropertyConfigurationServiceException
- if an error occuredboolean isRestricted()
String getBundleString(String key, Locale locale) throws MissingResourceException
key
- - the text keylocale
- - the current localMissingResourceException
- if an error occured.String getBundleString(String key, Locale locale, Object[] objs) throws MissingResourceException
key
- text keylocale
- current localsobjs
- bundle string parametersMissingResourceException
- if an error occured.IValidationErrorList validate(IPropertyMap properties, IMetaContext metaContext) throws PropertyConfigurationServiceException
properties
- list of properties to validatemetaContext
- context informationPropertyConfigurationServiceException
- if an error occuredIValidationErrorList validate(IProperty property, IMetaContext metaContext) throws PropertyConfigurationServiceException
property
- list of properties to validatemetaContext
- context informationPropertyConfigurationServiceException
- if an error occuredboolean checkMatchesMetaContext(IMetaName metaName, IMetaContext metaContext) throws PropertyConfigurationServiceException
metaName
- meta name to be checkedmetaContext
- context information that is used to check the meta namePropertyConfigurationServiceException
- if an error occuredIMetaModelExport createMetaModelExport()
IMetaModelImport createMetaModelImport()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice