|
||||||||||
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.Property de.smartics.properties.api.config.domain.DescribedProperty
public class DescribedProperty
Extends the Property
with metadata concerning the property and the configuration.
Constructor Summary | |
---|---|
DescribedProperty(ConfigurationKey<?> configurationKey, PropertyDescriptor descriptor, Property property) Default constructor. |
|
DescribedProperty(DescribedProperty property) Copy-constructor. |
Method Summary | |
---|---|
ConfigurationKey<?> |
getConfigurationKey() Returns the identifier of the configuration this property is part of. |
PropertyDescriptor |
getDescriptor() Returns the descriptor to the property to access property metadata. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class de.smartics.properties.api.config.domain.Property |
---|
compareTo, equals, getName, getSource, getValue, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribedProperty(ConfigurationKey<?> configurationKey, PropertyDescriptor descriptor, Property property) throws NullPointerException
configurationKey
- the identifier of the configuration this property is part of.
descriptor
- the descriptor to the property to access property metadata.
property
- the referenced property to copy.
NullPointerException
- if
descriptor
or
property
is
null
.
public DescribedProperty(DescribedProperty property) throws NullPointerException
property
- the property to copy.
NullPointerException
- if
property
is
null
.
Method Detail |
---|
@CheckForNull public final ConfigurationKey<?> getConfigurationKey()
null
, if the property has not been found in a configuration. With other words, the property has a default or no value.
public final PropertyDescriptor getDescriptor()
public String toString()
toString
in class
Property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |