public interface EDOCProperties
| Modifier and Type | Method and Description |
|---|---|
boolean |
choicesAllowUserValues(String key)
Returns true if property with the specified key has choices which allow user values.
|
String |
get(String key)
Returns the property value mapped by the specified key,
or null if value with the specified key does not exist.
|
String[] |
getChoices(String key)
Returns available choices for property with the specified key,
or null if property has no choices.
|
String |
getDataType(String key)
Returns the data type of property with the specified key.
|
String |
getDefaultValue(String key)
Returns the property default value mapped by the specified key,
or null if the default value does not exist.
|
String |
getDescription(String key)
Returns the description of property with the specified key,
or null if description does not exist.
|
String[] |
getKeys()
Returns an array of the keys contained in this EDOCProperties.
|
String |
getName()
Returns name of this EDOCProperties object.
|
int |
getSize()
Returns size of this EDOCProperties object.
|
boolean |
hasChoices(String key)
Returns true if property with the specified key has choices.
|
boolean |
isBaseProperties()
Returns true if this EDOCProperties object represents EDOC base properties.
|
boolean |
isCoreProperties()
Returns true if this EDOCProperties object represents EDOC core properties.
|
boolean |
isExtendedProperties()
Returns true if this EDOCProperties object represents EDOC extended properties.
|
boolean |
isMandatory(String key)
Returns true if property with the specified key is mandatory.
|
boolean |
isReadonly(String key)
Returns true if property with the specified key is readonly.
|
void |
put(String key,
String value)
Puts the property value mapped by the specified key.
|
String getName()
int getSize()
String[] getKeys()
String get(String key) throws EDOCException
key - the property key.EDOCException - if property with the specified key does not exist.void put(String key, String value) throws EDOCException
key - the property key.value - the property value.EDOCException - if property with the specified key does not exist,
or property with the specified is readonly.boolean isReadonly(String key) throws EDOCException
key - the property key.EDOCException - if property with the specified key does not exist.boolean isMandatory(String key) throws EDOCException
key - the property key.EDOCException - if property with the specified key does not exist.String getDescription(String key) throws EDOCException
key - the property key.EDOCException - if property with the specified key does not exist.String getDefaultValue(String key) throws EDOCException
key - the property key.EDOCException - if property with the specified key does not exist.String getDataType(String key) throws EDOCException
key - the property key.EDOCException - if property with the specified key does not exist.boolean hasChoices(String key) throws EDOCException
key - the property key.EDOCException - if property with the specified key does not exist.String[] getChoices(String key) throws EDOCException
key - the property key.EDOCException - if property with the specified key does not exist.boolean choicesAllowUserValues(String key) throws EDOCException
key - the property key.EDOCException - if property with the specified key does not exist.boolean isCoreProperties()
boolean isBaseProperties()
boolean isExtendedProperties()