|
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
public abstract class LyInfo
This class implements a simple object with an id built when parsing the data model. Its attributes are :
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Method Summary | |
---|---|
java.lang.String |
getAlias()
Accessor for the alias of the info. |
LyApplication |
getApplication()
Accessor for the application to which the info belongs. |
java.lang.String |
getFile()
Accessor to the file of this info. |
java.lang.String |
getId()
Accessor for the id of the info. |
LyInclude |
getInclude()
Gets include from which is info comes from. |
java.lang.String |
getName()
Accessor for the name of the info. |
boolean |
isIncluded()
Checks if an info is included or not (not declared as extern but loaded by an include). |
boolean |
isInternal()
Tests if this info is internal (created by Leonardi) or not. |
static boolean |
isInternal(java.lang.String id)
Tests if this info is internal (created by Leonardi) or not. |
boolean |
isLoaded()
Tests if the class is loaded or not. |
boolean |
isLocked()
Checks if this info is locked or not. |
void |
load()
Loads when needed a class info from the XML file that contains it. |
void |
setApplication(LyApplication application)
Sets the application for this info. |
void |
setFile(java.lang.String file)
Sets the file for this info. |
java.lang.String |
toString()
Converts this info to a string (returns the id of the info). |
Methods inherited from class leon.info.LyTag |
---|
clone, 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 static final boolean isInternal(java.lang.String id)
public void load()
IllegalStateException
- If the root element of the XML file is neither a project no a
classInfo.IllegalStateException
- If this class info was not found in its XML file.public boolean isLoaded()
public final java.lang.String getId()
getId
in class LyTag
public java.lang.String getName()
public java.lang.String getAlias()
public final LyApplication getApplication()
getApplication
in class LyTag
public final boolean isLocked()
public final java.lang.String getFile()
public final java.lang.String toString()
toString
in class java.lang.Object
public final boolean isIncluded()
public LyInclude getInclude()
public final boolean isInternal()
public void setApplication(LyApplication application)
application
- The application to which the info belongs.
java.lang.IllegalStateException
- If the info already belongs to an application.public void setFile(java.lang.String file)
the
- file of this info
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |