|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IConfigProperty
This interface represents an individual property in the
IConfigProperties collection.
| Method Summary | |
|---|---|
void |
clearErrorInfo()
For internal use only. |
java.lang.Object |
getBadValue()
For internal use only. |
java.lang.Integer |
getConstructorArgIndex()
For internal use only. |
boolean |
getDefaultable()
Returns whether the value of this property can be set to the default value defined on the associated service or service container. |
java.lang.Object |
getDefaultValue()
For internal use only. |
java.lang.String |
getDescription(java.util.Locale locale)
Returns a localized description. |
java.lang.String |
getDisplayName(java.util.Locale locale)
Returns the localized display name. |
IEnabledValues |
getEnabledValues()
For internal use only. |
java.lang.String[] |
getEnabler()
For internal use only. |
java.lang.Integer |
getErrorId()
For internal use only. |
java.lang.Integer |
getGroup()
For internal use only. |
java.lang.String |
getName()
Returns the name of this configuration property. |
java.lang.Integer |
getOrder()
For internal use only. |
boolean |
getPersists()
|
boolean |
getRequiresRestart()
Returns whether the server needs to be restarted for changes to the configuration property to take effect. |
IValidRanges |
getValidRanges()
Returns the valid ranges that are set for the value of this configuration property. |
IValidValues |
getValidValues()
Returns the values that are acceptable for this configuration property. |
java.lang.Object |
getValue()
Returns the value of this configuration property. |
boolean |
hasValidRanges()
Returns whether this configuration property has valid ranges. |
boolean |
hasValidValues()
Identifies if this configuration property has valid values. |
boolean |
isFinal()
Returns whether the value of this configuration property has been marked as final (read-only). |
boolean |
isOverridden()
Returns whether the value of this configuration property has been modified from the out-of-box (factory default) setting. |
boolean |
isVisible()
Returns whether the value of this configuration property is visible. |
void |
setConstructorArgIndex(java.lang.Integer index)
For internal use only. |
void |
setDefaultable(boolean defaultable)
Sets whether the value of this property can be set to the default value defined on the associated service or service container. |
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets a localized description. |
void |
setDisplayName(java.lang.String name,
java.util.Locale locale)
Sets a localized display name. |
void |
setErrorInfo(java.lang.Object badValue,
int errorResId)
For internal use only. |
void |
setFinal(boolean isFinal)
Sets whether the value of this configuration property has been marked as final (read-only). |
void |
setName(java.lang.String name)
Sets the name of this configuration property. |
void |
setPersists(boolean persists)
For internal use only. |
IConfigProperties |
setPropertiesValue()
Sets the value of this configuration property to a collection. |
void |
setRequiresRestart(boolean requiresRestart)
Sets whether the server needs to be restarted for changes to this configuration property to take effect. |
void |
setValue(java.lang.Object val)
Sets the value of this configuration property. |
void |
setValue(java.lang.Object val,
java.util.Locale locale)
Sets the value of this configuration property. |
void |
setVisible(boolean isVisible)
Sets whether the value of this configuration property is visible. |
| Method Detail |
|---|
java.lang.Object getValue()
void setValue(java.lang.Object val)
throws SDKException
val - The value to set for this configuration property.
SDKException - in the following situations:
void setValue(java.lang.Object val,
java.util.Locale locale)
throws SDKException
val - The value to set for this configuration property.locale - The locale the value is in
SDKException - in the following situations:
IConfigProperties setPropertiesValue()
boolean isOverridden()
boolean isFinal()
void setFinal(boolean isFinal)
isFinal - set to true to set the value as final, false otherwise.boolean isVisible()
void setVisible(boolean isVisible)
isVisible - set to true to set the value as visiable, false otherwisejava.lang.String getName()
void setName(java.lang.String name)
name - The name for this configuration property.
void setErrorInfo(java.lang.Object badValue,
int errorResId)
void clearErrorInfo()
java.lang.Integer getErrorId()
java.lang.Object getBadValue()
boolean hasValidRanges()
IValidRanges getValidRanges()
boolean hasValidValues()
IValidValues getValidValues()
boolean getRequiresRestart()
void setRequiresRestart(boolean requiresRestart)
requiresRestart - true if the server needs to be restarted, false otherwise.java.lang.Integer getOrder()
java.lang.Integer getGroup()
java.lang.Integer getConstructorArgIndex()
void setConstructorArgIndex(java.lang.Integer index)
boolean getPersists()
void setPersists(boolean persists)
java.lang.String getDisplayName(java.util.Locale locale)
throws SDKException
If a display name does not exist for the specified locale, it will attempt to locate a suitable alternative. First, it will try to locate a display name in a similar locale (same language code). If none exists, it will try to locate a display name for an English locale. If none exists, it will use the first available display name.
locale - the locale for the display name
SDKException - if there are no display names available.
java.lang.String getDescription(java.util.Locale locale)
throws SDKException
If a description does not exist for the specified locale, it will attempt to locate a suitable alternative. First, it will try to locate a description in a similar locale (same language code). If none exists, it will try to locate a description for an English locale. If none exists, it will use the first available description.
locale - the locale for the description
SDKException - if there are no descriptions available.boolean getDefaultable()
void setDefaultable(boolean defaultable)
defaultable - true to allow property to be defaultable, false otherwise
void setDisplayName(java.lang.String name,
java.util.Locale locale)
name - The localized name.locale - The locale of the name.
void setDescription(java.lang.String description,
java.util.Locale locale)
description - The localized description.locale - The locale of the description.java.lang.String[] getEnabler()
IEnabledValues getEnabledValues()
java.lang.Object getDefaultValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||