METATYPE_FACTORY_PID or METATYPE_PID service property (or
both). Any PID mentioned in either of these factories must be a valid
argument to the getObjectClassDefinition(String, String) method.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | METATYPE_FACTORY_PID
Service property to signal that this service has
|
| public static final String | METATYPE_PID
Service property to signal that this service has
|
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: An array of locale strings ornull if there is no locale
specific localization can be found.Return a list of available locales. |
| public ObjectClassDefinition | Returns: AObjectClassDefinition object.The ID of the requested object class. This can be a pid or
factory pid returned by getPids or getFactoryPids. id, String The locale of the definition or locale)null for default
locale.Returns an object class definition for the specified id localized to the specified locale. |
| METATYPE_FACTORY_PID | back to summary |
|---|---|
| public static final String METATYPE_FACTORY_PID Service property to signal that this service has
| |
| METATYPE_PID | back to summary |
|---|---|
| public static final String METATYPE_PID Service property to signal that this service has
| |
| getLocales | back to summary |
|---|---|
| public String[] getLocales() Return a list of available locales.
The results must be names that consists of language [ _ country [ _
variation ]] as is customary in the
| |
| getObjectClassDefinition | back to summary |
|---|---|
| public ObjectClassDefinition getObjectClassDefinition(String id, String locale) Returns an object class definition for the specified id localized to the specified locale.
The locale parameter must be a name that consists of
| |