de.smartics.properties.admin.domain.model
Class PropertiesConfiguration

Package class diagram package PropertiesConfiguration
java.lang.Object
  extended by de.smartics.properties.admin.domain.model.PropertiesConfiguration

public final class PropertiesConfiguration
     
     
extends Object

The configuration of properties associated with a unique key.


Constructor Summary
PropertiesConfiguration(ManagedApplication application, String key, de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement configurationProperties)
          Default constructor.
 
Method Summary
 ManagedApplication getApplication()
          Returns the application the keys are part of.
 de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement getConfigurationProperties()
          Returns the properties of the configuration.
 String getKey()
          Returns the unique identifier of the configuration.
 List<de.smartics.properties.api.config.domain.DescribedProperty> getProperties()
          Returns the list of properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesConfiguration

public PropertiesConfiguration(ManagedApplication application,
                               String key,
                               de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement configurationProperties)
Default constructor.

Parameters:
application - the application the keys are part of.
key - the unique identifier of the configuration.
configurationProperties - the properties of the configuration.
Method Detail

getKey

public String getKey()
Returns the unique identifier of the configuration.

Returns:
the unique identifier of the configuration.

getConfigurationProperties

public de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement getConfigurationProperties()
Returns the properties of the configuration.

Returns:
the properties of the configuration.

getApplication

public ManagedApplication getApplication()
Returns the application the keys are part of.

Returns:
the application the keys are part of.

getProperties

public List<de.smartics.properties.api.config.domain.DescribedProperty> getProperties()
Returns the list of properties. If the property can be resolved, an instance of ValidatedProperty is added. If it cannot be resolved or its value is null, an instance of DescribedProperty is added.

Returns:
list of properties.


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.