|
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.location.LyLocation
leon.info.location.LyGenLocation
public class LyGenLocation
This class implements a generic data location.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.info.LyTag |
---|
LyTag.Model |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static java.lang.Object |
PARAM_NULL
Parameter : NULL. |
Fields inherited from class leon.info.location.LyLocation |
---|
DEFAULT_LOCATION, ID_L_EXTEND, ID_L_INFO, ID_L_UNION |
Constructor Summary | |
---|---|
LyGenLocation(java.lang.String id)
Constructor. |
|
LyGenLocation(java.lang.String id,
java.lang.String javaName,
boolean persistent)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
getData(java.lang.Object name)
Gets a user data by its name. |
java.util.Vector<LyData> |
getDataList()
Gets list of datas associated to this instance. |
java.util.Hashtable<java.lang.Object,LyData> |
getDatas()
Gets table of datas associated to this instance. |
java.lang.String |
getJavaName()
Accessor to the base object name of this location. |
boolean |
isPersistent()
Accessor of the persistent mode of this location. |
java.lang.Object |
putData(java.lang.Object name,
java.lang.Object value)
Adds user data on this instance. |
java.lang.Object |
removeData(java.lang.Object name)
Removes a user data on this instance. |
Methods inherited from class leon.info.location.LyLocation |
---|
check, getNotifier, getUrl, setNotifier |
Methods inherited from class leon.info.LyInfo |
---|
getAlias, getApplication, getFile, getId, getInclude, getName, 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
public static final java.lang.Object PARAM_NULL
Constructor Detail |
---|
public LyGenLocation(java.lang.String id)
id
- identifier of the locationpublic LyGenLocation(java.lang.String id, java.lang.String javaName, boolean persistent)
id
- identifier of the locationjavaName
- Name of the java class of the provider.persistent
- Boolean that indicates if location is persistent or not.Method Detail |
---|
public java.lang.String getJavaName()
public boolean isPersistent()
isPersistent
in class LyLocation
public final java.lang.Object putData(java.lang.Object name, java.lang.Object value)
name
- Name of the user data. If a value was already stored for that name, this
value is overriden.value
- Value of the user data.
java.lang.IllegalArgumentException
- If the given name or value is null.public final java.lang.Object removeData(java.lang.Object name)
name
- Name of the data to be removed.
java.lang.IllegalArgumentException
- If the given name is null.
java.lang.IllegalStateException
- If this method is called before any data has been added
(datas hashtable is null).public final java.lang.Object getData(java.lang.Object name)
name
- Name for which a value is searched.
java.lang.IllegalArgumentException
- If the given name is null.public final java.util.Vector<LyData> getDataList()
public final java.util.Hashtable<java.lang.Object,LyData> getDatas()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |