|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface LocalizableModelObject
Implemented by a model object that has localized labels and descriptions and provides methods to modify them.
| Field Summary | |
|---|---|
static java.lang.String |
EVENT_LOCALIZABLE_DESCRIPTIONS_CHANGED
Description associated with the object has changed. |
static java.lang.String |
EVENT_LOCALIZABLE_LABELS_CHANGED
Label associated with the object has changed. |
| Method Summary | |
|---|---|
com.sas.storage.editableproperties.PropertyList |
getLocalizableProperties(java.util.Locale locale)
Returns the localizable properties for a business model in the form of PropertyList. |
java.lang.String |
getLocalizationPrependKey()
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the description for this object. |
void |
setDescriptions(com.sas.util.LocalizableString descriptions)
Sets the description for this object. |
void |
setLabel(java.lang.String label,
java.util.Locale locale)
Sets the label for this object. |
void |
setLabels(com.sas.util.LocalizableString labels)
Sets the label for this object. |
void |
setLocalizableProperties(java.util.Locale locale,
com.sas.storage.editableproperties.PropertyMap map)
Sets the localizable properties for the business model. |
| Methods inherited from interface com.sas.iquery.metadata.LocalizableNamedObjectInterface |
|---|
getDescription, getDescriptions, getLabel, getLabels |
| Methods inherited from interface com.sas.iquery.metadata.NamedObjectInterface |
|---|
getDescription, getLabel |
| Field Detail |
|---|
static final java.lang.String EVENT_LOCALIZABLE_DESCRIPTIONS_CHANGED
static final java.lang.String EVENT_LOCALIZABLE_LABELS_CHANGED
| Method Detail |
|---|
void setDescription(java.lang.String description,
java.util.Locale locale)
throws MetadataException
Property change events signalled:
locale - The Locale this description is specific to. Specifying null is allowed and it will set the current value of Locale.getDefault()description - The string to use as the description. Specifying null is allowed and if a value is assigned for the locale it will be cleared.
MetadataNotChangeableException - if this BusinessModelObject is read-only
MetadataException
void setDescriptions(com.sas.util.LocalizableString descriptions)
throws MetadataException
Property change events signalled:
descriptions - The IqLocalizableString to use as the descriptions. Specifying null is allowed.
MetadataNotChangeableException - if this BusinessModelObject is read-only
MetadataException
void setLabel(java.lang.String label,
java.util.Locale locale)
throws MetadataException
Property change events signalled:
locale - The Locale this label is specific to. Specifying null is allowed and it will set the current value of Locale.getDefault()label - The string to use as the label. Specifying null is allowed and if a value is assigned for the locale it will be cleared.
MetadataNotChangeableException - if this BusinessModelObject is read-only
MetadataException
void setLabels(com.sas.util.LocalizableString labels)
throws MetadataException
Property change events signalled:
labels - The IqLocalizableString to use as the labels. Specifying null is allowed.
MetadataNotChangeableException - if this BusinessModelObject is read-only
MetadataExceptionjava.lang.String getLocalizationPrependKey()
com.sas.storage.editableproperties.PropertyList getLocalizableProperties(java.util.Locale locale)
throws MetadataException
locale - Locale for the specified map.
MetadataExceptionMultiLocaleProperties.getLocalizableProperties(Locale)
void setLocalizableProperties(java.util.Locale locale,
com.sas.storage.editableproperties.PropertyMap map)
throws MetadataException
locale - Locale for the specified map.map - PropertyMap containing the localized version of the business model properties.
MetadataExceptionMultiLocaleProperties.setLocalizableProperties(Locale, com.sas.storage.editableproperties.PropertyMap)
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||