|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.portal.aspect.impl.DefaultAspectDescription
public class DefaultAspectDescription
A configured aspect
| Field Summary | |
|---|---|
protected boolean |
autoCreate
|
protected String |
className
|
protected String |
defaultValue
|
protected String |
name
|
protected String |
persistence
|
| Constructor Summary | |
|---|---|
DefaultAspectDescription()
|
|
| Method Summary | |
|---|---|
String |
getClassName()
|
String |
getDefaultValue()
Default value |
String |
getName()
|
String |
getStoreName()
|
boolean |
isAutoCreate()
If the data is not available, create it automatically (or not) |
static AspectDescription |
newInstance(Configuration conf)
Create a new description from a Configuration object. |
void |
setAutoCreate(boolean b)
Set auto create |
void |
setClassName(String string)
|
void |
setDefaultValue(String value)
|
void |
setName(String string)
|
void |
setPersistence(String string)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String className
protected String persistence
protected boolean autoCreate
protected String defaultValue
| Constructor Detail |
|---|
public DefaultAspectDescription()
| Method Detail |
|---|
public static AspectDescription newInstance(Configuration conf)
throws ConfigurationException
Configuration object.
All values must be stored as attributes
ConfigurationExceptionpublic String getClassName()
getClassName in interface AspectDescriptionpublic String getName()
getName in interface AspectDescriptionpublic void setClassName(String string)
string - public void setName(String string)
string - public String getStoreName()
getStoreName in interface AspectDescriptionpublic void setPersistence(String string)
string - public boolean isAutoCreate()
isAutoCreate in interface AspectDescriptionpublic void setAutoCreate(boolean b)
public String getDefaultValue()
getDefaultValue in interface AspectDescriptionpublic void setDefaultValue(String value)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||