|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.japaki.beans.AbstractGenericBean<PhraseBean>
net.sf.japaki.self.PhraseBean
public class PhraseBean
Parser bean for bean parsers.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sf.japaki.beans.AbstractGenericBean |
|---|
AbstractGenericBean.GenericProperty<B extends AbstractGenericBean,V> |
| Field Summary | |
|---|---|
static Property<PhraseBean,Class> |
baseClassP
Property of the baseClass field |
static Property<PhraseBean,BeanParserBean> |
beanP
Property of the bean field |
static Property<PhraseBean,String> |
phraseNameP
Property of the phraseName field |
| Constructor Summary | |
|---|---|
PhraseBean()
|
|
| Method Summary | |
|---|---|
Class |
getBaseClass()
Returns the targetType of the created parser. |
BeanParserBean |
getBean()
Returns the pattern for the new parser. |
String |
getPhraseName()
Returns the key where the parser is stored. |
List<Property<? super PhraseBean,?>> |
getProperties()
Return a list of all properties of this bean. |
protected Object |
getValue(Property property)
Implementation of the getValue
method of all properties of this bean. |
void |
setBaseClass(Class baseClass)
Changes the value of the baseClass field. |
void |
setBean(BeanParserBean bean)
Changes the value of the bean field. |
void |
setPhraseName(String phraseName)
Changes the value of the phraseName field. |
protected void |
setValue(Property property,
Object value)
Implementation of the setValue
method of all properties of this bean. |
String |
toString()
|
| Methods inherited from class net.sf.japaki.beans.AbstractGenericBean |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Property<PhraseBean,String> phraseNameP
public static final Property<PhraseBean,Class> baseClassP
public static final Property<PhraseBean,BeanParserBean> beanP
| Constructor Detail |
|---|
public PhraseBean()
| Method Detail |
|---|
public String getPhraseName()
public Class getBaseClass()
public BeanParserBean getBean()
public void setPhraseName(String phraseName)
phraseName - new value of the phraseName fieldpublic void setBaseClass(Class baseClass)
baseClass - new value of the baseClass fieldpublic void setBean(BeanParserBean bean)
bean - new value of the bean fieldpublic List<Property<? super PhraseBean,?>> getProperties()
GenericBean
getProperties in interface GenericBean<PhraseBean>getProperties in class AbstractGenericBean<PhraseBean>protected Object getValue(Property property)
AbstractGenericBeangetValue
method of all properties of this bean.
This method should not be called directly,
use AbstractGenericBean.GenericProperty.getValue(B) instead.
getValue in class AbstractGenericBean<PhraseBean>
protected void setValue(Property property,
Object value)
AbstractGenericBeansetValue
method of all properties of this bean.
This method should not be called directly,
use AbstractGenericBean.GenericProperty.setValue(B, V) instead.
setValue in class AbstractGenericBean<PhraseBean>public String toString()
toString in class AbstractGenericBean<PhraseBean>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||