|
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.LyUnits
public class LyUnits
This class defines a list of units.
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.Class<?> |
getConverterClass()
Gets the class to convert. |
java.lang.String |
getJavaName()
Gets java class name corresponding to this units list. |
java.lang.String |
getName()
Accessor for name of this units list. |
LyUnit |
getReferenceUnit()
Gets reference unit (unit with factor=1 and offset=0). |
LyUnit |
getUnit(int index)
Fetches the unit at the specified index. |
LyUnit |
getUnit(java.lang.String unitId)
Retrieve a unit in units list from its id. |
int |
getUnitCount()
Return the number of units associated to this field. |
LyInfoList<LyUnit> |
getUnits()
Get field units. |
boolean |
isConvert()
Gets the convert flag for this units list. |
void |
setJavaName(java.lang.String javaName)
Sets java class name corresponding to this units list. |
Methods inherited from class leon.info.LyInfo |
---|
getAlias, getApplication, getFile, getId, getInclude, isIncluded, isInternal, isInternal, isLoaded, isLocked, load, setApplication, setFile, toString |
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 int getUnitCount()
public LyUnit getUnit(int index)
index
- Index of the searched unit.
public LyInfoList<LyUnit> getUnits()
public final java.lang.String getName()
getName
in class LyInfo
public java.lang.String getJavaName()
public java.lang.Class<?> getConverterClass()
public LyUnit getReferenceUnit()
public boolean isConvert()
public void setJavaName(java.lang.String javaName)
javaName
- Name of the java class corresponding to this units list.public LyUnit getUnit(java.lang.String unitId)
unitId
- Id of the searched unit.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |