|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.api.config.domain.key.ConfigurationKey
public final class ConfigurationKey
The configuration key identifies a configuration. With this key all configuration values can be accessed by their local configuration keys.
Constructor Summary | |
---|---|
ConfigurationKey(EnvironmentId environmentId, ApplicationId applicationId) Default constructor. |
Method Summary | |
---|---|
int |
compareTo(ConfigurationKey o) |
boolean |
equals(Object object) Returns true if the given object is semantically equal to the given object, false otherwise. |
ApplicationId |
getApplicationId() Returns the identifier of the application whose configuration is requested. |
EnvironmentId |
getEnvironmentId() Returns the identifier of the environment the application is deployed in. |
int |
hashCode() Returns the hash code of the object. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationKey(EnvironmentId environmentId, ApplicationId applicationId) throws de.smartics.util.lang.NullArgumentException
applicationId
- the identifier of the application whose configuration is requested.
environmentId
- the identifier of the environment the application is deployed in.
de.smartics.util.lang.NullArgumentException
- if
applicationId
or
environmentId
is
null
.
Method Detail |
---|
public EnvironmentId getEnvironmentId()
public ApplicationId getApplicationId()
public int hashCode()
hashCode
in class
Object
public boolean equals(Object object)
true
if the given object is semantically equal to the given object,
false
otherwise.
equals
in class
Object
object
- the instance to compare to.
true
if the given object is semantically equal to the given object,
false
otherwise.
public int compareTo(ConfigurationKey o)
compareTo
in interface
Comparable<ConfigurationKey>
Comparable.compareTo(java.lang.Object)
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |