|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBaseBean com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBean
public class JPatternsConfigBean
This bean represents the JPatternsConfig
, it contains this castor object by itself and also several additional data
storages - representations of the JPatternsConfig
from the point of view of logical sections CastorSectionType
,
and the business items CastorNameScopePriorityType
.
$Author:: zmicer $
$Rev:: 57 $
* $Date:: 2007-08-23 09:16:37 #$
$Date:: 2007-08-23 09:16:37 #$
Field Summary | |
---|---|
static org.apache.log4j.Logger |
LOG
Logger instance. |
Constructor Summary | |
---|---|
JPatternsConfigBean()
Default public constructor. |
Method Summary | |
---|---|
boolean |
check()
Perform the check of the composition of the JPatternsConfigBean object. |
com.sourceforge.jpatterns.schema.JPatternsConfig |
getCastorConfig()
|
String |
getDefaultScope()
|
void |
setCastorConfig(com.sourceforge.jpatterns.schema.JPatternsConfig config)
Set the new value to the class member storing the native castor configuration. |
void |
setDefaultScope(String scope)
Set the new value for the default scope. |
Methods inherited from class com.sourceforge.jpatterns.core.configuration.model.JPatternsConfigBaseBean |
---|
getBusinessItem, getBusinessItems, getListOfSectionItems, getSection, getSectionItems, setBusinessItem, setBusinessItems, setSection, setSectionItems |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.log4j.Logger LOG
Constructor Detail |
---|
public JPatternsConfigBean()
Method Detail |
---|
public void setCastorConfig(com.sourceforge.jpatterns.schema.JPatternsConfig config)
JPatternsConfig
.
config
- JPatternsConfig new value of the castor object to be set.
Can not be null (otherwise IllegalArgumentException
would appear).public com.sourceforge.jpatterns.schema.JPatternsConfig getCastorConfig()
public void setDefaultScope(String scope)
com.sourceforge.jpatterns.core.JPConstants.DEFAULT_SCOPE_NAME
would be set.
scope
- the new value for the scope varible. Could take any valuespublic String getDefaultScope()
public boolean check()
JPatternsConfigBean
object. We would just check all the members of the
bean are set.
check
in interface com.zmicer.utils.model.ICheckable
check
in class JPatternsConfigBaseBean
true
if all is ok with the composition of the bean, false
otherwise.ICheckable.check()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |