|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.info.LyTag
leon.info.LyInfo
leon.info.LyObjectInfo
leon.info.LyProject
public final class LyProject
This class is the description of a project. Project is the root object built from parsing the data description file. A project is a simple set of objectInfo instances. It can contain : sub-projects, classes, fields, actions, sorts, filters, locations.
A (root) action can be defined on a project, this action is executed on starting after parsing.
A (root) project may have an application behavior class and a session behavior class. These classes are used to customize the behavior of an application and of a session. They are built by reflection.
Root action and behaviors are not used on sub-projects of the root project.
See also tag
LyClassInfo
,
LyFieldInfo
,
LyAction
,
LyFilter
,
LySort
,
LyLocation
,
LyApplication
,
LyDataSession
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.info.LyObjectInfo |
---|
NULL, PART_ALL, PART_BIND, PART_DATA, PART_GUI, PART_LABEL |
Method Summary | ||
---|---|---|
void |
check(LyObjectInfo parent)
Checks project |
|
LyAction |
getAction(int index)
Returns the action at the given index. |
|
int |
getActionCount()
Returns the number of actions in this project. |
|
LyInfoList<LyAction> |
getActions()
Gets actions list. |
|
java.lang.Class<?> |
getApplicationBehaviorClass()
Returns application behavior class. |
|
java.lang.String |
getApplicationBehaviorClassName()
Gets application behavior class name. |
|
LyInfoList<LyClassInfo> |
getClasses()
Gets classes list. |
|
LyClassInfo |
getClassInfo(int index)
Returns the classInfo at the given index. |
|
int |
getClassInfoCount()
Returns the number of classInfos in this project. |
|
LyFieldInfo |
getFieldInfo(int index)
Returns the fieldInfo at the given index. |
|
int |
getFieldInfoCount()
Returns the number of fieldInfos in this project. |
|
LyInfoList<LyFieldInfo> |
getFields()
Gets fields list. |
|
LyFilter |
getFilter(int index)
Returns the filter at the given index. |
|
int |
getFilterCount()
Returns the number of filters in this project. |
|
LyInfoList<LyFilter> |
getFilters()
Gets filters list. |
|
LyInfo |
getInfo(int index)
Get the LyInfo at the given index. |
|
int |
getInfoCount()
Return the number of infos in this project. |
|
int |
getInfoCount(java.lang.Class<? extends LyInfo> infoClass)
Get the number of infos of the given class in this project. |
|
LyInfoList<LyInfo> |
getInfos()
Get the contents of this project. |
|
|
getInfos(java.lang.Class<T> infoClass)
Get the list of infos for the given class. |
|
LyInfoList<LyClassInfo> |
getLoadedClasses()
Gets list of loaded classes of this project. |
|
LyLocation |
getLocation(int index)
Returns the location at the given index. |
|
int |
getLocationCount()
Returns the number of locations in this project. |
|
LyInfoList<LyLocation> |
getLocations()
Gets locations list. |
|
LyModel |
getModel(java.lang.String type)
To get a model of this project by its type. |
|
java.util.Vector<LyModel> |
getModels()
To get the models of this project. |
|
int |
getModelsCount()
Returns the number of models in this project. |
|
LyNotifier |
getNotifier(int index)
Returns the notifier at the given index. |
|
int |
getNotifierCount()
Returns the number of notifiers in this project. |
|
LyInfoList<LyNotifier> |
getNotifiers()
Gets notifiers of this project. |
|
LyProject |
getProject(int index)
Returns the sub-project at the given index. |
|
LyProject |
getProject(java.lang.String projectId)
Returns the project with the given identifier. |
|
int |
getProjectCount()
Returns the number of sub-projects in this project. |
|
LyInfoList<LyProject> |
getProjects()
Gets projects list. |
|
LyAction |
getRootAction()
Returns root action of this project. |
|
java.lang.Class<?> |
getSessionBehaviorClass()
Return session behavior class. |
|
java.lang.String |
getSessionBehaviorClassName()
Gets session behavior class name. |
|
LySort |
getSort(int index)
Returns the sort at the given index. |
|
int |
getSortCount()
Returns the number of sorts in this project. |
|
LyInfoList<LySort> |
getSorts()
Gets sorts list. |
|
java.lang.String |
getVersion()
Gets version of this project. |
|
boolean |
hasInfo(LyInfo info)
Checks if given info is registered in this project. |
|
void |
lock()
Lock this project. |
Methods inherited from class leon.info.LyObjectInfo |
---|
clone, getAlias, getData, getDataList, getDatas, getFilePrefix, getGroup, getInternalAlias, getInternalFilePrefix, getInternalName, getMarks, getName, getTemplate, getTip, getUserData, hasMark, hasMarks, hasTemplate, isTemplate, putData, putData, removeData, toName |
Methods inherited from class leon.info.LyInfo |
---|
getApplication, getFile, getId, getInclude, isIncluded, isInternal, isInternal, isLoaded, isLocked, load, setApplication, setFile, toString |
Methods inherited from class leon.info.LyTag |
---|
getCommentsEnd, getCommentsStart, getEnvironment, getModelType, getParent, getRootProject, hasAncestor, isExtern, setCommentsEnd, setCommentsStart, wasCloned |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface leon.parser.LyCommentInterface |
---|
getCommentsEnd, getCommentsStart, setCommentsEnd, setCommentsStart |
Field Detail |
---|
public static final java.lang.String __VERSION
Method Detail |
---|
public void check(LyObjectInfo parent)
parent
- Parent of this object info for this check : this means context of use of
this instance (classInfo which declares the field, project that contains
the classInfo...).public void lock()
public final java.lang.String getApplicationBehaviorClassName()
public java.lang.Class<?> getApplicationBehaviorClass()
public final java.lang.String getSessionBehaviorClassName()
public java.lang.Class<?> getSessionBehaviorClass()
public java.lang.String getVersion()
public LyProject getProject(int index)
index
- Index of the requested project.
public int getProjectCount()
public LyInfoList<LyProject> getProjects()
public LyProject getProject(java.lang.String projectId)
projectId
- the identifier of the project that must be retrieved
public LyClassInfo getClassInfo(int index)
index
- Index of the requested classInfo.
public int getClassInfoCount()
public LyInfoList<LyClassInfo> getClasses()
public LyInfoList<LyClassInfo> getLoadedClasses()
public LyAction getAction(int index)
index
- Index of the requested action.
public int getActionCount()
public LyInfoList<LyAction> getActions()
public LyFieldInfo getFieldInfo(int index)
index
- Index of the requested fieldInfo.
public int getFieldInfoCount()
public LyInfoList<LyFieldInfo> getFields()
public LyFilter getFilter(int index)
index
- Index of the requested filter.
public int getFilterCount()
public LyInfoList<LyFilter> getFilters()
public LySort getSort(int index)
index
- Index of the requested sort.
public int getSortCount()
public LyInfoList<LySort> getSorts()
public LyLocation getLocation(int index)
index
- Index of the requested location.
public int getLocationCount()
public LyInfoList<LyLocation> getLocations()
public LyNotifier getNotifier(int index)
index
- Index of the requested notifier.
public int getNotifierCount()
public LyInfoList<LyNotifier> getNotifiers()
public LyInfoList<LyInfo> getInfos()
public LyInfo getInfo(int index)
index
- index of the requested LyInfo
public int getInfoCount()
public boolean hasInfo(LyInfo info)
public <T extends LyInfo> LyInfoList<T> getInfos(java.lang.Class<T> infoClass)
infoClass
- the class for the info
public int getInfoCount(java.lang.Class<? extends LyInfo> infoClass)
infoClass
- the class for the info
public LyAction getRootAction()
public LyModel getModel(java.lang.String type)
type
- Type of the searched modelpublic int getModelsCount()
public java.util.Vector<LyModel> getModels()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |