|
||||||||||
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.ResolvedProperty
public final class ResolvedProperty
A resolved property provides, in addition to a Property
also the resolved and converted value.
Constructor Summary | |
---|---|
ResolvedProperty(PropertyLocation source, String name, String value, String expression, Object resolvedValue) Default constructor. |
|
ResolvedProperty(Property plainProperty, String expression, Object resolvedValue) Copy constructor. |
Method Summary | |
---|---|
List<String> |
getDependencies() Returns the names of properties this property depends on. |
Object |
getResolvedValue() Returns the resolved value. |
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 ResolvedProperty(PropertyLocation source, String name, String value, String expression, Object resolvedValue) throws IllegalArgumentException
source
- the mandatory source where the property value has been defined.
name
- the name of the property.
value
- the value of the property.
expression
- the property expression.
resolvedValue
- the resolved value.
IllegalArgumentException
- if
name
is blank.
public ResolvedProperty(Property plainProperty, String expression, Object resolvedValue)
plainProperty
- provides the information to be copied.
expression
- the property expression.
resolvedValue
- the resolved value.
Method Detail |
---|
public Object getResolvedValue()
null
.
public List<String> getDependencies()
null
, if this property does not refer to other properties.
public String toString()
Property
toString
in class
Property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |