|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IMetaModel defines a model of name - value pair configuration which can be used by UI to create custom properties. The info exists of a list of names, each name has 0 or * values, each value has 1 or * set of sub values (= multi value).
| Field Summary | |
static java.lang.String |
CUSTOM_NAMESPACE
Namespace is used to create properties. |
| Method Summary | |
boolean |
checkMatchesMetaContext(IMetaName metaName,
IMetaContext metaContext)
Checks if the meta name fulfils all filter criterias 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,
java.lang.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,
java.lang.String errorID)
Returns an IValidationError |
java.lang.String |
getBundleString(java.lang.String key,
java.util.Locale locale)
Read an internationalized string from the model's bundles |
java.lang.String |
getBundleString(java.lang.String key,
java.util.Locale locale,
java.lang.Object[] objs)
Read an internationalized 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(java.lang.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(java.lang.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 |
| Field Detail |
public static final java.lang.String CUSTOM_NAMESPACE
| Method Detail |
public IMetaNameList createEmptyMetaNameList()
IMetaNameList public IMetaValueList createEmptyMetaValueList()
IMetaValueList public IMetaContext createEmptyMetaContext()
IMetaContext public IValidationErrorList createEmptyValidationErrorList()
IValidationErrorList
public IValidationError createValidationError(IMetaModel model,
IMetaName metaName,
IValidation validationInstance,
java.lang.String errorID)
IValidationError model - meta modelmetaName - invalid meta namevalidationInstance - validation instanceerrorID - error ID
public IMetaValue createMetaValue(IMetaModel model,
IMetaName metaName,
IDynamicValues dynamicValuesInstance,
java.lang.String value)
IMetaValue model - meta modelmetaName - meta name for that the value is validdynamicValuesInstance - value providervalue - property value
public IMetaNameListIterator nameIterator()
throws PropertyConfigurationServiceException
PropertyConfigurationServiceException - Exception raised in failure situation<{PropertyConfigurationServiceException}> -
public IMetaNameListIterator nameIterator(IMetaContext metaContext)
throws PropertyConfigurationServiceException
metaContext - context informationPropertyConfigurationServiceException - Exception raised in failure
situation<{PropertyConfigurationServiceException}> -
public IMetaNameListIterator nameIterator(IMetaContext metaContext,
IMetaGroup metaGroup)
throws PropertyConfigurationServiceException
metaContext - context informationmetaGroup - group as additional filter criteriumPropertyConfigurationServiceException - Exception raised in failure
situation<{PropertyConfigurationServiceException}> -
public IMetaGroupListIterator groupIterator()
throws PropertyConfigurationServiceException
PropertyConfigurationServiceException - Exception raised in failure situation<{PropertyConfigurationServiceException}> -
public IMetaName searchByProperty(IProperty property)
throws PropertyConfigurationServiceException
property - Search argument.PropertyConfigurationServiceException -
public IMetaName searchByPropertyName(IPropertyName propertyName)
throws PropertyConfigurationServiceException
propertyName - Search argument.PropertyConfigurationServiceException - Exception raised in failure situation<{PropertyConfigurationServiceException}> -
public IMetaName searchById(java.lang.String id)
throws PropertyConfigurationServiceException
id - meta name idPropertyConfigurationServiceException -
public IMetaGroup searchGroupById(java.lang.String id)
throws PropertyConfigurationServiceException
id - meta group idPropertyConfigurationServiceException -
public IProperty createProperty(IMetaName name,
IMetaValue value)
throws PropertyConfigurationServiceException
name - - A meta namevalue - - A meta valuePropertyConfigurationServiceException - public boolean isRestricted()
public java.lang.String getBundleString(java.lang.String key,
java.util.Locale locale)
throws java.util.MissingResourceException
key - - the text keylocale - - the current localejava.util.MissingResourceException -
public java.lang.String getBundleString(java.lang.String key,
java.util.Locale locale,
java.lang.Object[] objs)
throws java.util.MissingResourceException
key - text keylocale - current localeobjs - bundle string parametersjava.util.MissingResourceException -
public IValidationErrorList validate(IPropertyMap properties,
IMetaContext metaContext)
throws PropertyConfigurationServiceException
properties - list of properties to validatemetaContext - context information
public IValidationErrorList validate(IProperty property,
IMetaContext metaContext)
throws PropertyConfigurationServiceException
properties - list of properties to validatemetaContext - context information
public boolean checkMatchesMetaContext(IMetaName metaName,
IMetaContext metaContext)
throws PropertyConfigurationServiceException
metaName - meta name to be checkedmetaContext - context information that is used to check the meta namepublic IMetaModelExport createMetaModelExport()
public IMetaModelImport createMetaModelImport()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||