de.smartics.properties.impl.config.domain.key.envapp
Class EnvAppConfigurationKey

Package class diagram package EnvAppConfigurationKey
java.lang.Object
  extended by de.smartics.properties.impl.config.domain.key.envapp.AbstractConfigurationKey<EnvAppConfigurationKey>
      extended by de.smartics.properties.impl.config.domain.key.envapp.EnvAppConfigurationKey
All Implemented Interfaces:
ConfigurationKey< EnvAppConfigurationKey>, Serializable, Comparable< EnvAppConfigurationKey>

public final class EnvAppConfigurationKey
     
     
extends AbstractConfigurationKey< EnvAppConfigurationKey>

The configuration key identifies a configuration with environment and application information. With this key all configuration values can be accessed by their local configuration keys.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.properties.impl.config.domain.key.envapp.AbstractConfigurationKey
hashCodeValue
 
Constructor Summary
EnvAppConfigurationKey(EnvAppConfigurationKey key, ApplicationId appId)
          Copy constructor.
EnvAppConfigurationKey(EnvironmentId environmentId, ApplicationId applicationId)
          Default constructor.
 
Method Summary
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class de.smartics.properties.impl.config.domain.key.envapp.AbstractConfigurationKey
compareTo, equals, getApplicationId, getEnvironmentId, hasActiveDynamicParts, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvAppConfigurationKey

public EnvAppConfigurationKey(EnvironmentId environmentId,
                              ApplicationId applicationId)
                       throws NullPointerException
Default constructor.

Parameters:
applicationId - the identifier of the application whose configuration is requested.
environmentId - the identifier of the environment the application is deployed in.
Throws:
NullPointerException - if applicationId or environmentId is null.

EnvAppConfigurationKey

public EnvAppConfigurationKey(EnvAppConfigurationKey key,
                              ApplicationId appId)
                       throws NullPointerException
Copy constructor.

Parameters:
key - the key to copy.
appId - the appId to set into the copy.
Throws:
NullPointerException - if key or appId is null.
Method Detail

toString

public String toString()
Returns the string representation of the object.

Specified by:
toString in interface ConfigurationKey<EnvAppConfigurationKey>
Overrides:
toString in class AbstractConfigurationKey<EnvAppConfigurationKey>
Returns:
the string representation of the object.


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