|
|||||||||
| Home >> All >> org >> argouml >> [ configuration overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.argouml.configuration
Class ConfigurationKeyImpl

java.lang.Objectorg.argouml.configuration.ConfigurationKeyImpl
- All Implemented Interfaces:
- ConfigurationKey
- public class ConfigurationKeyImpl
- extends java.lang.Object
- implements ConfigurationKey
- extends java.lang.Object
This class provides definition and manipulation of configuration keys. All keys in the configuration system will be accessed using the ConfigurationKey wrapper.
| Field Summary | |
private java.lang.String |
_key
The string value for the key. |
private static java.lang.String |
_prefix
|
| Constructor Summary | |
ConfigurationKeyImpl(ConfigurationKey ck,
java.lang.String k1)
Create a sub-component of an existing configuration key. |
|
ConfigurationKeyImpl(java.lang.String k1)
Create a single component configuration key. |
|
ConfigurationKeyImpl(java.lang.String k1,
java.lang.String k2)
Create a two-component configuration key. |
|
ConfigurationKeyImpl(java.lang.String k1,
java.lang.String k2,
java.lang.String k3)
Create a three-component configuration key. |
|
ConfigurationKeyImpl(java.lang.String k1,
java.lang.String k2,
java.lang.String k3,
java.lang.String k4)
Create a four-component configuration key. |
|
ConfigurationKeyImpl(java.lang.String k1,
java.lang.String k2,
java.lang.String k3,
java.lang.String k4,
java.lang.String k5)
Create a five-component configuration key. |
|
| Method Summary | |
java.lang.String |
getKey()
Return the actual key used to access the configuration. |
boolean |
isChangedProperty(java.beans.PropertyChangeEvent pce)
Compare the configuration key to a string. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
_key
private java.lang.String _key
- The string value for the key.
_prefix
private static java.lang.String _prefix
| Constructor Detail |
ConfigurationKeyImpl
public ConfigurationKeyImpl(java.lang.String k1)
- Create a single component configuration key.
ConfigurationKeyImpl
public ConfigurationKeyImpl(ConfigurationKey ck, java.lang.String k1)
- Create a sub-component of an existing configuration key.
ConfigurationKeyImpl
public ConfigurationKeyImpl(java.lang.String k1, java.lang.String k2)
- Create a two-component configuration key.
ConfigurationKeyImpl
public ConfigurationKeyImpl(java.lang.String k1, java.lang.String k2, java.lang.String k3)
- Create a three-component configuration key.
ConfigurationKeyImpl
public ConfigurationKeyImpl(java.lang.String k1, java.lang.String k2, java.lang.String k3, java.lang.String k4)
- Create a four-component configuration key.
ConfigurationKeyImpl
public ConfigurationKeyImpl(java.lang.String k1, java.lang.String k2, java.lang.String k3, java.lang.String k4, java.lang.String k5)
- Create a five-component configuration key.
| Method Detail |
getKey
public final java.lang.String getKey()
- Return the actual key used to access the configuration.
- Specified by:
getKeyin interfaceConfigurationKey
isChangedProperty
public boolean isChangedProperty(java.beans.PropertyChangeEvent pce)
- Compare the configuration key to a string.
- Specified by:
isChangedPropertyin interfaceConfigurationKey
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> argouml >> [ configuration overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.argouml.configuration.ConfigurationKeyImpl