|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.api.lib.resolving.ResolvableBean
public abstract class ResolvableBean
ChangeableBean serves as base class for JavaBeans that need to be Resolvable.
The implementation of the Resolvable interface maps properties to the
corresponding getter methods (when they exist). To use this JavaBean
integration into Portal.Node, simply let your BeanObject extend this class
and create getter methods for all properties. When your bean should be
Changeable you should rather extend ChangeableBean
Constructor Summary | |
---|---|
ResolvableBean()
|
Method Summary | |
---|---|
boolean |
canResolve()
Check whether the resolvable is capable of resolving properties right now. |
java.lang.Object |
get(java.lang.String key)
Get the property named by key or null if the property does not exist or is not set. |
java.lang.Object |
getProperty(java.lang.String key)
Get the property named by key or null if the property does not exist or is not set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResolvableBean()
Method Detail |
---|
public java.lang.Object getProperty(java.lang.String key)
Resolvable
Resolvable.get(String)
.
getProperty
in interface Resolvable
key
- key of the property
public java.lang.Object get(java.lang.String key)
Resolvable
get
in interface Resolvable
key
- key of the property
public boolean canResolve()
Resolvable
Resolvable.getProperty(String)
or Resolvable.get(String)
will return null.
canResolve
in interface Resolvable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |