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

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

public final class ConfigurationProperty
     
     
extends Object

A property with its descriptor.


Constructor Summary
ConfigurationProperty(String configurationKey, String propertyKey, de.smartics.properties.api.core.domain.PropertyDescriptor descriptor, de.smartics.properties.api.config.domain.DescribedProperty property)
          Default constructor.
 
Method Summary
 String getConfigurationKey()
          Returns the unique identifier of the configuration.
 de.smartics.properties.api.core.domain.PropertyDescriptor getDescriptor()
          Returns the descriptor to the property.
 de.smartics.properties.api.config.domain.DescribedProperty getProperty()
          Returns the access to the property value.
 String getPropertyKey()
          Returns the unique identifier of the property within the configuration.
 Object getPropertyValue()
          Returns the value of the property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationProperty

public ConfigurationProperty(String configurationKey,
                             String propertyKey,
                             de.smartics.properties.api.core.domain.PropertyDescriptor descriptor,
                             de.smartics.properties.api.config.domain.DescribedProperty property)
Default constructor.

Parameters:
configurationKey - the unique identifier of the configuration.
propertyKey - the unique identifier of the property within the configuration.
descriptor - the descriptor to the property.
property - the access to the property value.
Method Detail

getConfigurationKey

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

Returns:
the unique identifier of the configuration.

getPropertyKey

public String getPropertyKey()
Returns the unique identifier of the property within the configuration.

Returns:
the unique identifier of the property within the configuration.

getDescriptor

public de.smartics.properties.api.core.domain.PropertyDescriptor getDescriptor()
Returns the descriptor to the property.

Returns:
the descriptor to the property.

getProperty

public de.smartics.properties.api.config.domain.DescribedProperty getProperty()
Returns the access to the property value.

Returns:
the access to the property value.

getPropertyValue

public Object getPropertyValue()
Returns the value of the property. If the property cannot be converted or validated, the simple string property value is returned.

Returns:
the value of the property.


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