public class AdvancedProperties extends CloneableDataObject implements AdvancedPropertiesConfiguration
Title: Open Service Framework
Description: Implementation of an advanced property registry.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
DEFAULT_SERIAL_VERSION_ID
Constructor and Description |
---|
AdvancedProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addAdvancedProperty(ConfigurationProperty property)
Adds an advanced property to the configuration.
|
java.lang.Object |
clone()
Clones the object.
|
boolean |
existsAdvancedProperty(java.lang.String propertyName)
Returns
true if this configuration has a specific advanced property. |
java.util.List |
getAdvancedProperties()
Returns an enumeration of advanced property objects.
|
ConfigurationProperty |
getAdvancedProperty(java.lang.String propertyName)
Returns the
ConfigurationProperty object for a given property. |
boolean |
hasAdvancedProperties()
Returns
true if this configuration has advanced properties defined. |
java.util.List |
listAdvancedProperties()
Lists all the property names.
|
java.lang.String |
lookupAdvancedProperty(java.lang.String propertyName)
Returns the value of a particular property or
null if the property does not exist. |
void |
removeAdvancedProperty(java.lang.String propertyName)
Removes an advanced property from the configuration.
|
void |
removeAllAdvancedProperties()
Removes all the advanced properties from a given configuration.
|
getSerialVersionUID
public void addAdvancedProperty(ConfigurationProperty property)
AdvancedPropertiesConfiguration
addAdvancedProperty
in interface AdvancedPropertiesConfiguration
property
- ConfigurationPropertypublic void removeAdvancedProperty(java.lang.String propertyName)
AdvancedPropertiesConfiguration
removeAdvancedProperty
in interface AdvancedPropertiesConfiguration
propertyName
- Stringpublic java.util.List getAdvancedProperties()
AdvancedPropertiesConfiguration
getAdvancedProperties
in interface AdvancedPropertiesConfiguration
public java.util.List listAdvancedProperties()
AdvancedPropertiesConfiguration
listAdvancedProperties
in interface AdvancedPropertiesConfiguration
public java.lang.String lookupAdvancedProperty(java.lang.String propertyName)
AdvancedPropertiesConfiguration
null
if the property does not exist.lookupAdvancedProperty
in interface AdvancedPropertiesConfiguration
propertyName
- Stringpublic ConfigurationProperty getAdvancedProperty(java.lang.String propertyName)
AdvancedPropertiesConfiguration
ConfigurationProperty
object for a given property. Returns
null
if the property does not exist.getAdvancedProperty
in interface AdvancedPropertiesConfiguration
propertyName
- Stringpublic void removeAllAdvancedProperties()
AdvancedPropertiesConfiguration
removeAllAdvancedProperties
in interface AdvancedPropertiesConfiguration
public boolean hasAdvancedProperties()
AdvancedPropertiesConfiguration
true
if this configuration has advanced properties defined.hasAdvancedProperties
in interface AdvancedPropertiesConfiguration
public boolean existsAdvancedProperty(java.lang.String propertyName)
AdvancedPropertiesConfiguration
true
if this configuration has a specific advanced property.existsAdvancedProperty
in interface AdvancedPropertiesConfiguration
propertyName
- Stringpublic java.lang.Object clone()
CloneableDataObject
clone
in interface CloneableObject
clone
in class CloneableDataObject
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.