LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.info.location
Class LyLocation

java.lang.Object
  extended by leon.info.LyTag
      extended by leon.info.LyInfo
          extended by leon.info.location.LyLocation
All Implemented Interfaces:
java.lang.Cloneable, LyCommentInterface
Direct Known Subclasses:
LyFileLocation, LyGenLocation, LyLdapLocation, LySqlLocation

public class LyLocation
extends LyInfo

This class implements a 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.String DEFAULT_LOCATION
          Default id for a location.
static java.lang.String ID_L_EXTEND
          Id of extend location.
static java.lang.String ID_L_INFO
          Id of info location.
static java.lang.String ID_L_UNION
          Id of union location.
 
Constructor Summary
LyLocation(java.lang.String id)
          Constructor.
LyLocation(java.lang.String id, java.lang.String url)
          Constructor.
 
Method Summary
 void check(LyClassInfo classInfo)
          This method allows to test the configuration of a classInfo for the given location This method is called during the check phase of the parsing.
 LyNotifier getNotifier()
          Accessor to the Notifier used within this connector location.
 java.lang.String getUrl()
          Accessor to the url of this location.
 boolean isPersistent()
          Accessor of the persistent mode of this location.
 void setNotifier(LyNotifier notifier)
          Accessor to the Notifier used within this connector location.
 
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

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values

DEFAULT_LOCATION

public static java.lang.String DEFAULT_LOCATION
Default id for a location.


ID_L_INFO

public static java.lang.String ID_L_INFO
Id of info location.


ID_L_UNION

public static java.lang.String ID_L_UNION
Id of union location.


ID_L_EXTEND

public static java.lang.String ID_L_EXTEND
Id of extend location.

Constructor Detail

LyLocation

public LyLocation(java.lang.String id)
Constructor.

Parameters:
id - identifier of the location

LyLocation

public LyLocation(java.lang.String id,
                  java.lang.String url)
Constructor.

Parameters:
id - identifier of the location
url - url of the provider
Method Detail

check

public void check(LyClassInfo classInfo)
This method allows to test the configuration of a classInfo for the given location This method is called during the check phase of the parsing.

Parameters:
classInfo - the classInfo to check

getUrl

public java.lang.String getUrl()
Accessor to the url of this location.

Returns:
the url of this location

getNotifier

public LyNotifier getNotifier()
Accessor to the Notifier used within this connector location.

Returns:
notifier reference. May be null if no notification mechanism is required.

setNotifier

public void setNotifier(LyNotifier notifier)
Accessor to the Notifier used within this connector location.

Parameters:
notifier - the notifier reference. May be null if no notification mechanism is required.

isPersistent

public boolean isPersistent()
Accessor of the persistent mode of this location.

Returns:
persistent mode.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com