|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.hivemind.impl.BaseLocatable | +--org.apache.hivemind.service.impl.BuilderFacet | +--org.apache.hivemind.service.impl.BuilderSmartPropertyFacet
BuilderFacet that leverages SmartTranslator
to
automatically convert the input string into an appropriate type.
Constructor Summary | |
BuilderSmartPropertyFacet()
|
Method Summary | |
java.lang.Object |
getFacetValue(java.lang.String point,
Module invokingModule,
java.lang.Class targetClass)
Implemented in subclasses to provide a specific value for the facet (for use as a constructor parameter, or as a value to set a property to). |
void |
setAttributeValue(java.lang.String string)
|
Methods inherited from class org.apache.hivemind.service.impl.BuilderFacet |
autowire, getDefaultPropertyName, getFacetType, getPropertyName, setPropertyName |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BuilderSmartPropertyFacet()
Method Detail |
public java.lang.Object getFacetValue(java.lang.String point, Module invokingModule, java.lang.Class targetClass)
BuilderFacet
getFacetValue
in class BuilderFacet
invokingModule
- the Module which invoked the BuilderFactorytargetClass
- the desired property type (extracted from the property type
of the property to be updated, when a property is known)public void setAttributeValue(java.lang.String string)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |